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

update previous change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-12-27 11:52:54 +00:00
parent ae2e26b23f
commit c1bf7315ae

View file

@ -506,8 +506,7 @@ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot fsync getcwd
getpriority getrlimit setrlimit\
dlopen sigprocmask sigaction _setjmp vsnprintf snprintf\
setsid telldir seekdir fchmod mktime timegm cosh sinh tanh\
setuid setgid daemon select_large_fdset \
_UNW_createContextForSelf)
setuid setgid daemon select_large_fdset)
AC_ARG_ENABLE(setreuid,
[ --enable-setreuid use setreuid()/setregid() according to need even if obsolete.],
[use_setreuid=$enableval])
@ -616,10 +615,14 @@ if test x"$target_cpu" = xia64; then
# use IA64 instead of __ia64__ because
# HP aC++ doesn't define it. (HP aC++ define __ia64.)
AC_DEFINE(IA64)
AC_CACHE_CHECK(for __libc_ia64_register_backing_store_base,
rb_cv___libc_ia64_register_backing_store_base,
[rb_cv___libc_ia64_register_backing_store_base=no
AC_TRY_LINK(
[extern unsigned long __libc_ia64_register_backing_store_base;],
[unsigned long p = __libc_ia64_register_backing_store_base;],
[rb_cv___libc_ia64_register_backing_store_base=yes; break])
[unsigned long p = __libc_ia64_register_backing_store_base;
printf("%ld\n", p);],
[rb_cv___libc_ia64_register_backing_store_base=yes])])
if test $rb_cv___libc_ia64_register_backing_store_base = yes; then
AC_DEFINE(HAVE___LIBC_IA64_REGISTER_BACKING_STORE_BASE)
fi