summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep20
1 files changed, 20 insertions, 0 deletions
diff --git a/acprep b/acprep
new file mode 100755
index 00000000..ac68b52b
--- /dev/null
+++ b/acprep
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+aclocal
+
+if [ "$1" = "--dist" ]; then
+ automake -acfi
+else
+ automake -acf
+fi
+
+autoheader
+autoconf
+
+if [ "$1" = "--debug" ]; then
+ ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \
+ 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="-O3 -fomit-frame-pointer"
+fi