diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2017-10-02 15:32:00 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2017-10-02 15:32:00 +0000 |
commit | 64f966f11058d13fe6e09513b9420b7bbc1d619c (patch) | |
tree | 92108f546a3d1ddb7bac27801c8684958e73b3fb | |
parent | 81566e5a6344ecb0151fa9281c9dc26334cc8266 (diff) | |
download | libapr-64f966f11058d13fe6e09513b9420b7bbc1d619c.tar.gz |
Merge r1810450 from trunk:
Get maint mode working again w/ macOS Xcode 9 (clang-900)
Reviewed by: jim
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1810451 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 927e1e655..2d58072f4 100644 --- a/configure.in +++ b/configure.in @@ -346,6 +346,11 @@ AC_ARG_ENABLE(maintainer-mode,[ --enable-maintainer-mode Turn on debugging and [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 |