mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb: exclude topdir from the system configuration
section and prevent it from being overridden. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e0830c198
commit
323af7e264
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun May 5 06:53:45 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* lib/mkmf.rb: exclude topdir from the system configuration
|
||||
section and prevent it from being overridden.
|
||||
|
||||
Fri May 3 20:19:00 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* configure.in: add #include <errno.h> in AC_CHECK_DECLS().
|
||||
|
|
|
@ -499,12 +499,12 @@ EOMF
|
|||
if destdir = CONFIG["prefix"].scan(drive)[0] and !destdir.empty?
|
||||
mfile.print "\nDESTDIR = ", destdir, "\n"
|
||||
end
|
||||
CONFIG.select do |key, var|
|
||||
next if /prefix$/ !~ key
|
||||
CONFIG.each do |key, var|
|
||||
next unless /prefix$/ =~ key
|
||||
mfile.print key, " = ", with_destdir(var.sub(drive, '')), "\n"
|
||||
end
|
||||
CONFIG.select do |key, var|
|
||||
next if key == "srcdir" or /dir$/ !~ key
|
||||
CONFIG.each do |key, var|
|
||||
next unless /^(?:src|top|(.*))dir$/ =~ key and $1
|
||||
mfile.print key, " = ", with_destdir(var.sub(drive, '')), "\n"
|
||||
end
|
||||
mfile.print <<EOMF
|
||||
|
|
Loading…
Reference in a new issue