From: Nick Bowler Date: Thu, 11 Mar 2010 01:04:16 +0000 (-0500) Subject: build: Reset pkg_failed before checking pkg-config. X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/00e318f5bb311bf787776e79d73fc05b2a616bd0 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". --- 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