summaryrefslogtreecommitdiffstats
path: root/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-22 14:52:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-22 14:52:59 +0000
commit90d83c309e9b4bacb929672c7b3d84e1837b5966 (patch)
treedf2ac1f4ed4ba5cd77a5320c1a2858d689856173 /mkconfig.rb
parent4d8ed9d9e9a0ff1d808ecc5d8935689248b5a08e (diff)
downloadruby-90d83c309e9b4bacb929672c7b3d84e1837b5966.tar.gz
ruby-90d83c309e9b4bacb929672c7b3d84e1837b5966.tar.xz
ruby-90d83c309e9b4bacb929672c7b3d84e1837b5966.zip
* configure.in, lib/mkmf.rb: use simple commands if available.
* mkconfig.rb: remove autoconf internal variables from rbconfig.rb. * lib/mkmf.rb (create_makefile): substitute implicit rules in depend file. * {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST): include $(topdir) and $(hdrdir) to search path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index e743aa803..246e2c6ab 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -44,7 +44,7 @@ File.foreach "config.status" do |line|
elsif /^s[%,]@(\w+)@[%,](.*)[%,]/ =~ line
name = $1
val = $2 || ""
- next if /^(INSTALL|DEFS|configure_input|srcdir|top_srcdir)$/ =~ name
+ next if /^(?:ac_.*|DEFS|configure_input|.*(?:src|build)dir)$/ =~ name
next if $install_name and /^RUBY_INSTALL_NAME$/ =~ name
next if $so_name and /^RUBY_SO_NAME$/ =~ name
v = " CONFIG[\"" + name + "\"] = " +