@defvar LDFLAGS
@ovindex LDFLAGS
Stripping (@option{-s}), path (@option{-L}), and any other miscellaneous
options for the linker.  Don't use this variable to pass library names
(@option{-l}) to the linker, use @code{LIBS} instead.  If it is not set
in the environment when @code{configure} runs, the default value is empty.
@code{configure} uses this variable when linking programs to test for
C, C++ and Fortran 77 features.
@end defvar

@defvar LIBS
@ovindex LIBS
@option{-l} options to pass to the linker.  The default value is empty,
but some Autoconf macros may prepend extra libraries to this variable if
those libraries are found and provide necessary functions, see
@ref{Libraries}.  @code{configure} uses this variable when linking
programs to test for C, C++ and Fortran 77 features.
@end defvar



-L should go into LDFLAGS, not LIBS.  Where is the -L coming from?

Reply via email to