Better error message if libtool is not installed

Fixes https://github.com/behdad/harfbuzz/pull/88
This commit is contained in:
Behdad Esfahbod 2015-02-26 13:58:32 -08:00
parent 6c918e2997
commit 1e03d7ac83

View File

@ -19,17 +19,22 @@ which pkg-config || {
exit 1
}
echo -n "checking for libtoolize... "
which libtoolize || {
echo "*** No libtoolize (libtool) found, please install it ***"
exit 1
}
echo -n "checking for gtkdocize... "
if which gtkdocize ; then
gtkdocize --copy || exit 1
else
echo "*** No gtkdocize found, skipping documentation ***"
echo "*** No gtkdocize (gtk-doc) found, skipping documentation ***"
echo "EXTRA_DIST = " > gtk-doc.make
fi
echo -n "checking for autoreconf... "
which autoreconf || {
echo "*** No autoreconf found, please install it ***"
echo "*** No autoreconf (autoconf) found, please install it ***"
exit 1
}