summaryrefslogtreecommitdiff
path: root/m4/copy-file.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-04-30 00:03:50 +0200
committerBruno Haible <bruno@clisp.org>2017-04-30 10:25:02 +0200
commit06464e83f20d6dc0c68d5fe074439a2d1d3e9ebb (patch)
tree006e961f0e4d46853b05519c4f16741dac1c0db5 /m4/copy-file.m4
parent8dac05d25ac9099980a9a46b6251c349909e1ac0 (diff)
downloadgnulib-06464e83f20d6dc0c68d5fe074439a2d1d3e9ebb.tar.gz
Make use of module 'utime-h'.
* modules/copy-file (Depends-on): Add utime-h. * lib/copy-file.c: Assume that <utime.h> exists. * m4/copy-file.m4 (gl_COPY_FILE): Don't test for <utime.h>. * modules/utimens (Depends-on): Add utime-h. * lib/utimens.c: Assume that <utime.h> exists.
Diffstat (limited to 'm4/copy-file.m4')
-rw-r--r--m4/copy-file.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/copy-file.m4 b/m4/copy-file.m4
index 892e32b278..4b5db8a9ee 100644
--- a/m4/copy-file.m4
+++ b/m4/copy-file.m4
@@ -1,4 +1,4 @@
-# copy-file.m4 serial 3
+# copy-file.m4 serial 4
dnl Copyright (C) 2003, 2009-2017 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,6 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_COPY_FILE],
[
- AC_CHECK_HEADERS_ONCE([unistd.h utime.h])
+ AC_CHECK_HEADERS_ONCE([unistd.h])
AC_CHECK_FUNCS([chown utime utimes])
])