regex: deprecate the obsolete macro AM_WITH_REGEX
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 13 Nov 2010 11:21:28 +0000 (12:21 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 22 Dec 2011 20:36:58 +0000 (21:36 +0100)
commit5f335bed3e033246f23c61c130578c9c01ab74bb
treefef7e49ab20a276fcf341dcf8adeb63a996f7446
parentf75e3bf59e5c117a4159e523fcc9a837fe278618
regex: deprecate the obsolete macro AM_WITH_REGEX

This is a backport of commit v1.11-433-g37b0aee.

Today, practically nobody uses the GNU rx library, which, according
to its own website <http://www.gnu.org/software/rx/rx.html>, has
been "decommissioned".  Consequently, the automake-provided macro
AM_WITH_REGEX is not used nor required anymore.  Deprecate it, so
that it will be possible to safely remove it in the next major
automake version.

* m4/regex.m4 (AM_WITH_REGEX): Give a warning of the class
`obsolete' when this macro is used.
* doc/automake.texi (Public Macros): Move description of
`AM_WITH_REGEX' from here ...
(Obsolete Macros): ... to here, and declare it as obsolete
and "to be removed in a future version".
* tests/regex-obsolete.test: New test.
* tests/Makefile.am (TESTS): Add it.
* NEWS: Update.

See also:
<http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00131.html>
ChangeLog
NEWS
doc/automake.texi
m4/regex.m4
tests/Makefile.am
tests/regex-obsolete.test [new file with mode: 0755]