diff options
author | Arkadiusz Miskiewicz <arekm@maven.pl> | 2007-12-21 18:56:34 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-12-21 18:56:34 -0500 |
commit | 4f2e833e8ebaba3ad85ec5314fff8fa05395b679 (patch) | |
tree | 5d2004a5ba63a21977e5dc38e8cfcc496887aa2b /configure.ac | |
parent | 2b6e8e2b8f74e94560de89693ecbc7260536591e (diff) |
configure.ac fixes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index edac3edb..409796dd 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" |