]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libreplace: check how portable utimes() and futimes() are
authorStefan Metzmacher <metze@samba.org>
Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 16 May 2008 08:34:14 +0000 (10:34 +0200)
metze
(cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190)

source/lib/replace/system/config.m4

index 66c2bd652a06f550a463d39b0b097f6ae9fa0b78..ae26bb55905a12e13014213de7847b141b99c2fc 100644 (file)
@@ -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