From d5bb7235fd5d24ee9cd6967f271bb43673070a01 Mon Sep 17 00:00:00 2001 From: Jean-Frederic Clere Date: Tue, 29 Sep 2009 07:34:33 +0000 Subject: [PATCH] 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 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) 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. -- 2.50.1