From 3d130ada32fe8c36fa77f0ca2a535dc89141419f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 21 Aug 2017 16:56:05 -0400 Subject: [PATCH] Fix: support older pkg-config autoconf macros MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 4c1b3159..3102dc72 100644 --- a/configure.ac +++ b/configure.ac @@ -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([ -- 2.34.1