1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-02-01 12:42:40 +00:00
parent 3fb0815d8c
commit cb355eebf0
2 changed files with 7 additions and 2 deletions

View file

@ -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 * configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t
consistent with the library implementation of MacOS X 10.5. consistent with the library implementation of MacOS X 10.5.
[ruby-dev:33461] [ruby-dev:33461]
* configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.
Fri Feb 1 11:44:22 2008 Tanaka Akira <akr@fsij.org> Fri Feb 1 11:44:22 2008 Tanaka Akira <akr@fsij.org>
* tool/compile_prelude.rb (C_ESC): use octal escape to avoid * tool/compile_prelude.rb (C_ESC): use octal escape to avoid

View file

@ -472,7 +472,10 @@ darwin*) LIBS="-lobjc $LIBS"
#error pre OS X 10.4 #error pre OS X 10.4
[!<===== pre OS X 10.4 =====>] [!<===== pre OS X 10.4 =====>]
#endif #endif
], [], ],
[
test "x$target_cpu" = xppc && ac_cv_header_ucontext_h=no
],
[ [
AC_DEFINE(BROKEN_SETREUID, 1) AC_DEFINE(BROKEN_SETREUID, 1)
AC_DEFINE(BROKEN_SETREGID, 1) AC_DEFINE(BROKEN_SETREGID, 1)