Fixes to catch missing GNU tools

This commit is contained in:
Luca Deri
2015-05-23 07:15:24 +02:00
parent 43bf9df219
commit 3caf906c9a
2 changed files with 31 additions and 2 deletions
+25
View File
@@ -2,5 +2,30 @@
/bin/rm -f configure config.h config.h.in src/lib/Makefile.in
AUTOCONF=$(which autoconf)
AUTOMAKE=$(which automake)
LIBTOOL=$(which libtool)
if test -z $AUTOCONF; then
echo "autoconf is missing: please install it and try again"
exit
fi
if test -z $AUTOMAKE; then
echo "automake is missing: please install it and try again"
exit
fi
if test -z $LIBTOOL; then
echo "libtool is missing: please install it and try again"
exit
fi
if test -z $AUTORECONF; then
echo "autoreconf is missing: please install it and try again"
exit
fi
autoreconf -ivf
./configure