automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

obsolete_rx.patch


From: Alexandre Duret-Lutz
Subject: obsolete_rx.patch
Date: 20 Jan 2001 09:39:12 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

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  <address@hidden>

        * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]