aboutsummaryrefslogtreecommitdiffstats
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
parentff1b8b75930160a12e03216defa77efcc46b0fec (diff)
downloadruby-b15fd851c67e9aaa9bfd5b92073e120f9a76f412.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--configure.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a458d03cd5..084c8a37bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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