mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (ruby_version): defaults revision to 0 when no
revision.h exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff1b8b7593
commit
b15fd851c6
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 23 16:16:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (ruby_version): defaults revision to 0 when no
|
||||
revision.h exists.
|
||||
|
||||
Tue Jun 23 16:04:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* file.c (rb_find_file_ext, rb_find_file): no needs to expand
|
||||
|
|
|
@ -2335,6 +2335,7 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then
|
|||
{
|
||||
echo "#define RUBY_LIB_VERSION_STYLE $RUBY_LIB_VERSION_STYLE"
|
||||
echo '#define STRINGIZE(x) x'
|
||||
test -f revision.h -o -f "${srcdir}/revision.h" || echo '#define RUBY_REVISION 0'
|
||||
echo '#include "version.h"'
|
||||
echo 'ruby_version=RUBY_LIB_VERSION'
|
||||
} > conftest.c
|
||||
|
|
Loading…
Reference in a new issue