summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog4
-rw-r--r--mkconfig.rb5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e2f71d11..1b027edd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,9 @@
Sun Jul 27 21:16:30 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/openssl/extconf.rb: better support MinGW. add
- dir_config("kerberos") and with_config("pkg-config").
+ dir_config("kerberos") and with_config("pkg-config").
+
+ * mkconfig.rb: initialize global variables to avoid warnings.
Sun Jul 27 14:43:37 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
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)