summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
commitb4304515ff0501da47cbcd4b47c770e2bb55a83d (patch)
tree03bfa7fb21d09cffa20ded425016ad8b0aef7e21 /acprep
parent863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (diff)
downloadfork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.gz
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.bz2
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.zip
ledger.so (the python module) now builds based on autoconf discovery
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