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 <Sebastian@SSpaeth.de>
This commit is contained in:
parent
fa4add3e07
commit
384bafebf5
1 changed files with 3 additions and 10 deletions
13
configure.in
13
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 ===================================================================
|
||||
|
|
Loading…
Reference in a new issue