summaryrefslogtreecommitdiff
path: root/acprep
blob: ac68b52b5e45c3749b4b0087437fa60289c4114e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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