diff options
| author | 2021-02-07 02:51:25 +0100 | |
|---|---|---|
| committer | 2021-02-07 02:51:25 +0100 | |
| commit | ebf2fdb938c755026668c8418da290e6870c1987 (patch) | |
| tree | 9630b5e28ada8cea73ca7a3730848da7eb3982b7 | |
| parent | 501f8c86eb524d993828535fc8076f6b86b682ee (diff) | |
| download | libplist-ebf2fdb938c755026668c8418da290e6870c1987.tar.gz libplist-ebf2fdb938c755026668c8418da290e6870c1987.tar.bz2 | |
configure.ac: Don't try to run pkg-config if it is not available
| -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 | |||
| 123 | if [test "x$CYTHON" != "xfalse"]; then | 123 | if [test "x$CYTHON" != "xfalse"]; then |
| 124 | PKG_PROG_PKG_CONFIG | 124 | PKG_PROG_PKG_CONFIG |
| 125 | AC_MSG_CHECKING([for libplist Cython bindings]) | 125 | AC_MSG_CHECKING([for libplist Cython bindings]) |
| 126 | CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist-2.0)/plist/cython | 126 | if test -x "$PKG_CONFIG"; then |
| 127 | CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist-2.0)/plist/cython | ||
| 128 | fi | ||
| 127 | if [test ! -d "$CYTHON_PLIST_INCLUDE_DIR"]; then | 129 | if [test ! -d "$CYTHON_PLIST_INCLUDE_DIR"]; then |
| 128 | CYTHON_PLIST_INCLUDE_DIR=. | 130 | CYTHON_PLIST_INCLUDE_DIR=. |
| 129 | cython_python_bindings=yes | 131 | cython_python_bindings=yes |
