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 | d809aee31d3b82af1a33557a644bb6df53427e69 (patch) | |
| tree | 4fed3890d0a2689b9f12aebe75bf78cbf5ac45db | |
| parent | 4fa2cd80d4d3bcae8041700d5bf6171329de59f2 (diff) | |
| download | ruby-d809aee31d3b82af1a33557a644bb6df53427e69.tar.gz ruby-d809aee31d3b82af1a33557a644bb6df53427e69.tar.xz ruby-d809aee31d3b82af1a33557a644bb6df53427e69.zip | |
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/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 a9b1874bf..c1233c65c 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\ |
