]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
manual: AC_SEARCH_LIBS also prepends to LIBS.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 30 Nov 2009 20:37:00 +0000 (21:37 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 30 Nov 2009 20:37:00 +0000 (21:37 +0100)
* doc/autoconf.texi (Libraries): Document that AC_SEARCH_LIBS
prepends to LIBS, just like AC_CHECK_LIB.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/autoconf.texi

index 572d6451303979851a0e96af11e49f3808abbafc..0ee8a521613dfb37877b83ba77637ee2802eea9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       manual: AC_SEARCH_LIBS also prepends to LIBS.
+       * doc/autoconf.texi (Libraries): Document that AC_SEARCH_LIBS
+       prepends to LIBS, just like AC_CHECK_LIB.
+
 2009-11-27  Paolo Bonzini  <bonzini@gnu.org>
 
        Bump m4.m4 serial number.
index 01778310d9e119d295e2afa81afc49f571269594..bf6b7febcd91e7c8081288fd37126d7f056126cb 100644 (file)
@@ -4428,7 +4428,7 @@ available.  This equates to calling
 @samp{AC_LINK_IFELSE([AC_LANG_CALL([], [@var{function}])])} first with
 no libraries, then for each library listed in @var{search-libs}.
 
-Add @option{-l@var{library}} to @code{LIBS} for the first library found
+Prepend @option{-l@var{library}} to @code{LIBS} for the first library found
 to contain @var{function}, and run @var{action-if-found}.  If the
 function is not found, run @var{action-if-not-found}.
 
@@ -4443,7 +4443,7 @@ The result of this test is cached in the
 @code{ac_cv_search_@var{function}} variable as @samp{none required} if
 @var{function} is already available, as @samp{no} if no library
 containing @var{function} was found, otherwise as the
-@option{-l@var{library}} option that needs to be added to @code{LIBS}.
+@option{-l@var{library}} option that needs to be prepended to @code{LIBS}.
 @end defmac