You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jf...@apache.org on 2009/09/29 09:34:33 UTC
svn commit: r819848 - /httpd/httpd/trunk/configure.in
Author: jfclere
Date: Tue Sep 29 07:34:33 2009
New Revision: 819848
URL: http://svn.apache.org/viewvc?rev=819848&view=rev
Log:
Make sure that --enable-maintainer-mode increase warnings/errors level.
Modified:
httpd/httpd/trunk/configure.in
Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=819848&r1=819847&r2=819848&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Tue Sep 29 07:34:33 2009
@@ -525,6 +525,11 @@
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.