From 44a45bcb82d49349f4fdfae3e4b8f24f98d99b46 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Apr 2006 23:31:56 +0000 Subject: Use a CPPFLAGS with XORG_CFLAGS so that the exa test can actually find its headers and not fail. Also correct some nearby spelling. --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ac23880..92dc830 100644 --- a/configure.ac +++ b/configure.ac @@ -183,10 +183,12 @@ else echo "no" fi +SAVE_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CPPFLAGS $XORG_CFLAGS" if test "x$have_exa_h" = xyes; then - AC_MSG_CHECKING([wether EXA version is at least 2.0.0]) + AC_MSG_CHECKING([whether EXA version is at least 2.0.0]) AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[ -#include "${sdkdir}/exa.h" +#include "exa.h" #if EXA_VERSION_MAJOR < 2 #error OLD EXA! #endif @@ -200,6 +202,7 @@ if test "x$have_exa_h" = xyes; then echo "no." fi fi +CPPFLAGS="$SAVE_CPPFLAGS" AM_CONDITIONAL(USE_EXA, test "x$USE_EXA" = xyes) -- cgit v1.2.3