Reinstate _AC_CHECK_HEADER_OLD for gcc.

* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD): Provide autoupdate versions, since gcc and
others used these undocumented macros.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2009-06-15 06:21:06 -06:00
parent cafdba3139
commit a5a584d9e8
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-06-15 Eric Blake <ebb9@byu.net>
Reinstate _AC_CHECK_HEADER_OLD for gcc.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD): Provide autoupdate versions, since gcc and
others used these undocumented macros.
Reported by Ralf Wildenhues.
2009-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix concurrent autom4te.cache directory creation race.

View File

@ -194,6 +194,13 @@ AC_DEFUN([_AC_CHECK_HEADER_COMPILE],
AS_VAR_IF([ac_Header], [yes], [$2], [$3])
AS_VAR_POPDEF([ac_Header])])# _AC_CHECK_HEADER_COMPILE
# _AC_CHECK_HEADER_NEW(HEADER-FILE, [ACTION-IF-FOUND],
# [ACTION-IF-NOT-FOUND])
# ----------------------------------------------------
# Some packages used this macro, even though it is undocumented.
AU_DEFUN([_AC_CHECK_HEADER_NEW],
[AC_CHECK_HEADER([$1], [$2], [$3], [AC_INCLUDES_DEFAULT])])
# _AC_CHECK_HEADER_PREPROC_BODY
# -----------------------------
@ -225,6 +232,13 @@ AS_VAR_IF([ac_Header], [yes], [$2], [$3])
AS_VAR_POPDEF([ac_Header])dnl
])# _AC_CHECK_HEADER_PREPROC
# _AC_CHECK_HEADER_OLD(HEADER-FILE, [ACTION-IF-FOUND],
# [ACTION-IF-NOT-FOUND])
# ----------------------------------------------------
# Some packages used this macro, even though it is undocumented.
AU_DEFUN([_AC_CHECK_HEADER_OLD],
[AC_CHECK_HEADER([$1], [$2], [$3], [-])])
# _AH_CHECK_HEADER(HEADER-FILE)
# -----------------------------