2004-01-16 03:16:51 +08:00
|
|
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
Sweeping changes to the user interface to libtool from
`configure.ac' to be more like AC_INIT and accept a space
delimited list of options. Instead of calling `AC_LIBTOOL_DLOPEN;
AC_PROG_LIBTOOL', we now recommend `LT_INIT([dlopen])':
* m4/libtool.m4 (AC_PROG_LIBTOOL, _AC_PROG_LIBTOOL)
(AC_LIBTOOL_SETUP): Removed. Added AU_DEFUNs.
(LT_INIT): Replace with an Autoconf like interface which accepts a
version number as a minimum required libtool release at configure
time.
* m4/ltoptions.m4: New file inspired by automake/m4/amoptions.m4,
which additionally flags an error if the configuring libtool
macros are not new enough according to LT_INIT.
(LT_OPTION_DEFINE): New macro to declare option handlers.
(dlopen, win32-dll, shared, disable-shared, static)
(disable-static, fast-install, disable-fast-install, pic-only)
(no-pic): Newly LT_OPTION_DEFINEd option handlers that use...
(_LT_ENABLE_SHARED, _LT_ENABLE_STATIC, _LT_ENABLE_FAST_INSTALL)
(_LT_WITH_PIC, _LT_WIN32_DLL): New macros to handle
LT_LIBTOOL_INIT options...
* m4/libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC)
(AC_ENABLE_FAST_INSTALL, AC_LIBTOOL_DLOPEN, AC_LIBTOOL_WIN32_DLL):
...to replace these user interface macros, now defined as
AU_DEFUNs.
(AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL):
Removed. No longer required with LT_INIT_LIBTOOL interface.
Added AU_DEFUNs.
(AM_ENABLE_SHARED, AM_DISABLE_SHARED, AM_ENABLE_STATIC)
(AM_DISABLE_STATIC): Changed AU_DEFUNs to match new interface.
(_LT_SETUP): Internal to LT_INIT, replaces AC_LIBTOOL_SETUP.
* m4/lt~obsolete.m4 (AC_LIBTOOL_SETUP, _AC_PROG_LIBTOOL)
(_LT_PROG_LTMAIN): More AC_DEFUNs that have been retracted.
* configure.ac: Use new interface.
* doc/libtool.texi: Document new interface.
* NEWS: Updated.
2004-02-22 19:13:45 +08:00
|
|
|
#
|
2005-01-09 05:17:57 +08:00
|
|
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
2004-01-16 03:16:51 +08:00
|
|
|
# Written by Scott James Remnant.
|
|
|
|
#
|
2005-01-09 05:17:57 +08:00
|
|
|
# This file is free software; the Free Software Foundation gives
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
# modifications, as long as this notice is preserved.
|
2004-01-16 03:16:51 +08:00
|
|
|
|
2005-01-09 05:17:57 +08:00
|
|
|
# serial 2
|
2004-01-16 03:16:51 +08:00
|
|
|
|
|
|
|
# These exist entirely to fool aclocal when bootstrapping libtool.
|
|
|
|
#
|
|
|
|
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
|
|
|
|
# which have later been changed to m4_define as they aren't part of the
|
|
|
|
# exported API, or moved to Autoconf or Automake where they belong.
|
|
|
|
#
|
|
|
|
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
|
|
|
|
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
|
|
|
|
# using a macro with the same name in our local m4/libtool.m4 it'll
|
|
|
|
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
|
|
|
|
# and doesn't know about Autoconf macros at all.)
|
Sweeping changes to the user interface to libtool from
`configure.ac' to be more like AC_INIT and accept a space
delimited list of options. Instead of calling `AC_LIBTOOL_DLOPEN;
AC_PROG_LIBTOOL', we now recommend `LT_INIT([dlopen])':
* m4/libtool.m4 (AC_PROG_LIBTOOL, _AC_PROG_LIBTOOL)
(AC_LIBTOOL_SETUP): Removed. Added AU_DEFUNs.
(LT_INIT): Replace with an Autoconf like interface which accepts a
version number as a minimum required libtool release at configure
time.
* m4/ltoptions.m4: New file inspired by automake/m4/amoptions.m4,
which additionally flags an error if the configuring libtool
macros are not new enough according to LT_INIT.
(LT_OPTION_DEFINE): New macro to declare option handlers.
(dlopen, win32-dll, shared, disable-shared, static)
(disable-static, fast-install, disable-fast-install, pic-only)
(no-pic): Newly LT_OPTION_DEFINEd option handlers that use...
(_LT_ENABLE_SHARED, _LT_ENABLE_STATIC, _LT_ENABLE_FAST_INSTALL)
(_LT_WITH_PIC, _LT_WIN32_DLL): New macros to handle
LT_LIBTOOL_INIT options...
* m4/libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC)
(AC_ENABLE_FAST_INSTALL, AC_LIBTOOL_DLOPEN, AC_LIBTOOL_WIN32_DLL):
...to replace these user interface macros, now defined as
AU_DEFUNs.
(AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL):
Removed. No longer required with LT_INIT_LIBTOOL interface.
Added AU_DEFUNs.
(AM_ENABLE_SHARED, AM_DISABLE_SHARED, AM_ENABLE_STATIC)
(AM_DISABLE_STATIC): Changed AU_DEFUNs to match new interface.
(_LT_SETUP): Internal to LT_INIT, replaces AC_LIBTOOL_SETUP.
* m4/lt~obsolete.m4 (AC_LIBTOOL_SETUP, _AC_PROG_LIBTOOL)
(_LT_PROG_LTMAIN): More AC_DEFUNs that have been retracted.
* configure.ac: Use new interface.
* doc/libtool.texi: Document new interface.
* NEWS: Updated.
2004-02-22 19:13:45 +08:00
|
|
|
#
|
2004-01-16 03:16:51 +08:00
|
|
|
# So we provide this file, which has a silly filename so it's always
|
|
|
|
# included after everything else. This provides aclocal with the
|
|
|
|
# AU_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
|
|
|
# because those macros already exist.
|
Sweeping changes to the user interface to libtool from
`configure.ac' to be more like AC_INIT and accept a space
delimited list of options. Instead of calling `AC_LIBTOOL_DLOPEN;
AC_PROG_LIBTOOL', we now recommend `LT_INIT([dlopen])':
* m4/libtool.m4 (AC_PROG_LIBTOOL, _AC_PROG_LIBTOOL)
(AC_LIBTOOL_SETUP): Removed. Added AU_DEFUNs.
(LT_INIT): Replace with an Autoconf like interface which accepts a
version number as a minimum required libtool release at configure
time.
* m4/ltoptions.m4: New file inspired by automake/m4/amoptions.m4,
which additionally flags an error if the configuring libtool
macros are not new enough according to LT_INIT.
(LT_OPTION_DEFINE): New macro to declare option handlers.
(dlopen, win32-dll, shared, disable-shared, static)
(disable-static, fast-install, disable-fast-install, pic-only)
(no-pic): Newly LT_OPTION_DEFINEd option handlers that use...
(_LT_ENABLE_SHARED, _LT_ENABLE_STATIC, _LT_ENABLE_FAST_INSTALL)
(_LT_WITH_PIC, _LT_WIN32_DLL): New macros to handle
LT_LIBTOOL_INIT options...
* m4/libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC)
(AC_ENABLE_FAST_INSTALL, AC_LIBTOOL_DLOPEN, AC_LIBTOOL_WIN32_DLL):
...to replace these user interface macros, now defined as
AU_DEFUNs.
(AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL):
Removed. No longer required with LT_INIT_LIBTOOL interface.
Added AU_DEFUNs.
(AM_ENABLE_SHARED, AM_DISABLE_SHARED, AM_ENABLE_STATIC)
(AM_DISABLE_STATIC): Changed AU_DEFUNs to match new interface.
(_LT_SETUP): Internal to LT_INIT, replaces AC_LIBTOOL_SETUP.
* m4/lt~obsolete.m4 (AC_LIBTOOL_SETUP, _AC_PROG_LIBTOOL)
(_LT_PROG_LTMAIN): More AC_DEFUNs that have been retracted.
* configure.ac: Use new interface.
* doc/libtool.texi: Document new interface.
* NEWS: Updated.
2004-02-22 19:13:45 +08:00
|
|
|
#
|
2004-01-16 03:16:51 +08:00
|
|
|
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, but still refer to it,
|
|
|
|
# remember to add it here.
|
|
|
|
|
2005-06-29 16:23:36 +08:00
|
|
|
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AU_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
|
|
|
|
m4_ifndef([AC_PROG_EGREP], [AU_DEFUN([AC_PROG_EGREP])])
|
|
|
|
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AU_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
|
|
|
|
m4_ifndef([_LT_AC_SHELL_INIT], [AU_DEFUN([_LT_AC_SHELL_INIT])])
|
|
|
|
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AU_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
|
|
|
|
m4_ifndef([_LT_PROG_LTMAIN], [AU_DEFUN([_LT_PROG_LTMAIN])])
|
|
|
|
m4_ifndef([_LT_AC_TAGVAR], [AU_DEFUN([_LT_AC_TAGVAR])])
|
|
|
|
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AU_DEFUN([AC_LTDL_ENABLE_INSTALL])])
|
|
|
|
m4_ifndef([AC_LTDL_PREOPEN], [AU_DEFUN([AC_LTDL_PREOPEN])])
|
|
|
|
m4_ifndef([_LT_AC_SYS_COMPILER], [AU_DEFUN([_LT_AC_SYS_COMPILER])])
|
|
|
|
m4_ifndef([_LT_AC_LOCK], [AU_DEFUN([_LT_AC_LOCK])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AU_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
|
|
|
|
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AU_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AU_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AU_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_OBJDIR], [AU_DEFUN([AC_LIBTOOL_OBJDIR])])
|
|
|
|
m4_ifndef([AC_LTDL_OBJDIR], [AU_DEFUN([AC_LTDL_OBJDIR])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AU_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AU_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
|
|
|
|
m4_ifndef([AC_PATH_MAGIC], [AU_DEFUN([AC_PATH_MAGIC])])
|
|
|
|
m4_ifndef([AC_PROG_LD_GNU], [AU_DEFUN([AC_PROG_LD_GNU])])
|
|
|
|
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AU_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
|
|
|
|
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AU_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AU_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AU_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AU_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
|
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AU_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
|
|
|
|
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])])
|