2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

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
This commit is contained in:
Jeremy C. Reed
2010-06-10 15:41:48 +00:00
parent 187844f29a
commit 81a9d98f0d

View File

@@ -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