From b00bc5f2a83f55d1d480768b5c1fc7aa902531d4 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 4 Feb 2008 07:44:26 +0000 Subject: [PATCH] * configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L. [ruby-dev:33584] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d8181a1880..c8f843082b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 4 16:44:24 2008 Nobuyoshi Nakada + + * configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L. + [ruby-dev:33584] + Mon Feb 4 14:51:19 2008 Nobuyoshi Nakada * parse.y (rb_enc_symname2_p): support "!", "!=" and "!~". diff --git a/configure.in b/configure.in index 1c43fb767a..d490f87769 100644 --- a/configure.in +++ b/configure.in @@ -468,7 +468,7 @@ nextstep*) ;; openstep*) ;; rhapsody*) ;; darwin*) LIBS="-lobjc $LIBS" - CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE" + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE" AC_TRY_CPP([#include #if MAC_OS_X_VERSION_MAX_ALLOWED <= 1040 #error pre OS X 10.4