summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2006-03-23 02:29:23 +0000
committerLuc Verhaegen <libv@skynet.be>2006-03-23 02:29:23 +0000
commitbb6ecf8c676f2804ff17834913b0a4585d26e363 (patch)
tree082ca3c68e7570c9f29f022c4594d9f5d6a4abb8
parent7c5ade372a41bdcd24d888e4755d84a3e5a56e59 (diff)
Properly encapsulte the gccisms -Wall and -pedantic.
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 2180667..1ea4c3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,15 +34,15 @@ AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
-# -Wall is missing for some reason
-CFLAGS="$CFLAGS -Wall"
-AC_MSG_RESULT([$CFLAGS])
-
# Checks for programs.
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
+if test "x$GCC" = "xyes"; then
+ CFLAGS="$CFLAGS -Wall -pedantic"
+fi
+
AH_TOP([#include "xorg-server.h"])
AC_ARG_WITH(xorg-module-dir,