From: Alexandre Oliva Date: Mon, 12 Apr 1999 06:10:37 +0000 (+0000) Subject: * doc/libtool.texi (Invoking ltconfig): Document environment X-Git-Tag: release-1-3~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a12ab964207faaf3a074ac617f9e63d41bad7ebe;p=thirdparty%2Flibtool.git * doc/libtool.texi (Invoking ltconfig): Document environment variables used. --- diff --git a/ChangeLog b/ChangeLog index 36014f00f..0e2e1b459 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-04-12 Alexandre Oliva + * doc/libtool.texi (Invoking ltconfig): Document environment + variables used. + * doc/libtool.texi (Invoking ltconfig): Document --cache-file. * doc/libtool.texi (Invoking ltconfig): Document diff --git a/doc/libtool.texi b/doc/libtool.texi index 2537045a9..a0c716a97 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1596,25 +1596,62 @@ guessed by running @code{config.guess}. @code{ltconfig} also recognizes the following environment variables: @defvar CC -The C compiler that will be used by the generated @code{libtool}. +The C compiler that will be used by the generated @code{libtool}. If +this is not set, @code{ltconfig} will look for @code{gcc} or @code{cc}. @end defvar @defvar CFLAGS -Compiler flags used to generate standard object files. +Compiler flags used to generate standard object files. If this is not +set, @code{ltconfig} will not use any such flags. It affects only the +way @code{ltconfig} runs tests, not the produced @code{libtool}. @end defvar @defvar CPPFLAGS -C preprocessor flags. +C preprocessor flags. If this is not set, @code{ltconfig} will not use +any such flags. It affects only the way @code{ltconfig} runs tests, not +the produced @code{libtool}. @end defvar @defvar LD The system linker to use (if the generated @code{libtool} requires one). +If this is not set, @code{ltconfig} will try to find out what is the +linker used by @var{CC}. @end defvar +@defvar LDFLAGS +The flags to be used by @code{ltconfig} when it links a program. If +this is not set, @code{ltconfig} will not use any such flags. It +affects only the way @code{ltconfig} runs tests, not the produced +@code{libtool}. +@end defvar + +@defvar LIBS +The libraries to be used by @code{ltconfig} when it links a program. If +this is not set, @code{ltconfig} will not use any such flags. It +affects only the way @code{ltconfig} runs tests, not the produced +@code{libtool}. +@end defvar + +@defvar NM +Program to use rather than checking for @code{nm}. + @defvar RANLIB Program to use rather than checking for @code{ranlib}. @end defvar +@devar LN_S +A command that creates a link of a program, a soft-link if possible, a +hard-link otherwise. +@end defvar + +@defvar DLLTOOL +Program to use rather than checking for @code{dlltool}. Only meaningful +for MS-Windows. + +@defvar AS +Program to use rather than checking for @code{as}. Only meaningful for +MS-Windows. + @node ltconfig example @subsection Using @code{ltconfig}