From 384bafebf5e4b257760da507db4df8563e906dfe Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Fri, 10 Dec 2010 15:49:18 +0100 Subject: [PATCH] Check for pkg-config before we use it and on all platforms Previously, we would skip that check only on Windows but use the Check for Packages macros anyway, so we required that also on Windows. Move to the front, no need to check for its existence *after* we already used it. Signed-off-by: Sebastian Spaeth --- configure.in | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/configure.in b/configure.in index 7facaffc1408..7d1b48fcf71a 100755 --- a/configure.in +++ b/configure.in @@ -1331,6 +1331,9 @@ if test -z "$GNUTAR"; then fi AC_SUBST(GNUTAR) +# Do we have pkg-config? +PKG_PROG_PKG_CONFIG + dnl =================================================================== dnl Checks for --with-local-solenv invocation dnl TODO: Is this still required? @@ -3917,16 +3920,6 @@ else AC_MSG_ERROR([too old, you need at least 3.0.0]) fi -dnl =================================================================== -dnl Check for pkg-config -dnl # Note that if there is a possibility the first call to -dnl # PKG_CHECK_MODULES might not happen, you should be sure to include an -dnl # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -dnl =================================================================== -if test "$_os" != "WINNT"; then - PKG_PROG_PKG_CONFIG -fi - dnl =================================================================== dnl Check for building stax dnl ===================================================================