CVS update: /ccvs/m4/

[email protected] 15 May 2005 16:43:50 -0000
Newsgroups gmane.comp.version-control.cvs.cvs
Message-ID <[email protected]>
User: dprice  
Date: 05/05/15 09:43:50

Modified:
 /ccvs/m4/
  ChangeLog, glob.m4

Log:
 * glob.m4 (gl_GLOB): Don't call gl_PREREQ_GLOB.
 (gl_PREREQ_GLOB): Replace search for lots of headers by requiring
 AC_HEADER_DIRENT.  dirent64 is a type, not a function.

File Changes:

Directory: /ccvs/m4/
====================

File [changed]: ChangeLog
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/ChangeLog?r1=1.121&r2=1.122
Delta lines:  +6 -0
-------------------
--- ChangeLog	13 May 2005 02:59:09 -0000	1.121
+++ ChangeLog	15 May 2005 16:43:48 -0000	1.122
@@ -1,3 +1,9 @@
+2005-05-15  Derek Price  <[email protected]>
+
+	* glob.m4 (gl_GLOB): Don't call gl_PREREQ_GLOB.
+	(gl_PREREQ_GLOB): Replace search for lots of headers by requiring
+	AC_HEADER_DIRENT.  dirent64 is a type, not a function.
+
 2005-05-12  Derek Price  <[email protected]>
 
 	* d-type.m4: New file from GNULIB.

File [changed]: glob.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/glob.m4?r1=1.2&r2=1.3
Delta lines:  +4 -6
-------------------
--- glob.m4	13 May 2005 02:59:09 -0000	1.2
+++ glob.m4	15 May 2005 16:43:48 -0000	1.3
@@ -21,10 +21,7 @@
 ])
 
 AC_DEFUN([gl_GLOB],
-[
-  gl_PREREQ_GLOB
-
-  GLOB_H=
+[ GLOB_H=
   AC_CHECK_HEADERS([glob.h gnu-versions.h], [], [GLOB_H=glob.h])
 
   if test -z "$GLOB_H"; then
@@ -42,6 +39,7 @@
 # Prerequisites of lib/glob.*.
 AC_DEFUN([gl_PREREQ_GLOB],
 [ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE])dnl
-  AC_CHECK_HEADERS_ONCE([dirent.h sys/ndir.h sys/dir.h ndir.h])dnl
-  AC_CHECK_FUNCS_ONCE([dirent64 getlogin_r getpwnam_r stat64])dnl
+  AC_REQUIRE([AC_HEADER_DIRENT])dnl
+  AC_CHECK_FUNCS_ONCE([getlogin_r getpwnam_r stat64])dnl
+  AC_CHECK_TYPES([struct dirent64])dnl
   :])