summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: bd556500968c636f991c057425944700aec6c7dd (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 --force --install -I m4