* 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
@ -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>
|
Mon Apr 27 01:25:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/readline/readline.c (readline_getc): use rl_getc_function if
|
* 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 '#include "version.h"'
|
||||||
echo 'ruby_version=RUBY_LIB_VERSION'
|
echo 'ruby_version=RUBY_LIB_VERSION'
|
||||||
} > conftest.c
|
} > 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
|
eval $ruby_version
|
||||||
else
|
else
|
||||||
RUBY_LIB_VERSION="\"${ruby_version}\""
|
RUBY_LIB_VERSION="\"${ruby_version}\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user