Last change
on this file since 32273 was 27275, checked in by davidb, 11 years ago |
Expansion of devel.bash to allow other compiling programs to find what it has compiled up and installed
|
File size:
856 bytes
|
Line | |
---|
1 |
|
---|
2 |
|
---|
3 | if [ -d cascade-make ] ; then
|
---|
4 | source cascade-make/lib/cascade-lib.bash GEXTAMP . $*
|
---|
5 | fi
|
---|
6 |
|
---|
7 | if [ -z $GEXTAMP ] ; then
|
---|
8 | source ./setup.sh
|
---|
9 | fi
|
---|
10 |
|
---|
11 | if [ -z $GEXTAMP_DEVEL ] ; then
|
---|
12 | # Set environment variable so we can tell devel.bash has been sourced
|
---|
13 | export GEXTAMP_DEVEL=$GEXT_AMP
|
---|
14 |
|
---|
15 | export PATH="$GEXTAMP_INSTALLED/bin:$PATH"
|
---|
16 | export CFLAGS="-I$GEXTAMP_INSTALLED/include $CFLAGS"
|
---|
17 | export CPPFLAGS="-I$GEXTAMP_INSTALLED/include $CPPFLAGS"
|
---|
18 | export CXXFLAGS="-I$GEXTAMP_INSTALLED/include $CXXFLAGS"
|
---|
19 | export LDFLAGS="-L$GEXTAMP_INSTALLED/lib $LDFLAGS"
|
---|
20 | export PKG_CONFIG_PATH="$GEXTAMP_INSTALLED/lib/pkgconfig:$PKG_CONFIG_PATH"
|
---|
21 |
|
---|
22 | echo "+Your environment is now setup to compile with the AMP (Apache-MySQL-PHP) extension"
|
---|
23 |
|
---|
24 | else
|
---|
25 | echo "+Your environment is already setup to compile with the AMP (Apache-MySQL-PHP) extension"
|
---|
26 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.