diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-22 11:59:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-22 11:59:03 +0000 |
commit | 1b1041f84780c387443578d31506c58aac46fc77 (patch) | |
tree | 7648f73d8d5ddcf0879f5e59c27d91dd32bd3ffc /configure.in | |
parent | 6e7f56fdc76e0c1b9e19fba776f3cf72c1005e5a (diff) | |
download | ruby-1b1041f84780c387443578d31506c58aac46fc77.tar.gz |
* configure.in (RUBY_EXTERN): unnecessary after all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configure.in b/configure.in index 7c43cab170..bf7fdb6929 100644 --- a/configure.in +++ b/configure.in @@ -269,7 +269,6 @@ if test "$GCC" = yes; then linker_flag=-Wl, : ${optflags=-O3} AS_CASE(["$target_os"], [linux*|darwin*], [: ${debugflags=-ggdb}]) - RUBY_APPEND_OPTIONS(XCFLAGS, ["-include ruby/config.h" "-include ruby/missing.h"]) else linker_flag= fi @@ -748,18 +747,6 @@ if test "$GCC" = yes; then fi fi -AC_CACHE_CHECK([for RUBY_EXTERN], rb_cv_ruby_extern, -[rb_cv_ruby_extern=no -RUBY_WERROR_FLAG([ -for mac in "__attribute__((dllimport))" "__declspec(dllimport)"; do - AC_TRY_COMPILE( - [extern $mac void conftest(void);], - [conftest();], - [rb_cv_ruby_extern="extern $mac"; break]) -done]) -]) -test "x$rb_cv_ruby_extern" = xno || AC_DEFINE_UNQUOTED(RUBY_EXTERN, $rb_cv_ruby_extern) - RUBY_APPEND_OPTION(XCFLAGS, -DRUBY_EXPORT) dnl } |