Author: cazfi Date: Sun Jan 4 19:29:27 2015 New Revision: 27510 URL: http://svn.gna.org/viewcvs/freeciv?rev=27510&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_6/configure.ac Modified: branches/S2_6/configure.ac URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/configure.ac?rev=27510&r1=27509&r2=27510&view=diff ============================================================================== --- branches/S2_6/configure.ac (original) +++ branches/S2_6/configure.ac Sun Jan 4 19:29:27 2015 @@ -521,6 +521,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