mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* mkconfig.rb: autoconf 2.50 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0fb0d42369
commit
79f2ee2f04
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu May 24 16:08:21 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* mkconfig.rb: autoconf 2.50 support.
|
||||||
|
|
||||||
Thu May 24 14:23:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu May 24 14:23:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_yield_0): need argument adjustment for C defined
|
* eval.c (rb_yield_0): need argument adjustment for C defined
|
||||||
|
|
|
@ -48,7 +48,7 @@ File.foreach "config.status" do |line|
|
||||||
v_others << v
|
v_others << v
|
||||||
end
|
end
|
||||||
has_version = true if name == "MAJOR"
|
has_version = true if name == "MAJOR"
|
||||||
elsif /^ac_given_srcdir=(.*)/ =~ line
|
elsif /^(?:ac_given_)srcdir=(.*)/ =~ line
|
||||||
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path($1) + "\"\n"
|
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path($1) + "\"\n"
|
||||||
has_srcdir = true
|
has_srcdir = true
|
||||||
elsif /^ac_given_INSTALL=(.*)/ =~ line
|
elsif /^ac_given_INSTALL=(.*)/ =~ line
|
||||||
|
@ -58,7 +58,7 @@ File.foreach "config.status" do |line|
|
||||||
end
|
end
|
||||||
|
|
||||||
if not has_srcdir
|
if not has_srcdir
|
||||||
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path(srcdir) + "\"\n"
|
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path(srcdir || '.') + "\"\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
if not has_version
|
if not has_version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue