summaryrefslogtreecommitdiffstats
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
commit48ef8b0db9cde61541762a83ea428ad6a40fd927 (patch)
tree06479c3a35ab4e0fee12a8f01ca39d62433fea19
parent533d878e52aef255d5977ccb69fcabb328ae75c7 (diff)
downloadruby-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
-rw-r--r--ChangeLog5
-rw-r--r--configure.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a458d03cd..084c8a37b 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 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