summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep19
1 files changed, 7 insertions, 12 deletions
diff --git a/acprep b/acprep
index 63fc2180..174d4767 100755
--- a/acprep
+++ b/acprep
@@ -14,23 +14,18 @@ fi
autoconf
INCDIRS="-I/sw/include -I/usr/include/httpd/xml -I/sw/include/python2.3"
-LIBFLAGS="-L/sw/lib"
-
-if [ "$1" = "--boost" ]; then
- BOOST="-DUSE_BOOST_PYTHON=1 -Wno-long-double"
- shift
-fi
+INCDIRS="$INCDIRS -Wno-long-double"
+LIBDIRS="-L/sw/lib"
if [ "$1" = "--debug" ]; then
- ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBFLAGS" \
- CXXFLAGS="-g $BOOST" --enable-debug --disable-shared
+ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
+ CXXFLAGS="-g" --enable-debug --disable-shared
elif [ "$1" = "--opt" ]; then
- ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBFLAGS" \
- CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -fPIC $BOOST" \
+ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
+ CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -fPIC" \
--enable-standalone
elif [ "$1" = "--perf" ]; then
- ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBFLAGS" \
- CXXFLAGS="-g -pg $BOOST"
+ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg"
fi
rm AUTHORS ChangeLog