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