lt~obsolete.m4 (246e7a2b6494cd991b08ac669ed761ecea0cc98c) | lt~obsolete.m4 (d38c30c092828f4882ce13b08d0bd3fd6dc7afb5) |
---|---|
1# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- 2# | 1# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- 2# |
3# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. | 3# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software 4# Foundation, Inc. |
4# Written by Scott James Remnant, 2004. 5# 6# This file is free software; the Free Software Foundation gives 7# unlimited permission to copy and/or distribute it, with or without 8# modifications, as long as this notice is preserved. 9 10# serial 5 lt~obsolete.m4 11 12# These exist entirely to fool aclocal when bootstrapping libtool. 13# | 5# Written by Scott James Remnant, 2004. 6# 7# This file is free software; the Free Software Foundation gives 8# unlimited permission to copy and/or distribute it, with or without 9# modifications, as long as this notice is preserved. 10 11# serial 5 lt~obsolete.m4 12 13# These exist entirely to fool aclocal when bootstrapping libtool. 14# |
14# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) | 15# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), |
15# which have later been changed to m4_define as they aren't part of the 16# exported API, or moved to Autoconf or Automake where they belong. 17# 18# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN 19# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us 20# using a macro with the same name in our local m4/libtool.m4 it'll 21# pull the old libtool.m4 in (it doesn't see our shiny new m4_define 22# and doesn't know about Autoconf macros at all.) 23# 24# So we provide this file, which has a silly filename so it's always 25# included after everything else. This provides aclocal with the 26# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything 27# because those macros already exist, or will be overwritten later. | 16# which have later been changed to m4_define as they aren't part of the 17# exported API, or moved to Autoconf or Automake where they belong. 18# 19# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN 20# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us 21# using a macro with the same name in our local m4/libtool.m4 it'll 22# pull the old libtool.m4 in (it doesn't see our shiny new m4_define 23# and doesn't know about Autoconf macros at all.) 24# 25# So we provide this file, which has a silly filename so it's always 26# included after everything else. This provides aclocal with the 27# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything 28# because those macros already exist, or will be overwritten later. |
28# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. | 29# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. |
29# 30# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. 31# Yes, that means every name once taken will need to remain here until 32# we give up compatibility with versions before 1.7, at which point 33# we need to keep only those names which we still refer to. 34 35# This is to help aclocal find these macros, as it can't see m4_define. 36AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) --- 62 unchanged lines hidden --- | 30# 31# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. 32# Yes, that means every name once taken will need to remain here until 33# we give up compatibility with versions before 1.7, at which point 34# we need to keep only those names which we still refer to. 35 36# This is to help aclocal find these macros, as it can't see m4_define. 37AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) --- 62 unchanged lines hidden --- |