mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
* tests/torture.at (srcdir): Fix quoting.
This commit is contained in:
parent
3b27d0a8a8
commit
8fab8ab6d2
@ -1,5 +1,7 @@
|
||||
2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* tests/torture.at (srcdir): Fix quoting.
|
||||
|
||||
Do not pass top_srcdir to configure scripts in testsuite.
|
||||
* tests/autotest.at (srcdir propagation): Copy install-sh to
|
||||
source tree.
|
||||
|
@ -972,10 +972,13 @@ AT_DATA([configure.ac],
|
||||
|
||||
AC_CONFIG_FILES([foo at-dir/bar])
|
||||
|
||||
# Use quotes in the INIT-COMMANDS to accommodate a value of $srcdir
|
||||
# containing e.g., spaces or shell meta-characters.
|
||||
# Use *single* quotes because the context is an unquoted here-doc.
|
||||
AC_CONFIG_COMMANDS([report],
|
||||
[test -f $srcdir/configure.ac ||
|
||||
[test -f "$srcdir/configure.ac" ||
|
||||
AC_MSG_ERROR([cannot find $srcdir/configure.ac])],
|
||||
[srcdir=$srcdir])
|
||||
[srcdir='$srcdir'])
|
||||
|
||||
AC_OUTPUT
|
||||
rm -f -r foo at-dir/bar
|
||||
|
Loading…
Reference in New Issue
Block a user