summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 9638fd9ee6a999024ad885a1db1f322e7c30be61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 "$@"
echo "***** WARNING *****"
echo "Support for autotools will be removed soon from navit, please use cmake instead"
sleep 5