summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2009-10-28 13:01:32 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-03-01 15:14:10 +0000
commitccd5869dedd857ed3cc40bfcdda93fa527f20057 (patch)
tree947d6c533791383c085bb906911ce152d49cc7bc /configure.ac
parentc2d312720105d44297a6ebe26123be0eb3571645 (diff)
configure: use CWARNFLAGS from xorg-macros.m4
Signed-off-by: Rémi Cardona <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 3c0a43b24cc7540cc139beca0ec2e4c202ff5593) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 0 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 7d4cea3a..5cb53e47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,16 +117,6 @@ AM_CONDITIONAL(DRI, test x$DRI = xyes)
AC_MSG_CHECKING([whether to include DRI support])
AC_MSG_RESULT([$DRI])
-dnl Use lots of warning flags with GCC
-
-WARN_CFLAGS=""
-
-if test "x$GCC" = "xyes"; then
- WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
- -Wmissing-prototypes -Wmissing-declarations \
- -Wnested-externs -fno-strict-aliasing"
-fi
-
AM_CONDITIONAL(VIDEO_DEBUG, test x$VIDEO_DEBUG = xyes)
if test "$VIDEO_DEBUG" = yes; then
AC_DEFINE(VIDEO_DEBUG,1,[Enable debug support])
@@ -149,7 +139,6 @@ if test "$KMS_ONLY" = yes; then
fi
AC_SUBST([XORG_CFLAGS])
-AC_SUBST([WARN_CFLAGS])
AC_SUBST([moduledir])
DRIVER_NAME=intel