Show error from bootstrap.sh if pkg-config not found.

It generated broken configure script without pkg-config installed.
This commit is contained in:
Alexey Sokolov
2012-02-03 08:44:24 +07:00
parent 140d83eb30
commit 6b2029fa16
+7
View File
@@ -38,4 +38,11 @@ test -f config.guess -a -f config.sub -a -f install-sh ||
echo "(Yes, automake is supposed to fail, ignore that)"
echo
if grep PKG_CHECK_MODULES configure > /dev/null
then
rm configure
die "ERROR: pkg-config not found. Install pkg-config and run $0 again"
fi
echo "You may now run ./configure."