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: auth-3.3.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4fe901b5aa32f0f22e3c3a0eb03a35dedc8feb2;p=thirdparty%2Fpdns.git make sure to run PKG_PROG_PKG_CONFIG before the first PKG_* usage --- diff --git a/configure.ac b/configure.ac index 916ac40031..6ed8948ce2 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,9 @@ dnl Check for lua AC_MSG_CHECKING(if with lua) AC_ARG_WITH(lua, AC_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 @@ -68,10 +71,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, AC_HELP_STRING([--with-sqlite3],[include sqlite3 driver]), [WITH_SQLITE3=$withval],[WITH_SQLITE3=no])