diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-26 19:00:58 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-26 19:00:58 -0400 |
commit | e12cc11760582707539f9ca3cda21be45f15e604 (patch) | |
tree | 63ef937102397681b3d00d65a2ce079b702d846e /acprep | |
parent | ae37cb8ece28420f1cee885e269ba2999f58140c (diff) | |
download | fork-ledger-e12cc11760582707539f9ca3cda21be45f15e604.tar.gz fork-ledger-e12cc11760582707539f9ca3cda21be45f15e604.tar.bz2 fork-ledger-e12cc11760582707539f9ca3cda21be45f15e604.zip |
added check for --enable-standalone, as mentioned in the README
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -1,6 +1,8 @@ #!/bin/sh aclocal +autoheader +touch AUTHORS ChangeLog if [ "$1" = "--dist" ]; then automake -acfi @@ -8,16 +10,18 @@ else automake -acf fi -autoheader autoconf +INCDIRS="-I/sw/include -I/usr/include/httpd/xml" if [ "$1" = "--debug" ]; then - ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \ - LDFLAGS=-L/sw/lib CXXFLAGS="-g" --enable-debug + ./configure CPPFLAGS="$INCDIRS" LDFLAGS=-L/sw/lib \ + CXXFLAGS="-g" --enable-debug elif [ "$1" = "--opt" ]; then - ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \ - LDFLAGS=-L/sw/lib CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450" + ./configure CPPFLAGS="$INCDIRS" LDFLAGS=-L/sw/lib \ + CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450" --enable-standalone elif [ "$1" = "--perf" ]; then - ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \ - LDFLAGS=-L/sw/lib CXXFLAGS="-g -pg" + ./configure CPPFLAGS="$INCDIRS" LDFLAGS=-L/sw/lib \ + CXXFLAGS="-g -pg" fi + +rm AUTHORS ChangeLog |