ruby-changes:24014
From: nobu <ko1@a...>
Date: Wed, 13 Jun 2012 22:18:14 +0900 (JST)
Subject: [ruby-changes:24014] nobu:r36065 (trunk): configure.in: option for darwin
nobu 2012-06-13 22:18:05 +0900 (Wed, 13 Jun 2012) New Revision: 36065 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36065 Log: configure.in: option for darwin * configure.in: remove -ansi and -std options for lgamma_r() and finite(). Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 36064) +++ configure.in (revision 36065) @@ -617,8 +617,8 @@ # comments. We bypass ANSI C mode for them. Otherwise # extension libs cannot include those headers. ], - [cygwin*], [ - # ditto + [cygwin*|darwin*], [ + # need lgamma_r(), finite() ], [ # ANSI (no XCFLAGS because this is C only) @@ -1116,7 +1116,7 @@ [openstep*], [ ], [rhapsody*], [ ], [darwin*], [ RUBY_PREPEND_OPTION(LIBS, -lobjc) - RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT) + RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT) AC_MSG_CHECKING(whether Mac OS X 10.5 or later) AC_TRY_CPP([#include <AvailabilityMacros.h> #if MAC_OS_X_VERSION_MAX_ALLOWED <= 1040 Index: ChangeLog =================================================================== --- ChangeLog (revision 36064) +++ ChangeLog (revision 36065) @@ -1,3 +1,8 @@ +Wed Jun 13 22:18:01 2012 Nobuyoshi Nakada <nobu@r...> + + * configure.in: remove -ansi and -std options for lgamma_r() and + finite(). + Wed Jun 13 21:46:34 2012 Nobuyoshi Nakada <nobu@r...> * configure.in: cygwin does not provide some declarations in strict -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/