This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

obsolete_rx.patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]