summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-21 00:35:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-21 00:35:09 +0000
commitecc80b3cb46e526bef64d9761b972e32e7152193 (patch)
treea249637e715be020667a552db6def84d285259d3 /lib/mkmf.rb
parentd9dfe2e514631be9ae243de8f3b6f52e35ac82e0 (diff)
mkmf.rb: untabify
* lib/mkmf.rb: untabify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb19
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index b499eeb954..07c6143af3 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -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