Author: cazfi Date: Sun Jan 4 19:29:34 2015 New Revision: 27511 URL: http://svn.gna.org/viewcvs/freeciv?rev=27511&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_5/configure.ac Modified: branches/S2_5/configure.ac URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/configure.ac?rev=27511&r1=27510&r2=27511&view=diff ============================================================================== --- branches/S2_5/configure.ac (original) +++ branches/S2_5/configure.ac Sun Jan 4 19:29:34 2015 @@ -603,6 +603,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])]) UTILITY_CFLAGS="${UTILITY_CFLAGS} ${CURL_CFLAGS}" _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits