aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson2017-03-23 11:07:03 -0500
committerAdam Jackson2017-03-23 11:07:03 -0500
commitb983b054d4f1a6be67105e90f0ae2064f91a762c (patch)
treec9c0e4e769a3a0f23b7027505878bf97f514e62a /configure.ac
parent2b7453f47862b0ae8032ba269b40830a34a6fb43 (diff)
downloadexternal-libdrm-b983b054d4f1a6be67105e90f0ae2064f91a762c.tar.gz
external-libdrm-b983b054d4f1a6be67105e90f0ae2064f91a762c.tar.xz
external-libdrm-b983b054d4f1a6be67105e90f0ae2064f91a762c.zip
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8e593324..2e50d3ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,7 @@ AC_CONFIG_HEADERS([config.h])
28AC_CONFIG_SRCDIR([Makefile.am]) 28AC_CONFIG_SRCDIR([Makefile.am])
29AC_CONFIG_MACRO_DIR([m4]) 29AC_CONFIG_MACRO_DIR([m4])
30AC_CONFIG_AUX_DIR([build-aux]) 30AC_CONFIG_AUX_DIR([build-aux])
31PKG_PROG_PKG_CONFIG
31 32
32# Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC 33# Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC
33m4_ifndef([XORG_MACROS_VERSION], 34m4_ifndef([XORG_MACROS_VERSION],