configure.ac: fix the detection of expat with pkg-config
authorJohannes Nixdorf <mixi@shadowice.org>
Sat, 22 Mar 2014 11:49:06 +0000 (12:49 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 5 Apr 2014 11:24:01 +0000 (12:24 +0100)
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@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac

index 9b665b017f33f93b350bf2796d6da06fdf84ab85..a154177199a626e7c801945515b8e9b953d6fdaa 100644 (file)
@@ -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.]))