Bug #989: [1.8.6] Crash during build on Mac OS 10.5.3/PPC when
configured with --enable-pthread
http://redmine.ruby-lang.org/issues/show/989
e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Shyouhei U.
#193 [ruby-core:17333] e$B$N7o$,0JA03NG’$7$?$H$-$Oe(B ruby_1_8_7
e$B$@$1$@$C$?5$$,$7$?$N$G$9$,!"e(B
ruby_1_8 e$B$He(B ruby_1_8_6 e$B$G$b5/$-$F$$$?$N$G!"e(Bruby_1_8
e$B$K$Oe(B ruby_1_8_7 e$B$HF1$8=$@5$rF~$l$^$7$?!#e(B
ruby_1_8_6 e$B$K$Oe(B
CPPFLAGS=“$CPPFLAGS -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE”
AC_TRY_CPP([#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1040
#error pre OS X 10.4
[!<===== pre OS X 10.4 =====>]
#endif
],
[
test “x$target_cpu” = xpowerpc &&
ac_cv_header_ucontext_h=no
],
[
AC_DEFINE(BROKEN_SETREUID, 1)
AC_DEFINE(BROKEN_SETREGID, 1)
])
e$B$NItJ,<+BN$,$J$+$C$?$N$G!"$^$@=$@5$G$-$F$$$^$;$s!#e(B