From: Paolo Bonzini Date: Wed, 29 Jul 2009 14:28:56 +0000 (+0200) Subject: Add back AH_CHECK_HEADERS. X-Git-Tag: v2.65~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19e829e674a52dc9cad535be9dd56e651527e56;p=thirdparty%2Fautoconf.git Add back AH_CHECK_HEADERS. * lib/autoconf/general.m4 (AH_CHECK_HEADERS): New. * NEWS: Add new section. --- diff --git a/ChangeLog b/ChangeLog index 61bda1a2..1deccc6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-07-30 Paolo Bonzini + + Add back AH_CHECK_HEADERS. + * lib/autoconf/general.m4 (AH_CHECK_HEADERS): New. + * NEWS: Create new section. + 2009-07-29 Ralf Wildenhues testsuite: avoid bogus hostname match from inner test logs. diff --git a/NEWS b/NEWS index fc5730f2..7e8a5225 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,14 @@ GNU Autoconf NEWS - User visible changes. +* Major changes in Autoconf 2.64a (????-??-??) [experimental] + Released by ???? ???? + +** The following undocumented autoconf macros, removed in Autoconf 2.64, + have been reinstated: + AH_CHECK_HEADERS + + These macros are present only for backwards compatibility purposes. + * Major changes in Autoconf 2.64 (2009-07-26) [stable] Released by Eric Blake, based on git versions 2.63b.*. diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4 index 21b512c8..36c18993 100644 --- a/lib/autoconf/headers.m4 +++ b/lib/autoconf/headers.m4 @@ -253,6 +253,12 @@ m4_define([_AH_CHECK_HEADER], [Define to 1 if you have the <$1> header file.])]) +# AH_CHECK_HEADERS(HEADER-FILE...) +# -------------------------------- +m4_define([AH_CHECK_HEADERS], +[m4_foreach_w([AC_Header], [$1], [_AH_CHECK_HEADER(m4_defn([AC_Header]))])]) + + # AC_CHECK_HEADERS(HEADER-FILE..., # [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], # [INCLUDES])