1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-29 01:49:22 +03:00

Make configure.ac work with older pkg-config

Older versions of pkg.m4 require the action-if-not-found argument of
the PKG_CHECK_MODULES macro to be non-empty. Use a colon (null command)
instead of an empty string.

Fixes #50.
This commit is contained in:
Nick Wellnhofer
2019-04-09 13:16:50 +02:00
parent 0f51861154
commit 91d576de8b

View File

@ -396,7 +396,7 @@ else
# Try pkg-config first so that static linking works.
PKG_CHECK_MODULES([Z],[zlib],
[WITH_ZLIB=1],
[ ])
[:])
fi
if test "$WITH_ZLIB" = "0"; then
@ -435,7 +435,7 @@ else
# Try pkg-config first so that static linking works.
PKG_CHECK_MODULES([LZMA],[liblzma],
[WITH_LZMA=1],
[ ])
[:])
fi
# If pkg-config failed, fall back to AC_CHECK_LIB. This