autoconf-patches
[Top][All Lists]
Advanced

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

14-autoconf-tmpfile.patch


From: Akim Demaille
Subject: 14-autoconf-tmpfile.patch
Date: 31 Oct 2000 09:46:26 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
        trace.m4.
        
        
Index: autoconf.sh
--- autoconf.sh Tue, 31 Oct 2000 02:06:47 +0100 akim (ace/17_autoconf.s 
1.31.8.27 664)
+++ autoconf.sh Tue, 31 Oct 2000 03:53:43 +0100 akim (ace/17_autoconf.s 
1.31.8.27 664)
@@ -624,14 +624,19 @@
   $run_m4_trace $infile 2>&1 >/dev/null |
     sed -f $tmp/trace2m4.sed |
     # Now we are ready to run m4 to process the trace file.
-    $M4 $tmp/trace.m4 - |
-    # It makes no sense to try to transform __oline__.
-    sed '
-      s/@<:@/[/g
-      s/@:>@/]/g
-      s/@S|@/$/g
-      s/@%:@/#/g
-      ' >&4
+    if $debug; then
+      cat >>$tmp/trace.m4
+      $M4 $tmp/trace.m4
+    else
+      $M4 $tmp/trace.m4 -
+    fi |
+      # It makes no sense to try to transform __oline__.
+      sed '
+       s/@<:@/[/g
+       s/@:>@/]/g
+       s/@S|@/$/g
+       s/@%:@/#/g
+       ' >&4
   ;;
 
 



reply via email to

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