autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

78-fyi-heredocs-in-heredocs.patch


From: Akim Demaille
Subject: 78-fyi-heredocs-in-heredocs.patch
Date: Fri, 31 Aug 2001 15:31:53 +0200

I have not yet a perfect understanding of the failure, but this sure
is a fix.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
        serious problems handling heredocs in heredocs.
        Reported by Nicolas Joly.

Index: lib/autoconf/status.m4
--- lib/autoconf/status.m4 Fri, 24 Aug 2001 10:59:17 +0200 akim
+++ lib/autoconf/status.m4 Fri, 31 Aug 2001 14:34:04 +0200 akim
@@ -1227,10 +1227,10 @@ m4_define([_AC_OUTPUT_CONFIG_STATUS],
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  Logging --version etc. is OK.
 exec AS_MESSAGE_LOG_FD>>config.log
+echo >&AS_MESSAGE_LOG_FD
+AS_BOX([Running \$as_me.]) >&AS_MESSAGE_LOG_FD
 cat >&AS_MESSAGE_LOG_FD <<_CSEOF

-`AS_BOX([Running \$as_me.])`
-
 This file was extended by m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])dnl
 $as_me[]m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]), which was
 generated by GNU Autoconf m4_acversion.  Invocation command line was
@@ -1240,9 +1240,10 @@ m4_define([_AC_OUTPUT_CONFIG_STATUS],
   CONFIG_LINKS    = $CONFIG_LINKS
   CONFIG_COMMANDS = $CONFIG_COMMANDS
   $ address@hidden
-on `(hostname || uname -n) 2>/dev/null | sed 1q`

 _CSEOF
+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&AS_MESSAGE_LOG_FD
+echo >&AS_MESSAGE_LOG_FD
 _ACEOF

 # Files that config.status was made for.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]