2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Fix testsuite program wrapper for whitespace in `pwd`.
+ 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.
+
Proper config.status --file/--header and $srcdir escaping.
* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
characters in $ac_file_inputs.
AS_INIT[]dnl -*- shell-script -*-
# wrapper.as -- running `@wrap_program@' 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
# 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