Am I using m4_patsubst and m4_regexp?

Hi there,
I have switched to the latest autoconf snapshot (2.52e, cvs-updated today) and have tried hard to follow all the instructions for the upgrade. I believe I am no longer using any deprecated feature, but I get
$ autoreconf configure.ac:21: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.ac:312: warning: do not use m4_regexp: use regexp or m4_bregexp autoheader: `config.h.in' is unchanged
Line 21 in configure.ac reads
AM_CONFIG_HEADER(config.h)
while line 312 is the last one in the following invocation of AC_OUTPUT:
AC_OUTPUT(Makefile src/Makefile src/BitSet/Makefile src/Integer/Makefile tests/Makefile m4/Makefile doc/Makefile doc/user-browse.doxyconf-latex doc/devref-browse.doxyconf-latex doc/user-print.doxyconf-latex doc/devref-print.doxyconf-latex doc/user.doxyconf-html doc/devref.doxyconf-html ppl.lsm ppl.spec)
What am I missing? Thanks a lot,
Roberto

On Sat, Oct 13, 2001 at 06:55:19PM +0200, Roberto Bagnara wrote:
Hi there,
I have switched to the latest autoconf snapshot (2.52e, cvs-updated today) and have tried hard to follow all the instructions for the upgrade. I believe I am no longer using any deprecated feature, but I get
$ autoreconf configure.ac:21: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.ac:312: warning: do not use m4_regexp: use regexp or m4_bregexp autoheader: `config.h.in' is unchanged
You don't use it directly, it is Automake which does. It's only a warning, disregard it. If it is too troublesome, maybe I will turn it off. What Automake are you running?
The bad guys are in header.m4.

I forgot to say that of course next versions of Automake won't have this problem. Together with the spurious failures of cond5, maybe this deserves a 1.5.1?

akim@lrde.epita.fr wrote:
On Sat, Oct 13, 2001 at 06:55:19PM +0200, Roberto Bagnara wrote:
Hi there,
I have switched to the latest autoconf snapshot (2.52e, cvs-updated today) and have tried hard to follow all the instructions for the upgrade. I believe I am no longer using any deprecated feature, but I get
$ autoreconf configure.ac:21: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.ac:312: warning: do not use m4_regexp: use regexp or m4_bregexp autoheader: `config.h.in' is unchanged
You don't use it directly, it is Automake which does. It's only a warning, disregard it. If it is too troublesome, maybe I will turn it off. What Automake are you running?
The bad guys are in header.m4.
akim@lrde.epita.fr wrote:
I forgot to say that of course next versions of Automake won't have this problem. Together with the spurious failures of cond5, maybe this deserves a 1.5.1?
Hi Akim,
thank you very much for the information. I don't know if silencing the spurious warnings we are observing deserves a 1.5.1, but I can tell that these warnings tend to confuse people. Keep up the great work. All the best,
Roberto
participants (2)
-
akim@lrde.epita.fr
-
Roberto Bagnara