summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-26 19:00:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-26 19:00:58 -0400
commite12cc11760582707539f9ca3cda21be45f15e604 (patch)
tree63ef937102397681b3d00d65a2ce079b702d846e /acprep
parentae37cb8ece28420f1cee885e269ba2999f58140c (diff)
downloadfork-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-xacprep18
1 files changed, 11 insertions, 7 deletions
diff --git a/acprep b/acprep
index 87bcdb25..e5520514 100755
--- a/acprep
+++ b/acprep
@@ -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