[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: HEAD: lt~obsolete.m4?
From: |
Ralf Wildenhues |
Subject: |
FYI: HEAD: lt~obsolete.m4? |
Date: |
Mon, 14 Nov 2005 21:48:27 +0100 |
User-agent: |
Mutt/1.5.9i |
* Ralf Wildenhues wrote on Sat, Nov 12, 2005 at 08:41:36AM CET:
>
> I messed with branch-1-5 by introducing new AC_DEFUNs
> and not naming them differently than the ones I m4_defun'ed in HEAD.
> Gaaah! This needs to be prominently mentioned in HACKING.
Applied the patch below to HEAD.
> >What I don't know yet: should lt~obsolete.m4 also be installed in
> >$aclocaldir? Can this do any harm perchance?
I still need to think about this one (and test).
Cheers,
Ralf
* libltdl/m4/lt~obsolete.m4 (_LT_CC_BASENAME)
(_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
Added because they were added to branch-1-5 AC_DEFUNed.
* HACKING: Add note about lt~obsolete.m4.
Index: HACKING
===================================================================
RCS file: /cvsroot/libtool/libtool/HACKING,v
retrieving revision 1.22
diff -u -r1.22 HACKING
--- HACKING 27 Oct 2005 13:34:07 -0000 1.22
+++ HACKING 14 Nov 2005 20:47:08 -0000
@@ -247,6 +247,9 @@
To prevent misunderstanding, we should use m4_ifval to check whether
a parameter is empty, and not $# to check for the number of parameters.
+* Any time we add a macro to an older version, lt~obsolete.m4 needs to
+ be updated in all newer versions.
+
9. Abstraction layers in libltdl
================================
Index: libltdl/m4/lt~obsolete.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/lt~obsolete.m4,v
retrieving revision 1.1
diff -u -r1.1 lt~obsolete.m4
--- libltdl/m4/lt~obsolete.m4 22 Aug 2005 22:33:35 -0000 1.1
+++ libltdl/m4/lt~obsolete.m4 14 Nov 2005 20:47:14 -0000
@@ -59,3 +59,6 @@
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AU_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
m4_ifndef([LT_AC_PROG_EGREP], [AU_DEFUN([LT_AC_PROG_EGREP])])
m4_ifndef([LT_AC_PROG_SED], [AU_DEFUN([LT_AC_PROG_SED])])
+m4_ifndef([_LT_CC_BASENAME], [AU_DEFUN([_LT_CC_BASENAME])])
+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AU_DEFUN([_LT_COMPILER_BOILERPLATE])])
+m4_ifndef([_LT_LINKER_BOILERPLATE], [AU_DEFUN([_LT_LINKER_BOILERPLATE])])