summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-06 12:38:55 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-06 12:44:37 +0200
commit0c11e174eefa91029bfd78453639f23bef42c69e (patch)
tree1ea9bc84b90f22d558f1b5e267248432809db7de
parent1f582b73b3cc0880fe313fa9b02a3272c9e6442a (diff)
downloadsamba-0c11e174eefa91029bfd78453639f23bef42c69e.tar.gz
samba-0c11e174eefa91029bfd78453639f23bef42c69e.tar.bz2
samba-0c11e174eefa91029bfd78453639f23bef42c69e.zip
libreplace: check how portable utimes() and futimes() are
metze (cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190) (This used to be commit fa443081eaff77623653ed0390c4f9dabc4487b5)
-rw-r--r--source3/lib/replace/system/config.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/replace/system/config.m4 b/source3/lib/replace/system/config.m4
index 66c2bd652a..ae26bb5590 100644
--- a/source3/lib/replace/system/config.m4
+++ b/source3/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