* lib/mkmf.rb: untabify.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-09-21 00:35:09 +00:00
Родитель d9dfe2e514
Коммит ecc80b3cb4
1 изменённых файлов: 9 добавлений и 10 удалений

Просмотреть файл

@ -1,4 +1,3 @@
# -*- indent-tabs-mode: t -*-
# module to create Makefile for extension modules
# invoke like: ruby -r mkmf extconf.rb
@ -639,13 +638,13 @@ int conftest_const = (int)(#{const});
int main() {printf("%d\\n", conftest_const); return 0;}
}
begin
if try_link0(src, opt, &b)
xpopen("./conftest") do |f|
return Integer(f.gets)
end
end
if try_link0(src, opt, &b)
xpopen("./conftest") do |f|
return Integer(f.gets)
end
end
ensure
MakeMakefile.rm_f "conftest*"
MakeMakefile.rm_f "conftest*"
end
end
nil
@ -1025,9 +1024,9 @@ SRC
opt = " -framework #{fw}"
if try_link(src, "-ObjC#{opt}", &b)
$defs.push(format("-DHAVE_FRAMEWORK_%s", fw.tr_cpp))
# TODO: non-worse way than this hack, to get rid of separating
# option and its argument.
$LDFLAGS << " -ObjC" unless /(\A|\s)-ObjC(\s|\z)/ =~ $LDFLAGS
# TODO: non-worse way than this hack, to get rid of separating
# option and its argument.
$LDFLAGS << " -ObjC" unless /(\A|\s)-ObjC(\s|\z)/ =~ $LDFLAGS
$LDFLAGS << opt
true
else