From 87b91bb4e70aeb755b72b754a23acddc8f1ec094 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 29 Jul 2004 09:34:00 +0000 Subject: [PATCH] * doc/libtool.texi (Tags): Document CC. * m4/libtool.m4 (_LT_SETUP): Register CC as supported tag so that Automake uses it. --- ChangeLog | 6 ++++++ configure.ac | 2 +- doc/libtool.texi | 6 +++--- m4/libtool.m4 | 1 + 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78946066..9433cd4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-29 Alexandre Duret-Lutz + + * doc/libtool.texi (Tags): Document CC. + * m4/libtool.m4 (_LT_SETUP): Register CC as supported tag so that + Automake uses it. + 2004-07-28 Gary V. Vaughan Fix a long-standing bug where macro_version was always empty in diff --git a/configure.ac b/configure.ac index 50c85b63..3e1f9376 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_PREREQ(2.58) ## We use AS_HELP_STRING ## ------------------------ ## ## Autoconf initialisation. ## ## ------------------------ ## -AC_INIT([libtool], [1.5a], [bug-libtool@gnu.org]) +AC_INIT([libtool], [1.9b], [bug-libtool@gnu.org]) AC_CONFIG_HEADERS([config.h:config-h.in]) AC_CONFIG_SRCDIR([ltmain.in]) AC_CONFIG_AUX_DIR([config]) diff --git a/doc/libtool.texi b/doc/libtool.texi index 03874cf0..bb777b79 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -2243,7 +2243,7 @@ correspondence between language names and tags names. @multitable {Windows Resource} {Tag name} @item Language name @tab Tag name -@item C @tab +@item C @tab CC @item C++ @tab CXX @item Java @tab GCJ @item Fortran 77 @tab F77 @@ -2258,8 +2258,8 @@ The tag can also be specified using @command{libtool}'s @code{--tag=@var{tag}} option (@pxref{Invoking libtool}). It is a good idea to do so in @file{Makefile} rules, because that will allow users to substitute the compiler without relying on @command{libtool} inference -heuristics. Note that there is no tag for @code{C} because that is -the default configuration. +heuristics. When no tag is specified, @command{libtool} will default ++to @code{CC}; this tag always exists. Finally, the set of tags available in a particular project can be retrieved by tracing for the @code{LT_SUPPORTED_TAG} macro (@pxref{Trace diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 43811801..6a6c7b84 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -191,6 +191,7 @@ AC_ARG_ENABLE([libtool-lock], test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS