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

* 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
This commit is contained in:
nobu 2008-12-16 03:26:51 +00:00
parent bf451dbba4
commit ef1041167e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Dec 16 12:26:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <usa@ruby-lang.org>
* ruby.c (set_arg0): use strlcpy() instead of strncpy().

View file

@ -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)