[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110872] m4_warn differs in various ways from its documentation
From: |
anonymous |
Subject: |
[sr #110872] m4_warn differs in various ways from its documentation |
Date: |
Sat, 22 Apr 2023 07:01:19 -0400 (EDT) |
URL:
<https://savannah.gnu.org/support/?110872>
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
<http://savannah.gnu.org/support/download.php?file_id=54649>
-------------------------------------------------------
Date: Sat 22 Apr 2023 11:01:15 AM UTC Name: autogen.sh Size: 154B By: None
Test case
<http://savannah.gnu.org/support/download.php?file_id=54650>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110872>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sr #110872] m4_warn differs in various ways from its documentation,
anonymous <=