]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Revert change to AC_DIR_HEADER.
authorEric Blake <ebb9@byu.net>
Sat, 24 Jan 2009 13:16:48 +0000 (06:16 -0700)
committerEric Blake <ebb9@byu.net>
Sat, 24 Jan 2009 13:16:48 +0000 (06:16 -0700)
* 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>
ChangeLog
lib/autoconf/headers.m4

index f4bc206e73e2065e1e23d5b5ddd1f6986bf98a1a..996eca1f111a0aaef00c362d6f725246ff3b49e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
index 47468f088a2fa7edf9a152c0932669da0f246e06..3702a85607c80a41771efcd3db4cdd7db5d39545 100644 (file)
@@ -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 &&