summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index aeecd1441d..eac64c1d9d 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -1,6 +1,7 @@
#!./miniruby -s
require File.dirname($0)+"/lib/ftools"
+mkconfig = File.basename($0)
rbconfig_rb = ARGV[0] || 'rbconfig.rb'
srcdir = $srcdir || '.'
@@ -14,13 +15,13 @@ $stdout.reopen(config)
fast = {'prefix'=>TRUE, 'ruby_install_name'=>TRUE, 'INSTALL'=>TRUE, 'EXEEXT'=>TRUE}
print %[
+# This file was created by #{mkconfig} when ruby was built. Any
+# changes made to this file will be lost the next time ruby is built.
+
module Config
RUBY_VERSION == "#{version}" or
raise "ruby lib version (#{version}) doesn't match executable version (\#{RUBY_VERSION})"
-
-# This file was created by configrb when ruby was built. Any changes
-# made to this file will be lost the next time ruby is built.
]
v_fast = []