summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-12-16 12:04:40 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-12-16 12:04:40 +0000
commitb19e292157f47b4d2e5f7b018c248ffb1504ad05 (patch)
tree6528373ca96ec9ba091f780eb9dec113749d09cf /configure.ac
parent3896c470fbfb5ae4c5037140a7c20cd1295022ab (diff)
2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that if --without-sqlite3 is given, pkg-config is not properly used in configure script and failed to detect gnutls. This is because explicit call of PKG_PROG_PKG_CONFIG is missing and the initialization of pkg-config is done in first occurrence of PKG_CHECK_MODULES which is not executed because it is inside of sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call. * configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 39628fe8..7bff0769 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,9 @@ AC_LANG([C++])
# Enable system extensions
AC_USE_SYSTEM_EXTENSIONS
+# Check pkg-config is available
+PKG_PROG_PKG_CONFIG([0.20])
+
# Checks for libraries.
if test "x$with_libxml2" = "xyes"; then
AM_PATH_XML2([2.6.24], [have_libxml2=yes])