+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.
@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}.
@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