From 91543aef3b7530cb348197f9cda3f5046f67da51 Mon Sep 17 00:00:00 2001 From: Johannes Nixdorf Date: Sat, 22 Mar 2014 12:49:06 +0100 Subject: [PATCH] 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" Reviewed-by: Matt Turner Reviewed-by: Emil Velikov (cherry picked from commit 476db98e03a3f99af6658302974e51ec908fd274) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 993a79f6f0f..53efa1dd01a 100644 --- a/configure.ac +++ b/configure.ac @@ -1043,7 +1043,7 @@ if test "x$enable_dri" = xyes; then DRI_DIRS=`echo "$DRI_DIRS" | $SED 's/ */ /g'` # 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.]))