httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1812261 - /httpd/httpd/trunk/configure.in
Date Mon, 16 Oct 2017 09:15:27 GMT
Author: rjung
Date: Mon Oct 16 09:15:27 2017
New Revision: 1812261

URL: http://svn.apache.org/viewvc?rev=1812261&view=rev
Log:
GCC/Clang strict-prototypes handling in configure:
revert r1810998 and r1810448 before applying a
more general solution.

Modified:
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1812261&r1=1812260&r2=1812261&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Mon Oct 16 09:15:27 2017
@@ -630,11 +630,6 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HEL
     APR_ADDTO(CPPFLAGS, -DAP_DEBUG)
     if test "$GCC" = "yes"; then
       APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wpointer-arith])
-      case `($CC --version) 2>/dev/null` in
-        *clang-900* | *"clang version 5.0.0"*)
-          APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
-          ;;
-      esac
       APACHE_ADD_GCC_CFLAG([-std=c89])
       APACHE_ADD_GCC_CFLAG([-Werror])
       APACHE_ADD_GCC_CFLAG([-Wdeclaration-after-statement])
@@ -661,11 +656,6 @@ AC_ARG_ENABLE(debugger-mode,APACHE_HELP_
     APR_ADDTO(CPPFLAGS, -DAP_DEBUG)
     if test "$GCC" = "yes"; then
       APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wpointer-arith -O0])
-      case `($CC --version) 2>/dev/null` in
-        *clang-900* | *"clang version 5.0.0"*)
-          APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
-          ;;
-      esac
       APACHE_ADD_GCC_CFLAG([-Wdeclaration-after-statement])
       APACHE_ADD_GCC_CFLAG([-Werror=declaration-after-statement])
       APACHE_ADD_GCC_CFLAG([-Wformat])



Mime
View raw message