[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf ./ChangeLog ./NEWS ./configure bin/aut...
From: |
Akim Demaille |
Subject: |
autoconf ./ChangeLog ./NEWS ./configure bin/aut... |
Date: |
Thu, 21 Aug 2003 13:25:31 -0400 |
CVSROOT: /cvsroot/autoconf
Module name: autoconf
Branch:
Changes by: Akim Demaille <address@hidden> 03/08/21 13:25:31
Modified files:
. : ChangeLog NEWS configure
bin : autom4te.in
lib/autoconf : general.m4
lib/m4sugar : m4sugar.m4
man : autom4te.1
tests : m4sugar.at
Log message:
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&address@hidden): Use existing warning
categories.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/ChangeLog.diff?tr1=1.2217&tr2=1.2218&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/NEWS.diff?tr1=1.302&tr2=1.303&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/configure.diff?tr1=1.242&tr2=1.243&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/bin/autom4te.in.diff?tr1=1.85&tr2=1.86&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/lib/autoconf/general.m4.diff?tr1=1.816&tr2=1.817&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/lib/m4sugar/m4sugar.m4.diff?tr1=2.73&tr2=2.74&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/man/autom4te.1.diff?tr1=1.57&tr2=1.58&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/tests/m4sugar.at.diff?tr1=1.22&tr2=1.23&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- autoconf ./ChangeLog ./NEWS ./configure bin/aut...,
Akim Demaille <=