lt~obsolete.m4 revision 1.1 1 1.1 riastrad # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
2 1.1 riastrad #
3 1.1 riastrad # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
4 1.1 riastrad # Foundation, Inc.
5 1.1 riastrad # Written by Scott James Remnant, 2004.
6 1.1 riastrad #
7 1.1 riastrad # This file is free software; the Free Software Foundation gives
8 1.1 riastrad # unlimited permission to copy and/or distribute it, with or without
9 1.1 riastrad # modifications, as long as this notice is preserved.
10 1.1 riastrad
11 1.1 riastrad # serial 5 lt~obsolete.m4
12 1.1 riastrad
13 1.1 riastrad # These exist entirely to fool aclocal when bootstrapping libtool.
14 1.1 riastrad #
15 1.1 riastrad # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
16 1.1 riastrad # which have later been changed to m4_define as they aren't part of the
17 1.1 riastrad # exported API, or moved to Autoconf or Automake where they belong.
18 1.1 riastrad #
19 1.1 riastrad # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
20 1.1 riastrad # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
21 1.1 riastrad # using a macro with the same name in our local m4/libtool.m4 it'll
22 1.1 riastrad # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
23 1.1 riastrad # and doesn't know about Autoconf macros at all.)
24 1.1 riastrad #
25 1.1 riastrad # So we provide this file, which has a silly filename so it's always
26 1.1 riastrad # included after everything else. This provides aclocal with the
27 1.1 riastrad # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
28 1.1 riastrad # because those macros already exist, or will be overwritten later.
29 1.1 riastrad # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
30 1.1 riastrad #
31 1.1 riastrad # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
32 1.1 riastrad # Yes, that means every name once taken will need to remain here until
33 1.1 riastrad # we give up compatibility with versions before 1.7, at which point
34 1.1 riastrad # we need to keep only those names which we still refer to.
35 1.1 riastrad
36 1.1 riastrad # This is to help aclocal find these macros, as it can't see m4_define.
37 1.1 riastrad AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
38 1.1 riastrad
39 1.1 riastrad m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
40 1.1 riastrad m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
41 1.1 riastrad m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
42 1.1 riastrad m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
43 1.1 riastrad m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
44 1.1 riastrad m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
45 1.1 riastrad m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
46 1.1 riastrad m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
47 1.1 riastrad m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
48 1.1 riastrad m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
49 1.1 riastrad m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
50 1.1 riastrad m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
51 1.1 riastrad m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
52 1.1 riastrad m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
53 1.1 riastrad m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
54 1.1 riastrad m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
55 1.1 riastrad m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
56 1.1 riastrad m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
57 1.1 riastrad m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
58 1.1 riastrad m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
59 1.1 riastrad m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
60 1.1 riastrad m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
61 1.1 riastrad m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
62 1.1 riastrad m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
63 1.1 riastrad m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
64 1.1 riastrad m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
65 1.1 riastrad m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
66 1.1 riastrad m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
67 1.1 riastrad m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
68 1.1 riastrad m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
69 1.1 riastrad m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
70 1.1 riastrad m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
71 1.1 riastrad m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
72 1.1 riastrad m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
73 1.1 riastrad m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
74 1.1 riastrad m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
75 1.1 riastrad m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
76 1.1 riastrad m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
77 1.1 riastrad m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
78 1.1 riastrad m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
79 1.1 riastrad m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
80 1.1 riastrad m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
81 1.1 riastrad m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
82 1.1 riastrad m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
83 1.1 riastrad m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
84 1.1 riastrad m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
85 1.1 riastrad m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
86 1.1 riastrad m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
87 1.1 riastrad m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
88 1.1 riastrad m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
89 1.1 riastrad m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
90 1.1 riastrad m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
91 1.1 riastrad m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
92 1.1 riastrad m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
93 1.1 riastrad m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
94 1.1 riastrad m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
95 1.1 riastrad m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
96 1.1 riastrad m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
97 1.1 riastrad m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
98 1.1 riastrad m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
99 1.1 riastrad m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
100