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>
Tue, 29 Aug 2017 18:31:26 +0000 (14:31 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac

index 8df8dee9c804d72afbf233432f71bd137218d4bf..7e22f2d377174d8fa4c6262d86c8a0c49d188969 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.024477 seconds and 4 git commands to generate.