[sr #110872] m4_warn differs in various ways from its documentation

2023-04-22 Thread anonymous
URL:
  

 Summary: m4_warn differs in various ways from its
documentation
   Group: Autoconf
   Submitter: None
   Submitted: Sat 22 Apr 2023 11:01:15 AM UTC
Category: None
Priority: 5 - Normal
Severity: 2 - Minor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
Operating System: GNU/Linux


___

Follow-up Comments:


---
Date: Sat 22 Apr 2023 11:01:15 AM UTC By: Anonymous
OS: Linux user-ThinkPad-X200 5.15.0-70-generic #77+11.0trisquel19 SMP Tue Apr
18 13:57:27 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Automake version: autoreconf (GNU Autoconf) 2.71

Test procedure: run autogen.sh (attached), possibly with 'dnl' comments
removed.

Expected result: I would expect to be able to uncomment all of the m4_warn
lines, and receive four warnings and no fatal errors

Actual result:  I receive one warning.  If I uncomment either of the 'dnl 
m4_warn' lines, I receive an ugly fatal error in autom4te.

Context: I was looking for the category in which to report that the
PKG_CHECK_MODULES macro is not defined in the default configuration of my
platform.  [[ I have worked out that I need to install pkg-config, thank you.
]]

Partners in guilt:

This page:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Diagnostic-Macros.html#Diagnostic-Macros
- implicitly claims that using non-standard categories is possible
- claims that [] and [all] are categories
- does not refer me to the page below

This page:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/autom4te-Invocation.html#autom4te-Invocation
-  reports that not all categories are enabled, which would have been useful
to know
- contains a different list of categories from my autoreconf's man page

Desired result: if any warnings are on, then categories "", "all" and
nonstandard are on.  If I do not get the last, then nonstandard categories
produce a user's error message, rather than a programmer's error message.

Regards,
James the pedant.






___
File Attachments:


---
Date: Sat 22 Apr 2023 11:01:15 AM UTC  Name: configure.ac  Size: 458B   By:
None
Test case

---
Date: Sat 22 Apr 2023 11:01:15 AM UTC  Name: autogen.sh  Size: 154B   By: None
Test case


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110872] m4_warn differs in various ways from its documentation

2023-12-08 Thread Zack Weinberg
Update of sr#110872 (group autoconf):

Priority:   5 - Unprioritized => 7 - Release N (Desirable)


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110872] m4_warn differs in various ways from its documentation

2023-12-08 Thread Zack Weinberg
Update of sr#110872 (group autoconf):

  Status:None => Confirmed  


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110872] m4_warn differs in various ways from its documentation

2023-12-15 Thread Zack Weinberg
Update of sr#110872 (group autoconf):

  Status:   Confirmed => In Progress

___

Follow-up Comment #1:

Candidate patch:
. 
Needs a portability fix and feedback from Automake maintainers before landing.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110872] m4_warn differs in various ways from its documentation

2023-12-18 Thread Zack Weinberg
Update of sr#110872 (group autoconf):

  Status: In Progress => Done   
 Open/Closed:Open => Closed 

___

Follow-up Comment #2:

Revised, committed patch:
https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=725652b0d81c163315aeac70d1e6b114be7ad767


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/