* m4/backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2005 06:51:24 +0000 (06:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2005 06:51:24 +0000 (06:51 +0000)
* m4/same.m4 (gl_SAME): Likewise.
Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.

m4/ChangeLog
m4/backupfile.m4
m4/same.m4

index c82ad6d..5e821d7 100644 (file)
@@ -1,5 +1,9 @@
 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
+       * same.m4 (gl_SAME): Likewise.
+       Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
+
        * regex.m4: Adjust to new libc regex implementation.
        (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
        all the .c and .h parts of (the new) regex.
index 2390b5d..6aa3cc3 100644 (file)
@@ -1,4 +1,4 @@
-# backupfile.m4 serial 7
+# backupfile.m4 serial 8
 dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -14,6 +14,6 @@ AC_DEFUN([gl_BACKUPFILE],
   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)
-  AC_CHECK_FUNCS(pathconf)
+  AC_CHECK_HEADERS_ONCE([unistd.h])
+  AC_CHECK_FUNCS_ONCE([pathconf])
 ])
index 1957e0f..30cdfd2 100644 (file)
@@ -1,4 +1,4 @@
-# same.m4 serial 4
+# same.m4 serial 5
 dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,6 +10,7 @@ AC_DEFUN([gl_SAME],
   AC_LIBOBJ([same])
 
   dnl Prerequisites of lib/same.c.
-  AC_CHECK_HEADERS_ONCE(unistd.h)
-  AC_CHECK_FUNCS(pathconf)
+  AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
+  AC_CHECK_HEADERS_ONCE([unistd.h])
+  AC_CHECK_FUNCS_ONCE([pathconf])
 ])