(gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2005 07:08:56 +0000 (07:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2005 07:08:56 +0000 (07:08 +0000)
m4/backupfile.m4

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])
 ])