Author: cazfi
Date: Sun Jan  4 19:29:40 2015
New Revision: 27512

URL: http://svn.gna.org/viewcvs/freeciv?rev=27512&view=rev
Log:
Give sensible error message when configure does not find pkg-config instead of
failing some test where the test execution would require it.

See bug #23133

Modified:
    branches/S2_4/configure.ac

Modified: branches/S2_4/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_4/configure.ac?rev=27512&r1=27511&r2=27512&view=diff
==============================================================================
--- branches/S2_4/configure.ac  (original)
+++ branches/S2_4/configure.ac  Sun Jan  4 19:29:40 2015
@@ -573,6 +573,9 @@
 fi
 
 PKG_PROG_PKG_CONFIG
+if test "x$PKG_CONFIG" = "x" ; then
+  AC_MSG_ERROR([pkg-config not found])
+fi
 PKG_CHECK_MODULES([CURL], [libcurl >= 7.9.7],,
     [AC_MSG_ERROR([libcurl development files required])])
 CFLAGS="$CFLAGS $CURL_CFLAGS"


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to