summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorArkadiusz Miskiewicz <arekm@maven.pl>2007-12-21 18:56:34 -0500
committerAlex Deucher <alex@botch2.(none)>2007-12-21 18:56:34 -0500
commit4f2e833e8ebaba3ad85ec5314fff8fa05395b679 (patch)
tree5d2004a5ba63a21977e5dc38e8cfcc496887aa2b /configure.ac
parent2b6e8e2b8f74e94560de89693ecbc7260536591e (diff)
configure.ac fixes
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index edac3ed..409796d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ AC_PROG_LIBTOOL
AC_PROG_CC
if test "x$GCC" = "xyes"; then
- CFLAGS="$CFLAGS -Wall"
+ CPPFLAGS="$CPPFLAGS -Wall"
fi
AH_TOP([#include "xorg-server.h"])
@@ -117,6 +117,7 @@ if test "$DRI" = yes; then
fi
fi
+save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS"
AC_CHECK_HEADER(xf86Modes.h,[XMODES=yes],[XMODES=no],[#include "xorg-server.h"])
CFLAGS="$save_CFLAGS"