Project

General

Profile

« Previous | Next » 

Revision 88cb22e9

Added by ngoto (Naohisa Goto) over 7 years ago

configure.ac: move checks of -std=gnu99 and _XOPEN_SOURCE on Solaris

  • configure.ac (ansi_options): On Solaris, "-std=gnu99" should be
    appended to CPPFLAGS instead of warnflags and strict_warnflags,
    because the flag affects existance of functions and macros.

  • configure.ac (solaris*): Check _XOPEN_SOURCE just after checking
    "-std=gnu99" on Solaris. Because _XOPEN_SOURCE also affects existance
    of many functions and macros, it is good to define it earlier.
    The check is simplified to use AC_TRY_COMPILE with RUBY_WERROR_FLAG.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e