Permalink
Browse files

make sure to run PKG_PROG_PKG_CONFIG before the first PKG_* usage

  • Loading branch information...
1 parent 00a7b25 commit e4fe901b5aa32f0f22e3c3a0eb03a35dedc8feb2 @Habbie Habbie committed Dec 5, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 configure.ac
View
@@ -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])

0 comments on commit e4fe901

Please sign in to comment.