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

* mkconfig.rb: autoconf 2.49 support.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-01-22 07:37:14 +00:00
parent 6aa451b9dd
commit 9d0bba43bb
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Mon Jan 22 16:33:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* mkconfig.rb: autoconf 2.49 support.
Sat Jan 20 03:54:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> Sat Jan 20 03:54:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): fixed serious syntax misbehavior. do's * parse.y (yylex): fixed serious syntax misbehavior. do's

View file

@ -28,11 +28,11 @@ has_srcdir = false
has_version = false has_version = false
File.foreach "config.status" do |line| File.foreach "config.status" do |line|
next if /^#/ =~ line next if /^#/ =~ line
if /^s%@program_transform_name@%s,(.*)%g$/ =~ line if /^s[%,]@program_transform_name@[%,]s,(.*)[%,]/ =~ line
next if $install_name next if $install_name
ptn = $1.sub(/\$\$/, '$').split(/,/) #' ptn = $1.sub(/\$\$/, '$').split(/,/) #'
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n" v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
elsif /^s%@(\w+)@%(.*)%g/ =~ line elsif /^s[%,]@(\w+)@[%,](.*)[%,]/ =~ line
name = $1 name = $1
val = $2 || "" val = $2 || ""
next if /^(INSTALL|DEFS|configure_input|srcdir|top_srcdir)$/ =~ name next if /^(INSTALL|DEFS|configure_input|srcdir|top_srcdir)$/ =~ name

View file

@ -1,4 +1,4 @@
#define RUBY_VERSION "1.7.0" #define RUBY_VERSION "1.7.0"
#define RUBY_RELEASE_DATE "2001-01-18" #define RUBY_RELEASE_DATE "2001-01-22"
#define RUBY_VERSION_CODE 170 #define RUBY_VERSION_CODE 170
#define RUBY_RELEASE_CODE 20010118 #define RUBY_RELEASE_CODE 20010122