diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-27 11:52:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-27 11:52:54 +0000 |
commit | c1bf7315ae9e6bf2708ec0a7a9a9abdd8f5fc238 (patch) | |
tree | 98baf5b1e12eecd6e1f3cafdc46a9c01c8cdd239 /configure.in | |
parent | ae2e26b23f024b6e6acf6f6a71764873a60e47db (diff) | |
download | ruby-c1bf7315ae9e6bf2708ec0a7a9a9abdd8f5fc238.tar.gz |
update previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 8474411e75..06176661d3 100644 --- a/configure.in +++ b/configure.in @@ -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 |