* lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New

transition code.
This commit is contained in:
Akim Demaille 2001-10-10 12:57:35 +00:00
parent 6dfba95517
commit ba8eb8795e
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-10-09 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
transition code.
2001-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf): Remove debugging code.

View File

@ -104,3 +104,14 @@ m4_copy_unm4([m4_traceon])
m4_copy_unm4([m4_translit])
m4_copy_unm4([m4_undefine])
m4_copy_unm4([m4_undivert])
# Yet some people have started to use m4_patsubst and m4_regexp.
m4_define([m4_patsubst],
[m4_expand_once([m4_warn([syntax],
[do not use m4_patsubst: use patsubst or m4_bpatsubst])])dnl
patsubst($@)])
m4_define([m4_regexp],
[m4_expand_once([m4_warn([syntax],
[do not use m4_regexp: use regexp or m4_bregexp])])dnl
regexp($@)])