mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Show error from bootstrap.sh if pkg-config not found.
It generated broken configure script without pkg-config installed.
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user