diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-04 08:17:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-04 08:17:44 +0000 |
commit | cc7dedfb4de1f47b2a1713cb7068f9d6ffc33152 (patch) | |
tree | 0e19eee9f17853d1a34a1a1b5bfb166e6b5ee4a2 | |
parent | df2b8c05bac6414d5dae001310a09a2842910dcf (diff) |
configure.ac: separate -std=gnu99 condition
Also necessary on mingw, cygwin, darwin and netbsd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b7a6c33504..555f023b5c 100644 --- a/configure.ac +++ b/configure.ac @@ -615,9 +615,11 @@ AS_IF([test "$GCC" = yes], [ ], [cygwin*|darwin*|netbsd*], [ # need lgamma_r(), finite() - ], + ]) + + # ANSI (no XCFLAGS because this is C only) + AS_CASE(["$target_os"], [solaris*], [ - # ANSI (no XCFLAGS because this is C only) # Because "-std=gnu99" affects existance of functions on Solaris, # "-std=gnu99" will be appended to CPPFLAGS. for ansi_options in -std=gnu99; do |