lt~obsolete.m4 revision a773ec55
11.24Sozaki# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
21.1Sjdolecek#
31.1Sjdolecek#   Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
41.1Sjdolecek#   Software Foundation, Inc.
51.1Sjdolecek#   Written by Scott James Remnant, 2004.
61.1Sjdolecek#
71.1Sjdolecek# This file is free software; the Free Software Foundation gives
81.1Sjdolecek# unlimited permission to copy and/or distribute it, with or without
91.1Sjdolecek# modifications, as long as this notice is preserved.
101.1Sjdolecek
111.1Sjdolecek# serial 5 lt~obsolete.m4
121.1Sjdolecek
131.1Sjdolecek# These exist entirely to fool aclocal when bootstrapping libtool.
141.1Sjdolecek#
151.1Sjdolecek# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
161.1Sjdolecek# which have later been changed to m4_define as they aren't part of the
171.1Sjdolecek# exported API, or moved to Autoconf or Automake where they belong.
181.1Sjdolecek#
191.1Sjdolecek# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
201.1Sjdolecek# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
211.1Sjdolecek# using a macro with the same name in our local m4/libtool.m4 it'll
221.1Sjdolecek# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
231.1Sjdolecek# and doesn't know about Autoconf macros at all.)
241.1Sjdolecek#
251.1Sjdolecek# So we provide this file, which has a silly filename so it's always
261.1Sjdolecek# included after everything else.  This provides aclocal with the
271.1Sjdolecek# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
281.1Sjdolecek# because those macros already exist, or will be overwritten later.
291.1Sjdolecek# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
301.1Sjdolecek#
311.1Sjdolecek# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
321.1Sjdolecek# Yes, that means every name once taken will need to remain here until
331.1Sjdolecek# we give up compatibility with versions before 1.7, at which point
341.1Sjdolecek# we need to keep only those names which we still refer to.
351.1Sjdolecek
361.1Sjdolecek# This is to help aclocal find these macros, as it can't see m4_define.
371.1SjdolecekAC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
381.1Sjdolecek
391.1Sjdolecekm4_ifndef([AC_LIBTOOL_LINKER_OPTION],	[AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
401.1Sjdolecekm4_ifndef([AC_PROG_EGREP],		[AC_DEFUN([AC_PROG_EGREP])])
411.1Sjdolecekm4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
421.1Sjdolecekm4_ifndef([_LT_AC_SHELL_INIT],		[AC_DEFUN([_LT_AC_SHELL_INIT])])
431.1Sjdolecekm4_ifndef([_LT_AC_SYS_LIBPATH_AIX],	[AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
441.1Sjdolecekm4_ifndef([_LT_PROG_LTMAIN],		[AC_DEFUN([_LT_PROG_LTMAIN])])
451.1Sjdolecekm4_ifndef([_LT_AC_TAGVAR],		[AC_DEFUN([_LT_AC_TAGVAR])])
461.1Sjdolecekm4_ifndef([AC_LTDL_ENABLE_INSTALL],	[AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
471.1Sjdolecekm4_ifndef([AC_LTDL_PREOPEN],		[AC_DEFUN([AC_LTDL_PREOPEN])])
481.1Sjdolecekm4_ifndef([_LT_AC_SYS_COMPILER],	[AC_DEFUN([_LT_AC_SYS_COMPILER])])
491.1Sjdolecekm4_ifndef([_LT_AC_LOCK],		[AC_DEFUN([_LT_AC_LOCK])])
501.1Sjdolecekm4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],	[AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
511.1Sjdolecekm4_ifndef([_LT_AC_TRY_DLOPEN_SELF],	[AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
521.1Sjdolecekm4_ifndef([AC_LIBTOOL_PROG_CC_C_O],	[AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
531.1Sjdolecekm4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
541.1Sjdolecekm4_ifndef([AC_LIBTOOL_OBJDIR],		[AC_DEFUN([AC_LIBTOOL_OBJDIR])])
551.1Sjdolecekm4_ifndef([AC_LTDL_OBJDIR],		[AC_DEFUN([AC_LTDL_OBJDIR])])
561.1Sjdolecekm4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
571.1Sjdolecekm4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],	[AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
581.1Sjdolecekm4_ifndef([AC_PATH_MAGIC],		[AC_DEFUN([AC_PATH_MAGIC])])
591.1Sjdolecekm4_ifndef([AC_PROG_LD_GNU],		[AC_DEFUN([AC_PROG_LD_GNU])])
601.1Sjdolecekm4_ifndef([AC_PROG_LD_RELOAD_FLAG],	[AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
611.1Sjdolecekm4_ifndef([AC_DEPLIBS_CHECK_METHOD],	[AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
621.1Sjdolecekm4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
631.1Sjdolecekm4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
641.1Sjdolecekm4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
651.1Sjdolecekm4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS],	[AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
661.1Sjdolecekm4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP],	[AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
671.1Sjdolecekm4_ifndef([LT_AC_PROG_EGREP],		[AC_DEFUN([LT_AC_PROG_EGREP])])
681.1Sjdolecekm4_ifndef([LT_AC_PROG_SED],		[AC_DEFUN([LT_AC_PROG_SED])])
691.1Sjdolecekm4_ifndef([_LT_CC_BASENAME],		[AC_DEFUN([_LT_CC_BASENAME])])
701.24Sozakim4_ifndef([_LT_COMPILER_BOILERPLATE],	[AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
711.1Sjdolecekm4_ifndef([_LT_LINKER_BOILERPLATE],	[AC_DEFUN([_LT_LINKER_BOILERPLATE])])
721.1Sjdolecekm4_ifndef([_AC_PROG_LIBTOOL],		[AC_DEFUN([_AC_PROG_LIBTOOL])])
731.1Sjdolecekm4_ifndef([AC_LIBTOOL_SETUP],		[AC_DEFUN([AC_LIBTOOL_SETUP])])
741.1Sjdolecekm4_ifndef([_LT_AC_CHECK_DLFCN],		[AC_DEFUN([_LT_AC_CHECK_DLFCN])])
751.1Sjdolecekm4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],	[AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
761.1Sjdolecekm4_ifndef([_LT_AC_TAGCONFIG],		[AC_DEFUN([_LT_AC_TAGCONFIG])])
771.1Sjdolecekm4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
781.1Sjdolecekm4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
791.1Sjdolecekm4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
801.2Sjdolecekm4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
811.1Sjdolecekm4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
821.2Sjdolecekm4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
831.2Sjdolecekm4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
841.2Sjdolecekm4_ifndef([_LT_AC_LANG_CXX_CONFIG],	[AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
851.1Sjdolecekm4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
861.2Sjdolecekm4_ifndef([_LT_AC_LANG_F77_CONFIG],	[AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
871.2Sjdolecekm4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
881.2Sjdolecekm4_ifndef([_LT_AC_LANG_GCJ_CONFIG],	[AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
891.2Sjdolecekm4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
901.2Sjdolecekm4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
911.2Sjdolecekm4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])])
921.2Sjdolecekm4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
931.2Sjdolecekm4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],	[AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
941.1Sjdolecekm4_ifndef([_LT_AC_PROG_CXXCPP],		[AC_DEFUN([_LT_AC_PROG_CXXCPP])])
951.2Sjdolecekm4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],	[AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
961.2Sjdolecekm4_ifndef([_LT_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
971.2Sjdolecekm4_ifndef([_LT_PROG_F77],		[AC_DEFUN([_LT_PROG_F77])])
981.2Sjdolecekm4_ifndef([_LT_PROG_FC],		[AC_DEFUN([_LT_PROG_FC])])
991.2Sjdolecekm4_ifndef([_LT_PROG_CXX],		[AC_DEFUN([_LT_PROG_CXX])])
1001.2Sjdolecek