Commit ae11dff4 by Peter O'Gorman Committed by Steve Ellcey

libtool.m4: Update to libtool 2.2.6.

        * libtool.m4: Update to libtool 2.2.6.
        * lt~obsolete.m4: Update to libtool 2.2.6.
        * ltmain.sh: Update to libtool 2.2.6.
        * ltsugar.m4: Update to libtool 2.2.6.
        * ltversion.m4: Update to libtool 2.2.6.
        * ltoptions.m4: Update to libtool 2.2.6.
        * ltgcc.m4: Update to match changes from libtool 2.2.6.

From-SVN: r140698
parent 74c061de
2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
* libtool.m4: Update to libtool 2.2.6.
* lt~obsolete.m4: Update to libtool 2.2.6.
* ltmain.sh: Update to libtool 2.2.6.
* ltsugar.m4: Update to libtool 2.2.6.
* ltversion.m4: Update to libtool 2.2.6.
* ltoptions.m4: Update to libtool 2.2.6.
* ltgcc.m4: Update to match changes from libtool 2.2.6.
2008-09-22 Chris Fairles <cfairles@gcc.gnu.org> 2008-09-22 Chris Fairles <cfairles@gcc.gnu.org>
* MAINTAINERS (Write After Approval): Add myself. * MAINTAINERS (Write After Approval): Add myself.
......
...@@ -30,6 +30,7 @@ _LT_COMPILER_BOILERPLATE ...@@ -30,6 +30,7 @@ _LT_COMPILER_BOILERPLATE
_LT_LINKER_BOILERPLATE _LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments. # Allow CC to be a program name with arguments.
GCC=yes
compiler=$CC compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler]) _LT_CC_BASENAME([$compiler])
...@@ -49,7 +50,6 @@ if test -n "$compiler"; then ...@@ -49,7 +50,6 @@ if test -n "$compiler"; then
_LT_COMPILER_C_O($1) _LT_COMPILER_C_O($1)
_LT_COMPILER_FILE_LOCKS($1) _LT_COMPILER_FILE_LOCKS($1)
_LT_LINKER_SHLIBS($1) _LT_LINKER_SHLIBS($1)
_LT_SYS_DYNAMIC_LINKER($1)
_LT_LINKER_HARDCODE_LIBPATH($1) _LT_LINKER_HARDCODE_LIBPATH($1)
_LT_CONFIG($1) _LT_CONFIG($1)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
# #
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan. # Written by Gary V. Vaughan, 2004
# #
# This file is free software; the Free Software Foundation gives # This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without # unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved. # modifications, as long as this notice is preserved.
# serial 4 ltsugar.m4 # serial 6 ltsugar.m4
# This is to help aclocal find these macros, as it can't see m4_define. # This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
...@@ -17,19 +17,15 @@ AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) ...@@ -17,19 +17,15 @@ AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
# ----------------------------- # -----------------------------
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
# associated separator. # associated separator.
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
# versions in m4sugar had bugs.
m4_define([lt_join], m4_define([lt_join],
[m4_case([$#], [m4_if([$#], [1], [],
[0], [m4_fatal([$0: too few arguments: $#])], [$#], [2], [[$2]],
[1], [], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
[2], [[$2]],
[m4_ifval([$2],
[[$2][]m4_foreach(_lt_Arg, lt_car([m4_shiftn(2, $@)]),
[_$0([$1], _lt_Arg)])],
[$0([$1], m4_shiftn(2, $@))])])[]dnl
])
m4_define([_lt_join], m4_define([_lt_join],
[m4_ifval([$2],[$1][$2])[]dnl [m4_if([$#$2], [2], [],
]) [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
# lt_car(LIST) # lt_car(LIST)
...@@ -49,11 +45,13 @@ m4_define([lt_unquote], $1) ...@@ -49,11 +45,13 @@ m4_define([lt_unquote], $1)
# lt_append(MACRO-NAME, STRING, [SEPARATOR]) # lt_append(MACRO-NAME, STRING, [SEPARATOR])
# ------------------------------------------ # ------------------------------------------
# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
# Note that neither SEPARATOR nor STRING are expanded. No SEPARATOR is # Note that neither SEPARATOR nor STRING are expanded; they are appended
# output if MACRO-NAME was previously undefined (different than defined # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
# and empty). # No SEPARATOR is output if MACRO-NAME was previously undefined (different
# than defined and empty).
#
# This macro is needed until we can rely on Autoconf 2.62, since earlier # This macro is needed until we can rely on Autoconf 2.62, since earlier
# versions of m4 mistakenly expanded SEPARATOR. # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
m4_define([lt_append], m4_define([lt_append],
[m4_define([$1], [m4_define([$1],
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
...@@ -65,14 +63,14 @@ m4_define([lt_append], ...@@ -65,14 +63,14 @@ m4_define([lt_append],
# Produce a SEP delimited list of all paired combinations of elements of # Produce a SEP delimited list of all paired combinations of elements of
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
# has the form PREFIXmINFIXSUFFIXn. # has the form PREFIXmINFIXSUFFIXn.
# Needed until we can rely on m4_combine added in Autoconf 2.62.
m4_define([lt_combine], m4_define([lt_combine],
[m4_if([$2], [], [], [m4_if(m4_eval([$# > 3]), [1],
[m4_if([$4], [], [], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
[lt_join(m4_quote(m4_default([$1], [[, ]])), [[m4_foreach([_Lt_prefix], [$2],
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2], [m4_foreach([_Lt_suffix],
[m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]), ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
[_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
])
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
...@@ -84,13 +82,13 @@ m4_define([lt_if_append_uniq], ...@@ -84,13 +82,13 @@ m4_define([lt_if_append_uniq],
[m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
[lt_append([$1], [$2], [$3])$4], [lt_append([$1], [$2], [$3])$4],
[$5])], [$5])],
[lt_append([$1], [$2], [$3])$4])]) [lt_append([$1], [$2], [$3])$4])])
# lt_dict_add(DICT, KEY, VALUE) # lt_dict_add(DICT, KEY, VALUE)
# ----------------------------- # -----------------------------
m4_define([lt_dict_add], m4_define([lt_dict_add],
[m4_define([$1($2)], [$4])]) [m4_define([$1($2)], [$3])])
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
......
# ltversion.m4 -- version numbers -*- Autoconf -*- # ltversion.m4 -- version numbers -*- Autoconf -*-
# #
# Copyright (C) 2004 Free Software Foundation, Inc. # Copyright (C) 2004 Free Software Foundation, Inc.
# Written by Scott James Remnant. # Written by Scott James Remnant, 2004
# #
## This file is free software; the Free Software Foundation gives # This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without # unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved. # modifications, as long as this notice is preserved.
# Generated from ltversion.in; do not edit by hand # Generated from ltversion.in.
# serial 2435 ltversion.m4 # serial 3012 ltversion.m4
# This file is part of GNU Libtool # This file is part of GNU Libtool
m4_define([LT_PACKAGE_VERSION], [2.1a]) m4_define([LT_PACKAGE_VERSION], [2.2.6])
m4_define([LT_PACKAGE_REVISION], [1.2435]) m4_define([LT_PACKAGE_REVISION], [1.3012])
AC_DEFUN([LTVERSION_VERSION], AC_DEFUN([LTVERSION_VERSION],
[macro_version='2.1a' [macro_version='2.2.6'
macro_revision='1.2435' macro_revision='1.3012'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0) _LT_DECL(, macro_revision, 0)
]) ])
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
# #
# Copyright (C) 2004, 2005 Free Software Foundation, Inc. # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
# Written by Scott James Remnant. # Written by Scott James Remnant, 2004.
# #
# This file is free software; the Free Software Foundation gives # This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without # unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved. # modifications, as long as this notice is preserved.
# serial 2 # serial 4 lt~obsolete.m4
# These exist entirely to fool aclocal when bootstrapping libtool. # These exist entirely to fool aclocal when bootstrapping libtool.
# #
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
# we give up compatibility with versions before 1.7, at which point # we give up compatibility with versions before 1.7, at which point
# we need to keep only those names which we still refer to. # we need to keep only those names which we still refer to.
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment