diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-04 05:27:36 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:37 -0400 |
commit | 6c7e35dc17504c41bb177b3d1327c6b6cee4017d (patch) | |
tree | a86913687b2881a5c3dedbcf53adf9591791adcc /acprep | |
parent | 90975c27d0a701a66ee4d24ea8f08a12eda6cfce (diff) | |
download | fork-ledger-6c7e35dc17504c41bb177b3d1327c6b6cee4017d.tar.gz fork-ledger-6c7e35dc17504c41bb177b3d1327c6b6cee4017d.tar.bz2 fork-ledger-6c7e35dc17504c41bb177b3d1327c6b6cee4017d.zip |
*** no comment ***
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -49,12 +49,18 @@ fi # since there are no clients except a GUI tool which might use it (and # that is built again anyway by Xcode). SWITCHES="--disable-shared --enable-pch" +CPPFLAGS="$INCDIRS" +LDFLAGS="$LIBDIRS" while [ -n "$1" ]; do case "$1" in --debug) SWITCHES="$SWITCHES --enable-debug" + if [ -f /usr/local/lib/libstlportstlg.a ]; then + CPPFLAGS="-I/usr/local/include/stlport -D_STLP_DEBUG $CPPFLAGS" + #LDFLAGS="-lstlportstlg $LDFLAGS" + fi CXXFLAGS="$CXXFLAGS -g" ;; --prof | --perf) @@ -96,5 +102,5 @@ if [ -d "$HOME/Products" ]; then fi "$HERE/configure" --srcdir="$HERE" \ - CPPFLAGS="$INCDIRS" CXXFLAGS="$CXXFLAGS $local_cxxflags" \ - LDFLAGS="$LIBDIRS" $SWITCHES "$@" + CPPFLAGS="$CPPFLAGS" CXXFLAGS="$CXXFLAGS $local_cxxflags" \ + LDFLAGS="$LDFLAGS" $SWITCHES "$@" |