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

Re: svn commit: r22820 - trunk/build/ac-macros

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-01-05 00:00:17 CET

On Wed, Dec 27, 2006 at 11:08:46PM -0800, kou@tigris.org wrote:
> Clean up Ruby part configuration script.
>
> * build/ac-macros/swig.m4 (SVN_FIND_SWIG):
> - Use changequote() to use "[]" in Ruby script.
> - Store configurations of ruby to rbconfig_XXX and use them to clean up.
>

> Modified: trunk/build/ac-macros/swig.m4
> + rbconfig="$RUBY -rrbconfig -e "
> +
> + changequote(<<, >>)
> + for var_name in archdir CC CFLAGS LDSHARED DLEXT \
> + sitedir sitelibdir sitearchdir libdir
> + do
> + rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
> + eval "rbconfig_$var_name=\"$rbconfig_tmp\""
> + done
> + changequote([, ])
>

I know it probably doesn't matter in this case, but given that there's a
section in the autoconf manual specifically titled "changequote is
Evil", can we do without it here? (presumably just by using the @<:@ and
@:>@ quadrigraphs in place of [ and ], though I can't test it locally).

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Fri Jan 5 00:00:32 2007

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.