Mesa (master): configure.ac: fix the detection of expat with pkg-config

Emil Velikov evelikov at kemper.freedesktop.org
Sat Apr 5 13:08:53 UTC 2014


Module: Mesa
Branch: master
Commit: 476db98e03a3f99af6658302974e51ec908fd274
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=476db98e03a3f99af6658302974e51ec908fd274

Author: Johannes Nixdorf <mixi at shadowice.org>
Date:   Sat Mar 22 12:49:06 2014 +0100

configure.ac: fix the detection of expat with pkg-config

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.

Cc: "10.0" "10.1" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 9b665b0..a154177 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1025,7 +1025,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.]))




More information about the mesa-commit mailing list