This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
obsolete_rx.patch
- To: automake at gnu dot org
- Subject: obsolete_rx.patch
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Date: 20 Jan 2001 09:39:12 +0100
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- Organization: LRDE/EPITA http://www.lrde.epita.fr/
I encountered this:
% automake
aclocal.m4: 66: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL'
% grep -n AM_PROG_INSTALL aclocal.m4
66:AM_PROG_INSTALL_STRIP
162:AC_DEFUN([AM_PROG_INSTALL_STRIP],
2001-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (obsolete_rx): Match whole macro names, not substrings.
--- ../old/automake-1.4b/automake.in Sat Dec 23 22:20:48 2000
+++ automake.in Fri Jan 19 20:13:52 2001
@@ -302,7 +302,7 @@
);
# Regexp to match the above macros.
-$obsolete_rx = '(' . join ('|', keys %obsolete_macros) . ')';
+$obsolete_rx = '(\b' . join ('\b|\b', keys %obsolete_macros) . '\b)';
# This maps extensions onto language names.
%extension_map = ();
--
Alexandre Duret-Lutz