From 00e318f5bb311bf787776e79d73fc05b2a616bd0 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Wed, 10 Mar 2010 20:04:16 -0500 Subject: [PATCH] build: Reset pkg_failed before checking pkg-config. If this is not done, the first pkg-config check to fail will cause all subsequent pkg-config checks to "fail". --- m4/dxutils.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/dxutils.m4 b/m4/dxutils.m4 index 4349ca6..77cb899 100644 --- a/m4/dxutils.m4 +++ b/m4/dxutils.m4 @@ -17,6 +17,7 @@ ifelse([$2], [], [], [dnl AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test x"$PKG_CONFIG" != x; then AC_MSG_CHECKING([pkg-config database for $2]) + pkg_failed=no _PKG_CONFIG(m4_tolower([$1])[_cflags], [cflags], [$2]) _PKG_CONFIG(m4_tolower([$1])[_libs], [libs], [$2]) if test x$pkg_failed = xyes; then -- 2.43.0