summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-26 15:35:24 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-26 15:35:24 -0400
commit8075202365559ff80d79a2435439e4e7d54653f7 (patch)
treea7fee0c704d24a08eccecac4944fccbdfeb8dffb
parent3c50b2fb7aa1c688379ac26bb7203dd258559517 (diff)
downloadfork-ledger-8075202365559ff80d79a2435439e4e7d54653f7.tar.gz
fork-ledger-8075202365559ff80d79a2435439e4e7d54653f7.tar.bz2
fork-ledger-8075202365559ff80d79a2435439e4e7d54653f7.zip
added "acprep --perf", for doing performance analysis
-rwxr-xr-xacprep3
1 files changed, 3 insertions, 0 deletions
diff --git a/acprep b/acprep
index ac68b52b..825a76e1 100755
--- a/acprep
+++ b/acprep
@@ -17,4 +17,7 @@ if [ "$1" = "--debug" ]; then
elif [ "$1" = "--opt" ]; then
./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \
LDFLAGS=-L/sw/lib CXXFLAGS="-O3 -fomit-frame-pointer"
+elif [ "$1" = "--perf" ]; then
+ ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \
+ LDFLAGS=-L/sw/lib CXXFLAGS="-g -pg"
fi