mainAutoconf - Support: sr #110872, m4_warn differs in various ways...


sr #110872: m4_warn differs in various ways from its documentation

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:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

Sat 22 Apr 2023 11:01:15 AM UTC, original submission:  

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 (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:
- 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:
-  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.

James the pedant.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #54649: added by None (458B - application/octet-stream - Test case)
file #54650: added by None (154B - application/x-shellscript - Test case)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2023-04-22 None Attached File- Added, #54649
    Attached File- Added, #54650

Back to the top

Powered by Savane 3.12