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

* configure.in: strip spaces from ruby_version.

Sun C 5.9 SunOS_i386 Build47_dlight 2007/05/22 generates
  `ruby_version= 1 "." 9 "." 1'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-03-11 17:12:35 +00:00
parent fd0a91b5ab
commit de292258b9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Thu Mar 12 02:10:57 2009 Tanaka Akira <akr@fsij.org>
* configure.in: strip spaces from ruby_version.
Sun C 5.9 SunOS_i386 Build47_dlight 2007/05/22 generates
`ruby_version= 1 "." 9 "." 1'.
Thu Mar 12 01:18:09 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (dir_seek): use long for seekdir().

View file

@ -2246,7 +2246,7 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then
echo '#include "version.h"'
echo 'ruby_version=RUBY_LIB_VERSION'
} > conftest.c
ruby_version="`$CPP -I"${srcdir}" conftest.c | grep '^ruby_version='`"
ruby_version="`$CPP -I"${srcdir}" conftest.c | grep '^ruby_version=' | tr -d ' '`"
eval $ruby_version
else
RUBY_LIB_VERSION="\"${ruby_version}\""