aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 79707024fa3d27a725fd02d00306086863df3fe5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash -e

autoreconf -fi

if [ "$1" == "-d" ]; then
	shift;
	echo "Running configure --enable-debug (but not --enable-debug-output)"
	echo
	sleep 1s
	./configure --enable-debug "$@"
elif [ -n "$1" ]; then
	echo
	echo "./configure $@"
	./configure "$@"
else
	echo
	echo "autogen.sh completed successfully."
	echo "Now run ./configure with the appropriate flags and then make."
fi