changeset 5969:f675fdd9e8a7

* m4/backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf. * m4/same.m4 (gl_SAME): Likewise. Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Jul 2005 06:51:24 +0000
parents 541fed6ae301
children 5a0aa3f94911
files m4/ChangeLog m4/backupfile.m4 m4/same.m4
diffstat 3 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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.
--- a/m4/backupfile.m4
+++ b/m4/backupfile.m4
@@ -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_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])
 ])
--- a/m4/same.m4
+++ b/m4/same.m4
@@ -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_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])
 ])