summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-08 15:57:06 -0600
committerEric Blake <ebb9@byu.net>2009-10-10 15:16:52 -0600
commit7280a913a12ebfe33e8cad1b217b84944bbd3681 (patch)
treee5492e485e56314c073cff40b99b34c3ea88a305 /m4
parent7ff00ca82f134880b2aa751de96756b46a895ae1 (diff)
downloadcoreutils-7280a913a12ebfe33e8cad1b217b84944bbd3681.tar.xz
copy: allow symlink timestamp preservation on more systems
* src/copy.c (utimens_symlink): Simplify by using lutimens. * m4/jm-macros.m4 (coreutils_MACROS): Drop utimensat; gnulib does this for us. * tests/cp/preserve-slink-time: Recognize lutimes support.
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 f4d43f1dd..833940469 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -89,9 +89,6 @@ AC_DEFUN([coreutils_MACROS],
tcgetpgrp \
)
- # for cp.c
- AC_CHECK_FUNCS_ONCE([utimensat])
-
dnl This can't use AC_REQUIRE; I'm not quite sure why.
cu_PREREQ_STAT_PROG