From 3a06ae4af87f8ccaf99b8f5cfbfc10c2b93afb60 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 3 Nov 2003 16:35:00 +0000 Subject: [PATCH] * doc/autoconf.texi (Generic Structure Checks): Describe action-if-found and action-if-not-found in AC_CHECK_MEMBERS. --- ChangeLog | 5 +++++ doc/autoconf.texi | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef41b0b2..7c16b864 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-11-03 Pavel Roskin + + * doc/autoconf.texi (Generic Structure Checks): Describe + action-if-found and action-if-not-found in AC_CHECK_MEMBERS. + 2003-10-31 Akim Demaille * tests/fortran.at (GNU Fortran 77): Don't run FC macros. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 8ff48656..66f17d18 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -5006,7 +5006,10 @@ AC_CHECK_MEMBER(struct top.middle.bot) Check for the existence of each @samp{@var{aggregate}.@var{member}} of @var{members} using the previous macro. When @var{member} belongs to @var{aggregate}, define @code{HAVE_@var{aggregate}_@var{member}} (in all -capitals, with spaces and dots replaced by underscores). +capitals, with spaces and dots replaced by underscores). If +@var{action-if-found} is given, it is executed for each of the found +members. If @var{action-if-not-found} is given, it is executed for each +of the members that could not be found. This macro uses m4 lists: @example