From ef1041167e2fce8a31df2a06d7da28d2ef88e5dc Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 16 Dec 2008 03:26:51 +0000 Subject: [PATCH] * configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Mac OS X 10.5 or later. merged from MacPorts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e45a6138bf..f4ce585997 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 16 12:26:49 2008 Nobuyoshi Nakada + + * configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Mac + OS X 10.5 or later. merged from MacPorts. + Tue Dec 16 11:37:07 2008 NAKAMURA Usaku * ruby.c (set_arg0): use strlcpy() instead of strncpy(). diff --git a/configure.in b/configure.in index 93ad2d217b..fd38bfd364 100644 --- a/configure.in +++ b/configure.in @@ -522,7 +522,7 @@ darwin*) LIBS="-lobjc $LIBS" #endif ], [ - test "x$target_cpu" = xpowerpc && ac_cv_header_ucontext_h=no + ac_cv_header_ucontext_h=no ], [ AC_DEFINE(BROKEN_SETREUID, 1)