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

ruby-changes:16990

From: nobu <ko1@a...>
Date: Sat, 14 Aug 2010 19:13:43 +0900 (JST)
Subject: [ruby-changes:16990] Ruby:r28987 (trunk): * ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add

nobu	2010-08-14 19:12:13 +0900 (Sat, 14 Aug 2010)

  New Revision: 28987

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

  Log:
    * ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
      topdir and top_srcdir.  [ruby-dev:42031]

  Modified files:
    trunk/ChangeLog
    trunk/ext/coverage/coverage.c
    trunk/ext/coverage/extconf.rb
    trunk/ext/objspace/extconf.rb
    trunk/ext/objspace/objspace.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28986)
+++ ChangeLog	(revision 28987)
@@ -1,3 +1,8 @@
+Sat Aug 14 19:12:10 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
+	  topdir and top_srcdir.  [ruby-dev:42031]
+
 Sat Aug 14 17:48:41 2010  Narihiro Nakamura  <authorNari@g...>
 
 	* test/objspace/test_objspace.rb: added test for objspace.
Index: ext/objspace/objspace.c
===================================================================
--- ext/objspace/objspace.c	(revision 28986)
+++ ext/objspace/objspace.c	(revision 28987)
@@ -27,9 +27,9 @@
 #include <ruby/st.h>
 #include <ruby/io.h>
 #include <ruby/re.h>
-#include <../../node.h>
-#include <../../gc.h>
-#include <../../regint.h>
+#include "node.h"
+#include "gc.h"
+#include "regint.h"
 
 size_t rb_str_memsize(VALUE);
 size_t rb_ary_memsize(VALUE);
Index: ext/objspace/extconf.rb
===================================================================
--- ext/objspace/extconf.rb	(revision 28986)
+++ ext/objspace/extconf.rb	(revision 28987)
@@ -1,2 +1,2 @@
-
+$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
 create_makefile('objspace')
Index: ext/coverage/extconf.rb
===================================================================
--- ext/coverage/extconf.rb	(revision 28986)
+++ ext/coverage/extconf.rb	(revision 28987)
@@ -1,2 +1,3 @@
 require 'mkmf'
+$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
 create_makefile('coverage')
Index: ext/coverage/coverage.c
===================================================================
--- ext/coverage/coverage.c	(revision 28986)
+++ ext/coverage/coverage.c	(revision 28987)
@@ -9,7 +9,7 @@
 ************************************************/
 
 #include "ruby.h"
-#include "../../vm_core.h"
+#include "vm_core.h"
 
 /*
  * call-seq:

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

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