1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

2000-06-19

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-06-19 03:37:55 +00:00
parent cc05dcd5fe
commit c613f625b7
5 changed files with 35 additions and 8 deletions

View file

@ -20,7 +20,7 @@ module Config
# made to this file will be lost the next time ruby is built.
]
print " CONFIG = {}\n"
print " DESTDIR = '' if not defined? DESTDIR\n CONFIG = {}\n"
v_fast = []
v_others = []
has_version = false
@ -72,6 +72,14 @@ if not has_version
}
end
v_fast.collect! do |x|
if /"prefix"/ === x
x.sub(/= /, '= DESTDIR + ')
else
x
end
end
print v_fast, v_others
print <<EOS
CONFIG["compile_dir"] = "#{Dir.pwd}"