[Top][All Lists]

[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)


                 Summary: m4_warn differs in various ways from its
                   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

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.

File Attachments:

Date: Sat 22 Apr 2023 11:01:15 AM UTC  Name: configure.ac  Size: 458B   By:
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]