ruby-changes:51194
From: ngoto <ko1@a...>
Date: Sat, 12 May 2018 02:21:42 +0900 (JST)
Subject: [ruby-changes:51194] ngoto:r63401 (trunk): configure.ac: remove ineffective check on Solaris with GCC
ngoto 2018-05-12 02:21:37 +0900 (Sat, 12 May 2018) New Revision: 63401 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63401 Log: configure.ac: remove ineffective check on Solaris with GCC * configure.ac (solaris): Remove ineffective check for -std=iso9899:1999 on Solaris with GCC. The "-std=iso9899:1999" was replaced by "-std=gnu99" by the commit r54895. The check is no longer effective after that, and two years have passed without error reports. Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 63400) +++ configure.ac (revision 63401) @@ -829,13 +829,6 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.ac#L829 [given_xopen_source=yes], [given_xopen_source=no]) AC_MSG_RESULT($given_xopen_source) AS_IF([test $given_xopen_source = no], [ - # On Solaris, with gcc, -std=iso9899:1999 in $ansi_options - # is often also needed in CPPFLAGS, because some feature - # definitions vary depending on such standards options. - AS_CASE(["${ansi_options}"], - [*-std=iso9899:1999*], [ - RUBY_APPEND_OPTIONS(CPPFLAGS, ${ansi_options}) - ]) AC_MSG_CHECKING(appropriate _XOPEN_SOURCE value to define) define_xopen_source="" for tmp_xpg in 7 6 5; do -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/