diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-28 04:26:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-28 04:26:48 -0400 |
commit | b4304515ff0501da47cbcd4b47c770e2bb55a83d (patch) | |
tree | 03bfa7fb21d09cffa20ded425016ad8b0aef7e21 /acprep | |
parent | 863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (diff) | |
download | fork-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-x | acprep | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -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 |