From: Eric Blake Date: Sat, 24 Jan 2009 13:16:48 +0000 (-0700) Subject: Revert change to AC_DIR_HEADER. X-Git-Tag: v2.63b~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c75e4549b31d9bb683c9a99eabc72aa45daa9c6;p=thirdparty%2Fautoconf.git Revert change to AC_DIR_HEADER. * lib/autoconf/headers.m4 (AC_DIR_HEADER): Explicitly expanding AC_HEADER_DIRENT no longer triggers a warning, and helps the user who decides they don't need the obsolete AC_FUNC_CLOSEDIR_VOID. Reported by Paolo Bonzini. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index f4bc206e7..996eca1f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-01-24 Eric Blake + + Revert change to AC_DIR_HEADER. + * lib/autoconf/headers.m4 (AC_DIR_HEADER): Explicitly expanding + AC_HEADER_DIRENT no longer triggers a warning, and helps the user + who decides they don't need the obsolete AC_FUNC_CLOSEDIR_VOID. + Reported by Paolo Bonzini. + 2009-01-22 Eric Blake Silence a false positive expand-before-require case. diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4 index 47468f088..3702a8560 100644 --- a/lib/autoconf/headers.m4 +++ b/lib/autoconf/headers.m4 @@ -887,7 +887,8 @@ use HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.]) # defines a different set of C preprocessor macros to indicate which # header file is found. AU_DEFUN([AC_DIR_HEADER], -[AC_FUNC_CLOSEDIR_VOID +[AC_HEADER_DIRENT +AC_FUNC_CLOSEDIR_VOID test ac_cv_header_dirent_dirent_h && AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.]) test ac_cv_header_dirent_sys_ndir_h &&