Commit 81a9d98f authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

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.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2106 e5f2f494-b856-4b98-b285-d166d9295462
parent 187844f2
......@@ -310,6 +310,11 @@ AC_SUBST(GTEST_INCLUDES)
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment