From 6c7e35dc17504c41bb177b3d1327c6b6cee4017d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 May 2007 05:27:36 +0000 Subject: *** no comment *** --- acprep | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'acprep') diff --git a/acprep b/acprep index 45ce5348..c0708f91 100755 --- a/acprep +++ b/acprep @@ -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 "$@" -- cgit v1.2.3