[Mesa-dev] [PATCH] configure.ac: fix the detection of expat with pkg-config
Johannes Nixdorf
mixi at shadowice.org
Sat Mar 22 04:49:06 PDT 2014
The pkg-config module was called "EXPAT" instead of "expat" in
PKG_CHECK_EXISTS. This seems to have been wrong because the wrong
argument was copied from PKG_CHECK_MODULES.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c5042f9..09b2e50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -997,7 +997,7 @@ if test "x$enable_dri" = xyes; then
fi
# Check for expat
- PKG_CHECK_EXISTS([EXPAT], [have_expat=yes], [have_expat=no])
+ PKG_CHECK_EXISTS([expat], [have_expat=yes], [have_expat=no])
if test "x$have_expat" = "xyes"; then
PKG_CHECK_MODULES([EXPAT], [expat], [],
AC_MSG_ERROR([Expat required for DRI.]))
--
1.9.0
More information about the mesa-dev
mailing list