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:
@ -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
|
||||
|
Reference in New Issue
Block a user