From 3c81fb860bc30d39213696dd536c38a5f0397485 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 24 May 2009 00:26:45 +0200 Subject: [PATCH] Update doc for 2009-04-26 change. --- ChangeLog | 5 +++++ doc/havelib.texi | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a731f0169..993b6ad84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-23 Bruno Haible + + * doc/havelib.texi (AC_LIB_HAVE_LINKFLAGS): Update for 2009-04-26 + change. + 2009-05-21 Bruno Haible Simplify use of mode_t varargs. diff --git a/doc/havelib.texi b/doc/havelib.texi index 92392d1ea..b2a9841a2 100644 --- a/doc/havelib.texi +++ b/doc/havelib.texi @@ -31,13 +31,14 @@ by @code{-I} options. This macro should be used when @code{lib<@var{name}>} is expected to be found. @end deffn -@deffn Macro @code{AC_LIB_HAVE_LINKFLAGS(@var{name}, [@var{dependencies}], [@var{includes}], [@var{testcode}])} +@deffn Macro @code{AC_LIB_HAVE_LINKFLAGS(@var{name}, [@var{dependencies}], [@var{includes}], [@var{testcode}], [@var{missing-message}])} Searches for @code{lib<@var{name}>} and the libraries corresponding to explicit and implicit dependencies, together with the specified include files -and the ability to compile and link the specified @var{testcode}. If found, -it sets and AC_SUBSTs @code{HAVE_LIB<@var{NAME}>=yes} and the -@code{LIB<@var{NAME}>} and @code{LTLIB<@var{NAME}>} variables (with +and the ability to compile and link the specified @var{testcode}. The +@var{missing-message} defaults to @code{no} and may contain additional hints +for the user. If found, it sets and AC_SUBSTs @code{HAVE_LIB<@var{NAME}>=yes} +and the @code{LIB<@var{NAME}>} and @code{LTLIB<@var{NAME}>} variables (with @code{<@var{NAME}>} in upper case) and augments the @code{CPPFLAGS} variable by @code{-I} options, and #defines @code{HAVE_LIB<@var{NAME}>} to 1. Otherwise, it sets and AC_SUBSTs @code{HAVE_LIB<@var{NAME}>=no} and -- 2.11.0