summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index fae21ac..1c62cd0 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -27,19 +27,21 @@ run_versioned() {
if [ "x$1" = "xam" ] ; then
set -ex
- run_versioned automake 1.7 -a -c
+ run_versioned automake 1.7 -a -c --foreign
./config.status
else
set -ex
+
rm -rf autom4te.cache
rm -f config.cache
run_versioned aclocal 1.7
+
autoheader
- run_versioned automake 1.7 -a -c
+ run_versioned automake 1.7 -a -c --foreign
autoconf -Wall
- ./configure --sysconfdir=/etc "$@"
+ CFLAGS="-g -O0" ./configure --sysconfdir=/etc "$@"
make clean
fi