Move the safety check about pkg-config in bootstrap.sh.

Don't check twice for pkg-config during configure, since the undefined
macro would be possibly caused on a different system.
This commit is contained in:
Diego E. 'Flameeyes' Pettenò 2009-01-22 16:52:41 +01:00
parent 1b20d287b9
commit 3293251198
2 changed files with 9 additions and 8 deletions

View file

@ -462,14 +462,6 @@ AC_SUBST(pulselocaledir)
#### pkg-config ####
# Check for pkg-config manually first, as if its not installed the
# PKG_PROG_PKG_CONFIG macro won't be defined.
AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no)
if test x"$have_pkg_config" = "xno"; then
AC_MSG_ERROR(pkg-config is required to install this program)
fi
PKG_PROG_PKG_CONFIG
#### X11 (optional) ####