From 618a4351784bc7aedf50f05b706f87ce9d193209 Mon Sep 17 00:00:00 2001 From: ttate Date: Wed, 22 Oct 2003 15:04:35 +0000 Subject: --enable-dlstack is true in default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/extconf.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ext/dl/extconf.rb') diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb index dd9c3844e4..bd92313b7e 100644 --- a/ext/dl/extconf.rb +++ b/ext/dl/extconf.rb @@ -26,12 +26,8 @@ if (Config::CONFIG['CC'] =~ /gcc/) # from Win32API $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer" end -if (Config::CONFIG['CC'] =~ /gcc/) && (Config::CONFIG['arch'] =~ /i.86/) - $with_asm = true -else - $with_asm = false -end -$with_dlstack = ! $with_asm +$with_dlstack ||= true +$with_asm = ! $with_dlstack $with_type_int = try_cpp(<