mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (ruby_version): uses sed instead of grep if the
result is need, to get rid of GREP_OPTIONS. [ruby-dev:38336] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2b08fc1947
commit
fbcde451c5
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Apr 27 16:47:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (ruby_version): uses sed instead of grep if the
|
||||
result is need, to get rid of GREP_OPTIONS. [ruby-dev:38336]
|
||||
|
||||
Mon Apr 27 01:25:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/readline/readline.c (readline_getc): use rl_getc_function if
|
||||
|
|
|
@ -2305,7 +2305,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=' | tr -d ' '`"
|
||||
ruby_version="`$CPP -I"${srcdir}" conftest.c | sed '/^ruby_version=/!d;s/ //g'`"
|
||||
eval $ruby_version
|
||||
else
|
||||
RUBY_LIB_VERSION="\"${ruby_version}\""
|
||||
|
|
Loading…
Reference in a new issue