summaryrefslogtreecommitdiffstats
path: root/mkconfig.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-27 12:55:35 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-27 12:55:35 +0000
commit4e44bd01a94ea94409a198bd8720264ac6c8195a (patch)
tree7203f12423025597777da26d934a8872fd5769af /mkconfig.rb
parent5da1cac6f95645a8f7634a1623679b8bb080a2ab (diff)
downloadruby-4e44bd01a94ea94409a198bd8720264ac6c8195a.tar.gz
ruby-4e44bd01a94ea94409a198bd8720264ac6c8195a.tar.xz
ruby-4e44bd01a94ea94409a198bd8720264ac6c8195a.zip
* mkconfig.rb: initialize global variables to avoid warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index 9eea3198a..b697dfb9d 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -1,5 +1,10 @@
#!./miniruby -s
+# avoid warnings with -d.
+$srcdir ||= nil
+$install_name ||= nil
+$so_name ||= nil
+
require File.dirname($0)+"/lib/ftools"
mkconfig = File.basename($0)