mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e29c109d2a
commit
6965964df6
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Nov 23 19:53:12 2015 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* configure.in: 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.
|
||||
|
||||
Mon Nov 23 12:54:39 2015 Hamish Morrison <hamishm53@gmail.com>
|
||||
|
||||
* configure.in: remove obsolete workarounds for Haiku.
|
||||
|
|
|
@ -1098,6 +1098,13 @@ main()
|
|||
[given_xopen_source=yes], [given_xopen_source=no])
|
||||
AC_MSG_RESULT($given_xopen_source)
|
||||
if test $given_xopen_source = no; then
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue