Bug 39763 - autogen.sh should check pkg-config availability
(and revert change have_icu change I mistakenly pushed out)
diff --git a/autogen.sh b/autogen.sh
index cdebe07..833a621 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,14 +13,20 @@
exit 1
}
+echo -n "checking for pkg-config... "
+which pkg-config || {
+ echo "*** No pkg-config found, please install it ***"
+ exit 1
+}
+
echo -n "checking for autoreconf... "
which autoreconf || {
echo "*** No autoreconf found, please install it ***"
exit 1
}
-echo "running autoreconf"
-autoreconf --force --install || exit $?
+echo "running autoreconf --force --install --verbose"
+autoreconf --force --install --verbose || exit $?
cd $olddir
echo "running configure $@"