From: Peter van Dijk Date: Thu, 5 Dec 2013 19:09:09 +0000 (+0100) Subject: make sure to run PKG_PROG_PKG_CONFIG before the first PKG_* usage X-Git-Tag: rec-3.6.0-rc1~315 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ae885ac02f709bf169814accba005b23b56b960;p=pdns make sure to run PKG_PROG_PKG_CONFIG before the first PKG_* usage --- diff --git a/configure.ac b/configure.ac index e771c9c65..0e4dd1940 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,9 @@ dnl Check for lua AC_MSG_CHECKING(if with lua) AC_ARG_WITH(lua, AS_HELP_STRING([--with-lua],[use Lua]), [WITH_LUA=$withval],[WITH_LUA=yes]) +# detect pkg-config explicitly +PKG_PROG_PKG_CONFIG + AC_MSG_RESULT($WITH_LUA) if test "$WITH_LUA" != "no"; then # try pkgconfig @@ -71,10 +74,6 @@ if test x"$enable_unit_tests" = "xyes"; then fi #BOOST_SYSTEM([mt]) -# detect pkg-config explicitly -PKG_PROG_PKG_CONFIG - - dnl Allow user to require SQLite3 AC_MSG_CHECKING(whether user requires sqlite3) AC_ARG_WITH(sqlite3, AS_HELP_STRING([--with-sqlite3],[include sqlite3 driver]), [WITH_SQLITE3=$withval],[WITH_SQLITE3=no])