Fix: support older pkg-config autoconf macros
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 21 Aug 2017 20:56:05 +0000 (16:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 28 Aug 2017 21:29:16 +0000 (17:29 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac

index 4c1b31598cd88b3ec8f052ad2ae34537e0b8a711..3102dc72e80d08bc8a97ffc31d251a3d5ebcdb61 100644 (file)
@@ -630,6 +630,11 @@ LIBS="$LIBS $GLIB_LIBS"
 # glib.h is not platform specific but it includes glibconfig.h which is and
 # is usually installed in a non-standard path.
 
+# Older versions of the pkg-config macros disallows PKG_* in the autoconf
+# output. Specifically allow pkg_config_libdir to be able to print the
+# error message.
+m4_pattern_allow([PKG_CONFIG_LIBDIR])
+
 save_CFLAGS=${CFLAGS}
 CFLAGS="${CFLAGS} ${AM_CFLAGS}"
 AC_COMPILE_IFELSE([
This page took 0.025378 seconds and 4 git commands to generate.