From: Paul Eggert Date: Fri, 17 May 2002 07:11:04 +0000 (+0000) Subject: (Particular Functions): Document AC_FUNC_FNMATCH changes, X-Git-Tag: AUTOCONF-2.53b~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbb82c4135ce1b73fdde7eb2daab3f944fafff55;p=thirdparty%2Fautoconf.git (Particular Functions): Document AC_FUNC_FNMATCH changes, AC_FUNC_FNMATCH_GNU. (UNIX Variants): Document AC_GNU_SOURCE. --- diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 2ce626051..475d3f216 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -3527,12 +3527,29 @@ If the @code{error_at_line} function is not found, require an @code{AC_LIBOBJ} replacement of @samp{error}. @end defmac -@defmac AC_FUNC_FNMATCH +@defmac AC_FUNC_FNMATCH (@ovar{dir}) @acindex FUNC_FNMATCH @c @fuindex fnmatch @prindex @code{fnmatch} -If the @code{fnmatch} function is available and works (unlike the one on -Solaris 2.4), define @code{HAVE_FNMATCH}. +If the @code{fnmatch} function conforms to @acronym{POSIX}, define +@code{HAVE_FNMATCH}. Detect common implementation bugs, for example, +the bugs in Solaris 2.4. If @var{dir} is nonempty, the files +@file{fnmatch.c}, @file{fnmatch_loop.c}, and @file{fnmatch_.h} in the +directory @var{dor} are assumed to contain a copy of the source code +of @acronym{GNU} @code{fnmatch}. If necessary, this source code is +compiled as an @code{AC_LIBOBJ} replacement, and the @file{fnmatch_.h} +file is linked to @file{fnmatch.h} so that it can be included in place +of the system @code{}. +@end defmac + +@defmac AC_FUNC_FNMATCH_GNU (@ovar{dir}) +@acindex FUNC_FNMATCH_GNU +@c @fuindex fnmatch +@prindex @code{fnmatch} +Behave like @code{AC_FUNC_FNMATCH(@var{dir})}, but also test whether +@code{fnmatch} supports @acronym{GNU} extensions. Detect common +implementation bugs, for example, the bugs in the @acronym{GNU} C +Library 2.1. @end defmac @defmac AC_FUNC_FORK @@ -5348,6 +5365,14 @@ If on AIX, define @code{_ALL_SOURCE}. Allows the use of some @sc{bsd} functions. Should be called before any macros that run the C compiler. @end defmac +@defmac AC_GNU_SOURCE +@acindex GNU_SOURCE +@cvindex _GNU_SOURCE +If using the GNU C library, define @code{_GNU_SOURCE}. Allows the use +of some @acronym{GNU} functions. Should be called before any macros +that run the C compiler. +@end defmac + @defmac AC_ISC_POSIX @acindex ISC_POSIX @ovindex LIBS