diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-15 03:12:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-15 03:12:28 +0000 |
commit | c59abe419d77c6e9346467f47d9b2e60bd45d7fc (patch) | |
tree | 0b36c04ff119b1e5b16d77b7766ee46f55d0b083 /configure.in | |
parent | f9b71b888ca77739cbffd79709bef1289cccaf3f (diff) | |
download | ruby-c59abe419d77c6e9346467f47d9b2e60bd45d7fc.tar.gz |
* configure.in (RUBY_USE_BUILTIN_FRAME_ADDRESS): check after real
target CPU is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1dc3533b25..03a03050e5 100644 --- a/configure.in +++ b/configure.in @@ -231,6 +231,7 @@ EOF fi ]) +AC_DEFUN([RUBY_USE_BUILTIN_FRAME_ADDRESS], [ case $target_cpu in when(i?86) frame_address=yes;; when(*) frame_address=no;; @@ -241,6 +242,7 @@ AC_ARG_ENABLE(frame-address, if test $frame_address = yes; then AC_DEFINE(USE_BUILTIN_FRAME_ADDRESS) fi +]) AC_ARG_ENABLE(load-relative, AS_HELP_STRING([--enable-load-relative], [resolve load paths at run time]), @@ -288,6 +290,7 @@ AC_SUBST(COUTFLAG) RUBY_MINGW32 RUBY_UNIVERSAL_ARCH +RUBY_USE_BUILTIN_FRAME_ADDRESS AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(AR, ar) |