From: Johannes Nixdorf Date: Sat, 22 Mar 2014 11:49:06 +0000 (+0100) Subject: configure.ac: fix the detection of expat with pkg-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=476db98e03a3f99af6658302974e51ec908fd274;p=mesa.git 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 --- diff --git a/configure.ac b/configure.ac index 9b665b017f3..a154177199a 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.]))