]> granicus.if.org Git - apache/commitdiff
Also affects official clang 5 (maybe older ones too...)
authorJim Jagielski <jim@apache.org>
Tue, 3 Oct 2017 12:53:04 +0000 (12:53 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 3 Oct 2017 12:53:04 +0000 (12:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810998 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 43a5053fe895dd8b17c274fd8493462ae9a800c3..6ce487010dc84c6e7f5e49f3d602353eef5e0fb9 100644 (file)
@@ -631,7 +631,7 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn o
     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-900* | *"clang version 5.0.0"*)
           APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
           ;;
       esac
@@ -662,7 +662,7 @@ AC_ARG_ENABLE(debugger-mode,APACHE_HELP_STRING(--enable-debugger-mode,Turn on de
     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-900* | *"clang version 5.0.0"*)
           APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
           ;;
       esac