From 6483bbd8a191082d13bfe0c66d42b282c60840ad Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 8 Sep 2017 10:49:24 +0200 Subject: [PATCH] Fix autotools configure error not finding expat library without pkg-config support on Mingw --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 05182d1f..0822f52e 100644 --- a/configure.ac +++ b/configure.ac @@ -933,7 +933,9 @@ fi # unix:path=/foo or unix:abstract=/foo AC_SUBST(DBUS_PATH_OR_ABSTRACT) -PKG_CHECK_MODULES([EXPAT], [expat]) +if test -z "$EXPAT_LIBS" ; then + PKG_CHECK_MODULES([EXPAT], [expat]) +fi save_cflags="$CFLAGS" save_libs="$LIBS" -- 2.12.3