Fix: support older pkg-config autoconf macros
[babeltrace.git] / 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.024546 seconds and 4 git commands to generate.