summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: b4b1261796d0c5b5ac85ec16c44f243ab34d2d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

# Some boiler plate to get git setup as expected
if test -d .git; then
	if test -f .git/hooks/pre-commit.sample && \
	   test ! -f .git/hooks/pre-commit; then
		cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit
	fi
fi

set -x

aclocal
autoheader
libtoolize --force
automake -a
autoconf
./configure "$@"