From: Ralf Wildenhues Date: Sun, 21 Oct 2007 18:49:50 +0000 (+0200) Subject: Fix config status generation with Tru64 ksh. X-Git-Tag: v2.62~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b372d68ec3c2158caa96715c4730fa301a26d4;p=thirdparty%2Fautoconf.git Fix config status generation with Tru64 ksh. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix escaping of backslash in here-documents. --- diff --git a/ChangeLog b/ChangeLog index a264d39a..b3bb5cbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-10-21 Ralf Wildenhues + 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 diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 index e7de7152..350d370e 100644 --- a/lib/autoconf/status.m4 +++ b/lib/autoconf/status.m4 @@ -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