summaryrefslogtreecommitdiffstats
path: root/ipsec-tools/bootstrap
blob: 1f2bdb66d9af88b55329765f5d1e0034a0a44258 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -x

case `uname -s` in
Darwin)
	LIBTOOLIZE=glibtoolize
	;;
*)
	LIBTOOLIZE=libtoolize
	;;
esac
	
# Remove autoconf 2.5x's cache directory
rm -rf autom4te*.cache

aclocal -I .                            || exit 1
autoheader                              || exit 1
${LIBTOOLIZE} --force --copy            || exit 1
automake --foreign --add-missing --copy || exit 1
autoconf                                || exit 1