summaryrefslogtreecommitdiff
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
commitbaf3f1cbacd9846610643e5a6872774d0430f24c (patch)
tree7203f12423025597777da26d934a8872fd5769af /mkconfig.rb
parent93f8a40494566bf1f01130becc343f03280c8712 (diff)
* mkconfig.rb: initialize global variables to avoid warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 9eea319..b697dfb 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)