]> git.ipfire.org Git - thirdparty/autoconf.git/commit
New utility function Autom4te::ChannelDefs::merge_WARNINGS.
authorZack Weinberg <zackw@panix.com>
Mon, 21 Sep 2020 18:40:45 +0000 (14:40 -0400)
committerZack Weinberg <zackw@panix.com>
Tue, 22 Sep 2020 19:46:42 +0000 (15:46 -0400)
commit53f18e7889ef1a64bb9273cc8a81e750d78a6333
treef9d1b98ea751eeb526565ba84d585c759694e174
parent1d4b7c049e6a8e918a0ca3361418cf7776f2e6fa
New utility function Autom4te::ChannelDefs::merge_WARNINGS.

This function merges a list of warnings categories into the environment
variable WARNINGS, returning a new value to set it to.  The intended use
is in code of the form

{
  local $ENV{WARNINGS} = merge_WARNINGS ("this", "that");

  # run a command here with WARNINGS=this,that,etc
}

This is not used yet, but will be in the next patch.

* lib/Autom4te/ChannelDefs.pm (merge_WARNINGS): New function.
lib/Autom4te/ChannelDefs.pm