diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3c00ae107..5e769301e 100644 --- a/configure.ac +++ b/configure.ac @@ -892,13 +892,16 @@ else fi if test -z "$OPT_ZLIB" ; then - PKG_CHECK_MODULES([ZLIB], [zlib], + + m4_ifdef([PKG_CHECK_MODULES], [ + PKG_CHECK_MODULES([ZLIB], [zlib], [ LIBS="${ZLIB_LIBS} $LIBS" CPPFLAGS="${ZLIB_CFLAGS} $CPPFLAGS" HAVE_LIBZ="1" ], [ ]) + ]) if test -z "$HAVE_LIBZ"; then |