[前][次][番号順一覧][スレッド一覧]

ruby-changes:11783

From: nobu <ko1@a...>
Date: Sat, 16 May 2009 09:03:48 +0900 (JST)
Subject: [ruby-changes:11783] Ruby:r23434 (trunk): * configure.in (ruby_version): now version.h includes

nobu	2009-05-16 09:03:31 +0900 (Sat, 16 May 2009)

  New Revision: 23434

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23434

  Log:
    * 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]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/version.h

Index: configure.in
===================================================================
--- configure.in	(revision 23433)
+++ configure.in	(revision 23434)
@@ -2317,7 +2317,7 @@
     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}\""
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23433)
+++ ChangeLog	(revision 23434)
@@ -1,3 +1,9 @@
+Sat May 16 09:03:29 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@r...>
 
 	* array.c (rb_ary_shift, rb_ary_shift_m): clears unused elements.
Index: version.h
===================================================================
--- version.h	(revision 23433)
+++ version.h	(revision 23434)
@@ -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"
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]