From e9e603145f48f352b08541187a7c4d528f8a6399 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 14 Jun 2012 01:16:33 +0000 Subject: * configure.in: revert r36071 and add NetBSD to blacklist of -ansi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 618d6997e8..5fc8702e5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 14 10:16:07 2012 NARUSE, Yui + + * configure.in: revert r36071 and add NetBSD to blacklist of -ansi. + Thu Jun 14 07:59:12 2012 NARUSE, Yui * thread_pthread.c (get_stack): Linux is the only OS which includes diff --git a/configure.in b/configure.in index c594b2d51a..de2207360a 100644 --- a/configure.in +++ b/configure.in @@ -617,14 +617,14 @@ if test "$GCC" = yes; then # comments. We bypass ANSI C mode for them. Otherwise # extension libs cannot include those headers. ], - [cygwin*|darwin*], [ + [cygwin*|darwin*|netbsd*], [ # need lgamma_r(), finite() ], [ # ANSI (no XCFLAGS because this is C only) - RUBY_TRY_CFLAGS(-ansi -std=iso9899:199409 -fbuiltin, [ - RUBY_APPEND_OPTION(warnflags, -ansi -std=iso9899:199409 -fbuiltin) - RUBY_APPEND_OPTION(rb_cv_warnflags, -ansi -std=iso9899:199409 -fbuiltin) + RUBY_TRY_CFLAGS(-ansi -std=iso9899:199409, [ + RUBY_APPEND_OPTION(warnflags, -ansi -std=iso9899:199409) + RUBY_APPEND_OPTION(rb_cv_warnflags, -ansi -std=iso9899:199409) ]) ]) -- cgit v1.2.3