diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-22 19:09:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-22 19:09:08 +0000 |
commit | 8c1f64eaddfe9817f895cb4e99bfecd50f061b8d (patch) | |
tree | 4fed3890d0a2689b9f12aebe75bf78cbf5ac45db | |
parent | 65aa6b9a51021d30f106191f6747eccb20e9f579 (diff) | |
download | ruby-8c1f64eaddfe9817f895cb4e99bfecd50f061b8d.tar.gz |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 12 |
2 files changed, 16 insertions, 1 deletions
@@ -54,6 +54,11 @@ Fri Oct 20 20:28:37 2006 Akinori MUSHA <knu@iDaemons.org> * ext/digest/lib/digest/hmac.rb: Follow the framework updates. +Sun Oct 22 05:20:34 2006 URABE Shyouhei <shyouhei@ice.uec.ac.jp> + + * configure.in: alloca is broken; use C_ALLOCA instead. + [ruby-dev:29416] + Fri Oct 20 10:47:43 2006 NAKAMURA Usaku <usa@ruby-lang.org> * lib/mkmf.rb: fixed the bug of handling COMMON_MACROS. diff --git a/configure.in b/configure.in index a9b1874bfb..c1233c65c9 100644 --- a/configure.in +++ b/configure.in @@ -515,7 +515,17 @@ fi dnl Checks for library functions. AC_TYPE_GETGROUPS AC_TYPE_SIGNAL -AC_FUNC_ALLOCA +case "${target_cpu}-${target_os}" in +powerpc-darwin*) + AC_LIBSOURCES(alloca.c) + AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.${ac_objext}]) + AC_DEFINE(C_ALLOCA) + AC_DEFINE_UNQUOTED(alloca, alloca) + ;; +*) + AC_FUNC_ALLOCA + ;; +esac AC_FUNC_MEMCMP AC_REPLACE_FUNCS(dup2 memmove strcasecmp strncasecmp strerror strftime\ strchr strstr strtoul crypt flock\ |