diff options
author | John Wiegley <johnw@newartisans.com> | 2004-11-08 06:43:11 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:47 -0400 |
commit | c9fb11bd60a2170fb896d77ff8d7706f563ad597 (patch) | |
tree | 42bdf09e7d8727ba31d1d8dae9b4eb4b2a605441 /acprep.lt | |
parent | fa2ceaed13c031add578ee8eb33da0c9980b9fb1 (diff) | |
download | fork-ledger-c9fb11bd60a2170fb896d77ff8d7706f563ad597.tar.gz fork-ledger-c9fb11bd60a2170fb896d77ff8d7706f563ad597.tar.bz2 fork-ledger-c9fb11bd60a2170fb896d77ff8d7706f563ad597.zip |
updated to version 2.0
Diffstat (limited to 'acprep.lt')
-rwxr-xr-x | acprep.lt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/acprep.lt b/acprep.lt new file mode 100755 index 00000000..36193dea --- /dev/null +++ b/acprep.lt @@ -0,0 +1,37 @@ +#!/bin/sh + +glibtoolize --automake -f -c +aclocal +autoheader +touch AUTHORS ChangeLog COPYING + +if [ "$1" = "--dist" ]; then + automake -acfi +else + automake -acf +fi + +autoconf + +INCDIRS="-I/sw/include -I/usr/include/httpd/xml -I/sw/include/python2.3" +INCDIRS="$INCDIRS -Wno-long-double" +LIBDIRS="-L/sw/lib -L/sw/lib/python2.3/config" + +if [ "$1" = "--debug" ]; then + ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \ + --enable-debug --enable-python --disable-shared +elif [ "$1" = "--opt" ]; then + ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ + CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -fPIC" +elif [ "$1" = "--flat-opt" ]; then + ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ + CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450" --disable-shared +elif [ "$1" = "--safe-opt" ]; then + ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ + CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -DDEBUG_LEVEL=1" \ + --enable-python --disable-shared +elif [ "$1" = "--perf" ]; then + ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" +fi + +rm AUTHORS COPYING |