diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f4e89a1..eade215 100644 --- a/configure.ac +++ b/configure.ac @@ -123,7 +123,9 @@ fi if [test "x$CYTHON" != "xfalse"]; then PKG_PROG_PKG_CONFIG AC_MSG_CHECKING([for libplist Cython bindings]) - CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist-2.0)/plist/cython + if test -x "$PKG_CONFIG"; then + CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist-2.0)/plist/cython + fi if [test ! -d "$CYTHON_PLIST_INCLUDE_DIR"]; then CYTHON_PLIST_INCLUDE_DIR=. cython_python_bindings=yes |