]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/libtool.texi (Invoking ltconfig): Document environment
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 12 Apr 1999 06:10:37 +0000 (06:10 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 12 Apr 1999 06:10:37 +0000 (06:10 +0000)
variables used.

ChangeLog
doc/libtool.texi

index 36014f00f659f951daedbc66dc39eaf8bcf8e6b3..0e2e1b4597ef73cdf9af8e1990786cb90e94d89e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * doc/libtool.texi (Invoking ltconfig): Document environment
+       variables used.
+
        * doc/libtool.texi (Invoking ltconfig): Document --cache-file.
 
        * doc/libtool.texi (Invoking ltconfig): Document
index 2537045a9394b0c8b08d7a8ace140baac43d5ea7..a0c716a97f1f629f5c49b18dc7adca8863356286 100644 (file)
@@ -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}