[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: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-01-06 05:32:57 CET

Hi,

In <20070104230017.GF5216@lorenz.farside.org.uk>
  "Re: svn commit: r22820 - trunk/build/ac-macros" on Thu, 4 Jan 2007 23:00:17 +0000,
  Malcolm Rowe <malcolm-svn-dev@farside.org.uk> 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).

OK. I followed your suggestion.

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 6 06:24:19 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.