Mercurial > vim
diff src/auto/configure @ 13690:4034ddb84f01 v8.0.1717
patch 8.0.1717: C89 check causes too much trouble
commit https://github.com/vim/vim/commit/3cba73423e5304ef7ccdb2280d65562d2f06f483
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 15 13:12:46 2018 +0200
patch 8.0.1717: C89 check causes too much trouble
Problem: C89 check causes too much trouble.
Solution: Remove enforcing C89 for now.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Apr 2018 13:15:06 +0200 |
parents | 6b49b6ea9e43 |
children | 7152032191d7 |
line wrap: on
line diff
--- a/src/auto/configure +++ b/src/auto/configure @@ -4206,8 +4206,6 @@ if test "$GCC" = yes; then CFLAGS="$CFLAGS -fno-strength-reduce" fi fi - - CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang version" >&5 @@ -14434,10 +14432,6 @@ if test "$zOSUnix" = "yes"; then CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll" fi -if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then - CFLAGS="$CFLAGS -ansi" -fi - ac_config_files="$ac_config_files auto/config.mk:config.mk.in" cat >confcache <<\_ACEOF