configure: Explicitly check for pkg-config at the top level
If you don't, then the first place the m4 expands is: if test "x$INTEL" != "xno"; then PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10]) fi So on non-Intel architectures we never find it in the path, and all subsequent PKG_CHECK_MODULESes fail. Boo autoconf. Signed-off-by: Adam Jackson <ajax@redhat.com>main
parent
2b7453f478
commit
b983b054d4
|
@ -28,6 +28,7 @@ AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_SRCDIR([Makefile.am])
|
AC_CONFIG_SRCDIR([Makefile.am])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
# Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC
|
# Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC
|
||||||
m4_ifndef([XORG_MACROS_VERSION],
|
m4_ifndef([XORG_MACROS_VERSION],
|
||||||
|
|
Loading…
Reference in New Issue