Better error message if libtool is not installed
Fixes https://github.com/behdad/harfbuzz/pull/88
This commit is contained in:
parent
6c918e2997
commit
1e03d7ac83
|
@ -19,17 +19,22 @@ which pkg-config || {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo -n "checking for libtoolize... "
|
||||||
|
which libtoolize || {
|
||||||
|
echo "*** No libtoolize (libtool) found, please install it ***"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
echo -n "checking for gtkdocize... "
|
echo -n "checking for gtkdocize... "
|
||||||
if which gtkdocize ; then
|
if which gtkdocize ; then
|
||||||
gtkdocize --copy || exit 1
|
gtkdocize --copy || exit 1
|
||||||
else
|
else
|
||||||
echo "*** No gtkdocize found, skipping documentation ***"
|
echo "*** No gtkdocize (gtk-doc) found, skipping documentation ***"
|
||||||
echo "EXTRA_DIST = " > gtk-doc.make
|
echo "EXTRA_DIST = " > gtk-doc.make
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "checking for autoreconf... "
|
echo -n "checking for autoreconf... "
|
||||||
which autoreconf || {
|
which autoreconf || {
|
||||||
echo "*** No autoreconf found, please install it ***"
|
echo "*** No autoreconf (autoconf) found, please install it ***"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue