Fix config status generation with Tru64 ksh.

* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
escaping of backslash in here-documents.
This commit is contained in:
Ralf Wildenhues 2007-10-21 20:49:50 +02:00
parent 8ccb244888
commit b4b372d68e
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix config status generation with Tru64 ksh.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
escaping of backslash in here-documents.
Fix `Deep Package' test failure on FreeBSD.
* tests/torture.at (Deep Package): Do not add `.' to $PATH
unnecessarily. Do not try running `/bin/sh configure' with a

View File

@ -387,7 +387,7 @@ m4_ifdef([_AC_SUBST_FILES],
[# Create commands to substitute file output variables.
{
echo "cat >>$CONFIG_STATUS <<_ACEOF"
echo 'cat >>"\$tmp/subs1.awk" <<\_ACAWK'
echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK'
echo "$ac_subst_files" | sed 's/.*/F@<:@"&"@:>@="$&"/'
echo "_ACAWK"
echo "_ACEOF"
@ -444,7 +444,7 @@ dnl - Writing `$ 0' prevents expansion by both the shell and m4 here.
dnl
dnl m4-double-quote most of the scripting for readability.
[cat >>$CONFIG_STATUS <<_ACEOF
cat >>"\$tmp/subs1.awk" <<\_ACAWK
cat >>"\$tmp/subs1.awk" <<\\_ACAWK
_ACEOF
sed -n '
h