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

autoreconf -fi

if [ "$1" == "-d" ]; then
	shift;
	echo "Running ./configure"
	echo
	./configure "$@"
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