[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mhc:02187] Re: ruby-ext/extconf.rb failed with ruby-1.8.4



At Sun, 12 Feb 2006 22:30:55 +0900,
Yoichi NAKAYAMA wrote:
> ruby-1.8.4 で
> ruby configure.rb --disable-palm
> すると ruby-ext/make.rb でこけます。

以下のようにすると通りました。

Index: ruby-ext/extconf.rb.in
===================================================================
RCS file: /cvsroot/mhc/ruby-ext/extconf.rb.in,v
retrieving revision 1.6
diff -u -r1.6 extconf.rb.in
--- ruby-ext/extconf.rb.in	21 Nov 2002 00:04:16 -0000	1.6
+++ ruby-ext/extconf.rb.in	13 Feb 2006 22:18:38 -0000
@@ -1,7 +1,9 @@
 #!@@MHC_RUBY_PATH@@ -Ke
 # -*- ruby -*-
 
+if '@@MHC_DISABLE_PALM@@' == ''
 require 'mkmf'
+end
 
 ################################################################
 # crate make file.