diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-16 00:03:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-16 00:03:31 +0000 |
commit | 6cd533926f8cfa75029b2a78f78fc54049e9c642 (patch) | |
tree | 5c86fe13784092d3af0f07a5869a640f8fedc124 | |
parent | 0450e78be5db05286a4f29eb2fd5661159188f98 (diff) | |
download | ruby-6cd533926f8cfa75029b2a78f78fc54049e9c642.tar.gz ruby-6cd533926f8cfa75029b2a78f78fc54049e9c642.tar.xz ruby-6cd533926f8cfa75029b2a78f78fc54049e9c642.zip |
* configure.in (ruby_version): now version.h includes
include/ruby/version.h, so need to tell to cpp to see
$(srcdir)/include. [ruby-core:23468]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | version.h | 4 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Sat May 16 09:03:29 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in (ruby_version): now version.h includes + include/ruby/version.h, so need to tell to cpp to see + $(srcdir)/include. [ruby-core:23468] + Fri May 15 17:35:33 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * array.c (rb_ary_shift, rb_ary_shift_m): clears unused elements. diff --git a/configure.in b/configure.in index b63c67717..3680a2d10 100644 --- a/configure.in +++ b/configure.in @@ -2317,7 +2317,7 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then echo '#include "version.h"' echo 'ruby_version=RUBY_LIB_VERSION' } > conftest.c - ruby_version="`$CPP -I"${srcdir}" conftest.c | sed '/^ruby_version=/!d;s/ //g'`" + ruby_version="`$CPP -I"${srcdir}" -I"${srcdir}/include" conftest.c | sed '/^ruby_version=/!d;s/ //g'`" eval $ruby_version else RUBY_LIB_VERSION="\"${ruby_version}\"" @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_RELEASE_DATE "2009-05-15" +#define RUBY_RELEASE_DATE "2009-05-16" #define RUBY_PATCHLEVEL -1 #define RUBY_BRANCH_NAME "trunk" @@ -8,7 +8,7 @@ #define RUBY_VERSION_TEENY 1 #define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 15 +#define RUBY_RELEASE_DAY 16 #include "ruby/version.h" |