summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-03 21:59:54 -0600
committerJim Meyering <meyering@redhat.com>2009-09-11 14:08:58 +0200
commitc7563435034fe72cb7fa4f8129062f18eef2906d (patch)
treea938068a94716836629b7fa0c2075bf7723086de /m4
parent722287e443c93e04e724e2812857a395cfab0b60 (diff)
downloadcoreutils-c7563435034fe72cb7fa4f8129062f18eef2906d.tar.xz
rm: use gnulib faccessat
* bootstrap.conf (gnulib_modules): Add faccessat. Replace strdup with strdup-posix. * m4/jm-macros.m4 (coreutils_MACROS): Revert previous change, now that gnulib does it for us. * src/remove.c (write_protected_non_symlink): Use faccessat in more situations.
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m43
1 files changed, 0 insertions, 3 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 75ee75e2d..f4d43f1dd 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -92,9 +92,6 @@ AC_DEFUN([coreutils_MACROS],
# for cp.c
AC_CHECK_FUNCS_ONCE([utimensat])
- # for remove.c
- AC_CHECK_FUNCS_ONCE([faccessat])
-
dnl This can't use AC_REQUIRE; I'm not quite sure why.
cu_PREREQ_STAT_PROG