Enable GCC version specific warnings.

This commit is contained in:
Roland Illig 2004-08-17 09:52:53 +00:00
parent 5a345d5e4d
commit e4b55374d8
1 changed files with 1 additions and 7 deletions

View File

@ -543,13 +543,7 @@ if test "$GLIBC21" != yes; then
AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
fi
dnl
dnl Enforce coding standards
dnl
if test "x$GCC" = xyes -a x"$USE_MAINTAINER_MODE" = x"yes"; then
dnl Prepend the flags to keep them user-overridable
CFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused-parameter $CFLAGS"
fi
ri_GCC_WARNINGS()
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)