summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-04-20 15:08:38 +0200
committerGravatar Nikias Bassen2017-04-20 15:08:38 +0200
commit1cd181c93604ba8ef8109d6d907c0f1c71bc441d (patch)
treef0218df268edc3b74f4bf575f71cd0f96b430eec
parent29bed91a801f500dbc8f761b0bc330d90d0ed0ee (diff)
downloadlibplist-1cd181c93604ba8ef8109d6d907c0f1c71bc441d.tar.gz
libplist-1cd181c93604ba8ef8109d6d907c0f1c71bc441d.tar.bz2
build: Fix check for previously installed cython bindings
Due to the removal of pkg-config check for libxml2, $PKG_CONFIG was not defined and a check for libplist's include dir via pkg-config failed. By invoking PKG_PROG_PKG_CONFIG $PKG_CONFIG will be defined and the check works again.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 61eb8ef..1daa614 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,6 +113,7 @@ else
113 CYTHON=false 113 CYTHON=false
114fi 114fi
115if [test "x$CYTHON" != "xfalse"]; then 115if [test "x$CYTHON" != "xfalse"]; then
116 PKG_PROG_PKG_CONFIG
116 AC_MSG_CHECKING([for libplist Cython bindings]) 117 AC_MSG_CHECKING([for libplist Cython bindings])
117 CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist)/plist/cython 118 CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist)/plist/cython
118 if [test ! -d "$CYTHON_PLIST_INCLUDE_DIR"]; then 119 if [test ! -d "$CYTHON_PLIST_INCLUDE_DIR"]; then