* 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 <ebb9@byu.net>
+2009-01-24 Eric Blake <ebb9@byu.net>
+
+ 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 <ebb9@byu.net>
Silence a false positive expand-before-require case.
# 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 &&