mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
trace.m4.
This commit is contained in:
parent
294a6233c8
commit
648bf798eb
@ -1,3 +1,9 @@
|
|||||||
|
2000-11-02 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
|
||||||
|
trace.m4.
|
||||||
|
|
||||||
|
|
||||||
2000-11-02 Akim Demaille <akim@epita.fr>
|
2000-11-02 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
|
* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
|
||||||
|
21
autoconf.in
21
autoconf.in
@ -635,14 +635,19 @@ EOF
|
|||||||
$run_m4_trace $infile 2>&1 >/dev/null |
|
$run_m4_trace $infile 2>&1 >/dev/null |
|
||||||
sed -f $tmp/trace2m4.sed |
|
sed -f $tmp/trace2m4.sed |
|
||||||
# Now we are ready to run m4 to process the trace file.
|
# Now we are ready to run m4 to process the trace file.
|
||||||
$M4 $tmp/trace.m4 - |
|
if $debug; then
|
||||||
# It makes no sense to try to transform __oline__.
|
cat >>$tmp/trace.m4
|
||||||
sed '
|
$M4 $tmp/trace.m4
|
||||||
s/@<:@/[/g
|
else
|
||||||
s/@:>@/]/g
|
$M4 $tmp/trace.m4 -
|
||||||
s/@S|@/$/g
|
fi |
|
||||||
s/@%:@/#/g
|
# It makes no sense to try to transform __oline__.
|
||||||
' >&4
|
sed '
|
||||||
|
s/@<:@/[/g
|
||||||
|
s/@:>@/]/g
|
||||||
|
s/@S|@/$/g
|
||||||
|
s/@%:@/#/g
|
||||||
|
' >&4
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
21
autoconf.sh
21
autoconf.sh
@ -635,14 +635,19 @@ EOF
|
|||||||
$run_m4_trace $infile 2>&1 >/dev/null |
|
$run_m4_trace $infile 2>&1 >/dev/null |
|
||||||
sed -f $tmp/trace2m4.sed |
|
sed -f $tmp/trace2m4.sed |
|
||||||
# Now we are ready to run m4 to process the trace file.
|
# Now we are ready to run m4 to process the trace file.
|
||||||
$M4 $tmp/trace.m4 - |
|
if $debug; then
|
||||||
# It makes no sense to try to transform __oline__.
|
cat >>$tmp/trace.m4
|
||||||
sed '
|
$M4 $tmp/trace.m4
|
||||||
s/@<:@/[/g
|
else
|
||||||
s/@:>@/]/g
|
$M4 $tmp/trace.m4 -
|
||||||
s/@S|@/$/g
|
fi |
|
||||||
s/@%:@/#/g
|
# It makes no sense to try to transform __oline__.
|
||||||
' >&4
|
sed '
|
||||||
|
s/@<:@/[/g
|
||||||
|
s/@:>@/]/g
|
||||||
|
s/@S|@/$/g
|
||||||
|
s/@%:@/#/g
|
||||||
|
' >&4
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
@ -635,14 +635,19 @@ EOF
|
|||||||
$run_m4_trace $infile 2>&1 >/dev/null |
|
$run_m4_trace $infile 2>&1 >/dev/null |
|
||||||
sed -f $tmp/trace2m4.sed |
|
sed -f $tmp/trace2m4.sed |
|
||||||
# Now we are ready to run m4 to process the trace file.
|
# Now we are ready to run m4 to process the trace file.
|
||||||
$M4 $tmp/trace.m4 - |
|
if $debug; then
|
||||||
# It makes no sense to try to transform __oline__.
|
cat >>$tmp/trace.m4
|
||||||
sed '
|
$M4 $tmp/trace.m4
|
||||||
s/@<:@/[/g
|
else
|
||||||
s/@:>@/]/g
|
$M4 $tmp/trace.m4 -
|
||||||
s/@S|@/$/g
|
fi |
|
||||||
s/@%:@/#/g
|
# It makes no sense to try to transform __oline__.
|
||||||
' >&4
|
sed '
|
||||||
|
s/@<:@/[/g
|
||||||
|
s/@:>@/]/g
|
||||||
|
s/@S|@/$/g
|
||||||
|
s/@%:@/#/g
|
||||||
|
' >&4
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user