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