comparison src/configure.ac @ 13676:6b49b6ea9e43 v8.0.1710

patch 8.0.1710: building with Ruby fails commit https://github.com/vim/vim/commit/2a43230ce39eea340aab15fb50a083bc527fb8d0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 14 16:12:30 2018 +0200 patch 8.0.1710: building with Ruby fails Problem: Building with Ruby fails. Solution: Don't add -ansi when building with Ruby.
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Apr 2018 16:15:06 +0200
parents 1feeefd8cddb
children 4034ddb84f01
comparison
equal deleted inserted replaced
13675:c0d899844b06 13676:6b49b6ea9e43
4401 # IBM z/OS reset CFLAGS for config.mk 4401 # IBM z/OS reset CFLAGS for config.mk
4402 if test "$zOSUnix" = "yes"; then 4402 if test "$zOSUnix" = "yes"; then
4403 CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll" 4403 CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll"
4404 fi 4404 fi
4405 4405
4406 dnl Declare what standards the code should comply with. But not when using 4406 dnl Declare what standards the code should comply with.
4407 dnl GTK, the header files cause all kinds of warnings. 4407 dnl But not when using GTK, the header files cause all kinds of warnings.
4408 if test "$GCC" = yes -a "$GUITYPE" != "GTK"; then 4408 dnl But not when using Ruby, it needs "inline".
4409 if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then
4409 CFLAGS="$CFLAGS -ansi" 4410 CFLAGS="$CFLAGS -ansi"
4410 fi 4411 fi
4411 4412
4412 dnl write output files 4413 dnl write output files
4413 AC_OUTPUT(auto/config.mk:config.mk.in) 4414 AC_OUTPUT(auto/config.mk:config.mk.in)