]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gl_BACKUPFILE): AC_REQUIRE
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:13:17 +0000 (23:13 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:13:17 +0000 (23:13 +0000)
gl_CHECK_TYPE_STRUCT_DIRENT_D_INO instead of invoking it directly.
Do not require AC_FUNC_CLOSEDIR_VOID.

m4/backupfile.m4

index 4d6b67093954e5802c4692e69f16dac921978283..cc35f512e0f554f483d72b68ee4d8ca9999b93cb 100644 (file)
@@ -1,4 +1,4 @@
-# backupfile.m4 serial 3
+# backupfile.m4 serial 4
 dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -10,10 +10,7 @@ AC_DEFUN([gl_BACKUPFILE],
 [
   dnl Prerequisites of lib/backupfile.c.
   AC_REQUIRE([AC_HEADER_DIRENT])
-  AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID])
-  gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
-
-  dnl Prerequisites of lib/addext.c.
+  AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
   AC_REQUIRE([gl_AC_DOS])
   AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
   AC_CHECK_HEADERS_ONCE(unistd.h)