aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 11 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 0aa75079d..3dec4c03e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,32 +8,38 @@ LIBTOOL=$(command -v libtool)
LIBTOOLIZE=$(command -v libtoolize)
AUTORECONF=$(command -v autoreconf)
PKG_CONFIG=$(command -v pkg-config)
+MAKE=$(command -v make)
-if test -z $AUTOCONF; then
+if test -z "${AUTOCONF}"; then
echo "autoconf is missing: please install it and try again"
exit
fi
-if test -z $AUTOMAKE; then
+if test -z "${AUTOMAKE}"; then
echo "automake is missing: please install it and try again"
exit
fi
-if test -z $LIBTOOL && test -z $LIBTOOLIZE ; then
+if test -z "${LIBTOOL}" && test -z "${LIBTOOLIZE}"; then
echo "libtool and libtoolize is missing: please install it and try again"
exit
fi
-if test -z $AUTORECONF; then
+if test -z "${AUTORECONF}"; then
echo "autoreconf is missing: please install it and try again"
exit
fi
-if test -z $PKG_CONFIG; then
+if test -z "${PKG_CONFIG}"; then
echo "pkg-config is missing: please install it (apt-get install pkg-config) and try again"
exit
fi
+if test -z "${MAKE}"; then
+ echo "make is missing; please install it (apt-get install make) and try again"
+ exit
+fi
+
autoreconf -ivf
echo "./configure $@"