diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-23 07:16:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-23 07:16:17 +0000 |
commit | 48ef8b0db9cde61541762a83ea428ad6a40fd927 (patch) | |
tree | 06479c3a35ab4e0fee12a8f01ca39d62433fea19 /configure.in | |
parent | 533d878e52aef255d5977ccb69fcabb328ae75c7 (diff) | |
download | ruby-48ef8b0db9cde61541762a83ea428ad6a40fd927.tar.gz ruby-48ef8b0db9cde61541762a83ea428ad6a40fd927.tar.xz ruby-48ef8b0db9cde61541762a83ea428ad6a40fd927.zip |
* configure.in (ruby_version): defaults revision to 0 when no
revision.h exists.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 565db9934..f4e9a60db 100644 --- a/configure.in +++ b/configure.in @@ -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 |