]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix config status generation with Tru64 ksh.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 21 Oct 2007 18:49:50 +0000 (20:49 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 21 Oct 2007 18:49:50 +0000 (20:49 +0200)
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
escaping of backslash in here-documents.

ChangeLog
lib/autoconf/status.m4

index a264d39a4ecaf7811ed12f93a37848dd93c54373..b3bb5cbffdbb9b25a7532513113f669bac22724c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index e7de715249a5ab9a43e90be6e619546ae6c50c74..350d370e97efef575c73c6ecaf3a044dfd623904 100644 (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