From: Jean-Frederic Clere Date: Tue, 29 Sep 2009 07:34:33 +0000 (+0000) Subject: Make sure that --enable-maintainer-mode increase warnings/errors level. X-Git-Tag: 2.3.3~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5bb7235fd5d24ee9cd6967f271bb43673070a01;p=apache Make sure that --enable-maintainer-mode increase warnings/errors level. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@819848 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index c15b51a6b9..b9b5eeeaae 100644 --- a/configure.in +++ b/configure.in @@ -525,6 +525,11 @@ AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable f AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn on debugging and compile time warnings), [ APR_ADDTO(CPPFLAGS, -DAP_DEBUG) + if test "$GCC" = "yes"; then + APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations]) + elif test "$AIX_XLC" = "yes"; then + APR_ADDTO(CFLAGS,-qfullpath -qinitauto=FE -qcheck=all -qinfo=pro) + fi ])dnl dnl Conditionally enable PIE support for GNU toolchains.