[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Available ports and the Subversion/Ruby test suite

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-06-18 05:25:12 CEST

Hi,

In <20050617174957.GA6048@jaa.iki.fi>
  "Re: Available ports and the Subversion/Ruby test suite" on Fri, 17 Jun 2005 11:49:57 -0600,
  Jani Averbach <jaa@jaa.iki.fi> wrote:

> > (1) % ruby -rrbconfig -e 'puts Config::CONFIG["LDSHARED"]'
> x86_64-pc-linux-gnu-gcc -shared
>
> > (2) % ruby -rrbconfig -e 'puts Config::CONFIG["CC"]'
> x86_64-pc-linux-gnu-gcc

Thanks!

Attached patch helps you?

# You need to re-run configure script.

--
kou

Index: build/ac-macros/swig.m4
===================================================================
--- build/ac-macros/swig.m4 (revision 15079)
+++ build/ac-macros/swig.m4 (working copy)
@@ -216,7 +216,7 @@
       SWIG_RB_COMPILE="$svn_cv_ruby_compile"
 
       AC_CACHE_CHECK([how to link Ruby extensions], [svn_cv_ruby_link],[
- svn_cv_ruby_link="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(LDSHARED)).sub(/^\w+/, Config::CONFIG.fetch(%q(CC)) + %q( -shrext .) + Config::CONFIG.fetch(%q(DLEXT)))'`"
+ svn_cv_ruby_link="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(LDSHARED)).sub(/^\S+/, Config::CONFIG.fetch(%q(CC)) + %q( -shrext .) + Config::CONFIG.fetch(%q(DLEXT)))'`"
       ])
       SWIG_RB_LINK="$svn_cv_ruby_link"
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 18 05:26:02 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.