diff options
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |