]> git.ipfire.org Git - thirdparty/autoconf.git/commit
sc_error_message_uppercase: allow fully uppercased words
authorZack Weinberg <zackw@panix.com>
Sat, 28 Nov 2020 17:22:09 +0000 (12:22 -0500)
committerZack Weinberg <zackw@panix.com>
Mon, 30 Nov 2020 16:45:25 +0000 (11:45 -0500)
commit0cfa111eba910a1467bc74b962a2356898284556
tree7787cfeb268d5f7965386447a6d74521a1da2a44
parent50e9bcc67d76f0e7e9fbe1bd08b3c73ae68a4e9b
sc_error_message_uppercase: allow fully uppercased words

If an error message starts with an entire fully uppercased word,
that’s probably a proper noun and it should stay that way.  For
instance, autoreconf has an error message that starts with
"AM_GNU_GETTEXT is used, but ..."; AM_GNU_GETTEXT is the name of an
Automake macro, it needs to stay uppercased.

This subsumes the existing exception for the words FATAL and WARNING.
While I was in there I generalized the exception for PRIuMAX to cover
all of the inttypes.h PRI* and SCN* macros.

This patch has been submitted to Gnulib; until it is merged there,
anyone running ‘make fetch’ should take care not to drop this change.

* maint.mk (sc_error_message_uppercase): Allow error messages that
  begin with any fully uppercased word, or with any of the inttypes.h
  PRI[dioux]\w+ or SCN[dioux]\w+ macros.
maint.mk