aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.in5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f6de95fff..c3f1c946d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
+
Fri Feb 1 11:44:22 2008 Tanaka Akira <akr@fsij.org>
* tool/compile_prelude.rb (C_ESC): use octal escape to avoid
diff --git a/configure.in b/configure.in
index a5881685ba..a8a2f41699 100644
--- a/configure.in
+++ b/configure.in
@@ -472,7 +472,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)