summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-23 07:16:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-23 07:16:17 +0000
commitb15fd851c67e9aaa9bfd5b92073e120f9a76f412 (patch)
tree06479c3a35ab4e0fee12a8f01ca39d62433fea19 /configure.in
parentff1b8b75930160a12e03216defa77efcc46b0fec (diff)
* 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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 565db9934e..f4e9a60db2 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