apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1810449 - /apr/apr/branches/1.7.x/configure.in
Date Mon, 02 Oct 2017 15:30:42 GMT
Author: jim
Date: Mon Oct  2 15:30:41 2017
New Revision: 1810449

URL: http://svn.apache.org/viewvc?rev=1810449&view=rev
Log:
Get maint mode working again w/ clang-900 (macOS Xcode 9)

Modified:
    apr/apr/branches/1.7.x/configure.in

Modified: apr/apr/branches/1.7.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/configure.in?rev=1810449&r1=1810448&r2=1810449&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/configure.in (original)
+++ apr/apr/branches/1.7.x/configure.in Mon Oct  2 15:30:41 2017
@@ -346,6 +346,11 @@ AC_ARG_ENABLE(maintainer-mode,[  --enabl
   [APR_ADDTO(CFLAGS,-g)
    if test "$GCC" = "yes"; then
      APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations])
+      case `($CC --version) 2>/dev/null` in
+        *clang-900*)
+          APACHE_ADD_GCC_CFLAG([-Wno-error=strict-prototypes])
+          ;;
+      esac
    elif test "$AIX_XLC" = "yes"; then
      APR_ADDTO(CFLAGS,-qfullpath -qinitauto=FE -qcheck=all -qinfo=pro)
    fi



Mime
View raw message