strtoumax: fix typo in previous commit.
[gnulib.git] / modules / faccessat
index 6fc4354..ee4f2a5 100644 (file)
@@ -4,23 +4,27 @@ faccessat() function: check user's permissions for a file.
 Files:
 lib/faccessat.c
 lib/at-func.c
-lib/openat-priv.h
 m4/faccessat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-openat-die
-openat-h
-save-cwd
 unistd
+extensions
+at-internal     [test $HAVE_FACCESSAT = 0]
+dosname         [test $HAVE_FACCESSAT = 0]
+errno           [test $HAVE_FACCESSAT = 0]
+fchdir          [test $HAVE_FACCESSAT = 0]
+fcntl-h         [test $HAVE_FACCESSAT = 0]
+openat-die      [test $HAVE_FACCESSAT = 0]
+openat-h        [test $HAVE_FACCESSAT = 0]
+save-cwd        [test $HAVE_FACCESSAT = 0]
 euidaccess      [test $HAVE_FACCESSAT = 0]
 
 configure.ac:
 gl_FUNC_FACCESSAT
+if test $HAVE_FACCESSAT = 0; then
+  AC_LIBOBJ([faccessat])
+  gl_PREREQ_FACCESSAT
+fi
 gl_MODULE_INDICATOR([faccessat])
 gl_UNISTD_MODULE_INDICATOR([faccessat])