summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: e1a5447750ede844033fc5d29da07aff73a09fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
if [ `uname` = Darwin ]; then
	LIBTOOL=glibtool
else
	LIBTOOL=libtool
fi

for pkg in pkg-config $LIBTOOL automake aclocal autoreconf:autoconf autopoint:gettext
do
	if ! ${pkg%%:*} --version >/dev/null 
	then
		echo "You need to install ${pkg##*:}"
		exit 1
	fi
done

autoreconf --install -I m4