[svn] commit: r2106 - /trunk/configure.ac
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 10 15:41:48 UTC 2010
Author: jreed
Date: Thu Jun 10 15:41:48 2010
New Revision: 2106
Log:
Check for pkg-config itself so we don't try the m4 macro without pkg-config.
This helps workaround problem noted on bind10-users list last week
and this was discussed on jabber last week.
Note that if the m4 macro doesn't exist. Then even if pkg-config
is installed later, the configure script will still fail. autoconf
will need to be ran again.
Modified:
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Jun 10 15:41:48 2010
@@ -310,6 +310,11 @@
AC_SUBST(GTEST_LDFLAGS)
AC_SUBST(GTEST_LDADD)
+dnl check for pkg-config itself so we don't try the m4 macro without pkg-config
+AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no)
+if test "x$HAVE_PKG_CONFIG" = "xno" ; then
+ AC_MSG_ERROR(Please install pkg-config)
+fi
PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9, enable_features="$enable_features SQLite3")
# I can't get some of the #include <asio.hpp> right without this
More information about the bind10-changes
mailing list