summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-06 12:38:55 +0200
committerKarolin Seeger <kseeger@samba.org>2008-05-22 16:47:40 +0200
commit7fdff10410947b54d92aabd4c3d16d55d4598eb0 (patch)
tree208f9e36416bd3ff97bc64ac02dbe59807e7b383
parentc1a54982146e347c5b92482ff6a11933e7cde19a (diff)
downloadsamba-7fdff10410947b54d92aabd4c3d16d55d4598eb0.tar.gz
samba-7fdff10410947b54d92aabd4c3d16d55d4598eb0.tar.xz
samba-7fdff10410947b54d92aabd4c3d16d55d4598eb0.zip
libreplace: check how portable utimes() and futimes() are
metze (cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190) (cherry picked from commit 1c01674624db5a2dae3afe9ba213a69c2ee2efda)
-rw-r--r--source/lib/replace/system/config.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/replace/system/config.m4 b/source/lib/replace/system/config.m4
index 66c2bd652a0..ae26bb55905 100644
--- a/source/lib/replace/system/config.m4
+++ b/source/lib/replace/system/config.m4
@@ -9,6 +9,7 @@ AC_CHECK_HEADERS(sys/select.h)
# time
AC_CHECK_HEADERS(sys/time.h utime.h)
AC_HEADER_TIME
+AC_CHECK_FUNCS(utime utimes futimes)
# wait
AC_HEADER_SYS_WAIT