From 2b6236d156b394227e41b0d664cf600b69db9403 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 11 Jul 2006 17:19:48 +0000 Subject: Sync from gnulib. --- m4/d-type.m4 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'm4/d-type.m4') diff --git a/m4/d-type.m4 b/m4/d-type.m4 index f4be1ce62..7675dd2b0 100644 --- a/m4/d-type.m4 +++ b/m4/d-type.m4 @@ -13,18 +13,12 @@ dnl # with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE], - [AC_CHECK_HEADERS_ONCE([dirent.h])dnl - AC_CACHE_CHECK([for d_type member in directory struct], + [AC_CACHE_CHECK([for d_type member in directory struct], jm_cv_struct_dirent_d_type, [AC_TRY_LINK(dnl [ #include -#ifdef HAVE_DIRENT_H -# include -#else -# define dirent direct -# include -#endif +#include ], [struct dirent dp; dp.d_type = 0;], -- cgit v1.2.3-70-g09d2