The problem here is that the usual mantra is that command variables can contain arguments, thus we cannot just escape $AUTOCONF, $AUTOM4TE etc. The compromise is to put the $top_builddir/tests directory early in $PATH, so that the wrappers are found by their plain name.
* tests/wrapper.as: Put $testdir early in $PATH. (AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names. --- tests/wrapper.as | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/wrapper.as b/tests/wrapper.as index 148dac9..3f313f7 100644 --- a/tests/wrapper.as +++ b/tests/wrapper.as @@ -1,7 +1,7 @@ AS_INIT[]dnl -*- shell-script -*- # wrapper.as -- running [EMAIL PROTECTED]@' as if it were installed. # @configure_input@ -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,9 +19,10 @@ AS_INIT[]dnl -*- shell-script -*- # along with this program. If not, see <http://www.gnu.org/licenses/>. testdir='@abs_top_builddir@/tests' -AUTOCONF=$testdir/autoconf -AUTOHEADER=$testdir/autoheader -AUTOM4TE=$testdir/autom4te +PATH=$testdir$PATH_SEPARATOR$PATH +AUTOCONF=autoconf +AUTOHEADER=autoheader +AUTOM4TE=autom4te AUTOM4TE_CFG='@abs_top_builddir@/lib/autom4te.cfg' autom4te_perllibdir='@abs_top_srcdir@/lib' export AUTOCONF AUTOHEADER AUTOM4TE AUTOM4TE_CFG autom4te_perllibdir -- 1.5.3.6.950.g92b7b
