diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-01 12:42:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-01 12:42:40 +0000 |
commit | 309308e0243678cdbb15997904f99ada070b2158 (patch) | |
tree | 52ef0f70c40095c16cede2a326ec31a5fdcc9741 | |
parent | 51807235ef6d938c75bd6e242a47e4bf5ba30e2a (diff) |
* configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,9 +1,11 @@ -Fri Feb 1 12:43:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> +Fri Feb 1 21:42:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t consistent with the library implementation of MacOS X 10.5. [ruby-dev:33461] + * configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken. + Thu Jan 31 08:31:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that can diff --git a/configure.in b/configure.in index 9a085e35b0..6744b0ace2 100644 --- a/configure.in +++ b/configure.in @@ -377,7 +377,10 @@ darwin*) LIBS="-lobjc $LIBS" #error pre OS X 10.4 [!<===== pre OS X 10.4 =====>] #endif - ], [], + ], + [ + test "x$target_cpu" = xppc && ac_cv_header_ucontext_h=no + ], [ AC_DEFINE(BROKEN_SETREUID, 1) AC_DEFINE(BROKEN_SETREGID, 1) |