summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2011-12-08 10:55:27 +0000
committerMiklos Szeredi <mszeredi@suse.cz>2011-12-08 13:44:19 +0100
commit40a47ede7280c023495be97d54b08d60a932f4a7 (patch)
tree56cf6ec4e40db67b43b479ec4dc52636c8c8e4c0 /configure.in
parent1bf98cf7bcefc810775e1aa80991a13e6070090c (diff)
downloadfuse-40a47ede7280c023495be97d54b08d60a932f4a7.tar.gz
utimens availability check
fusexmp uses utimens and takes that function for granted. It is part of POSIX exended API set 2 and some systems do not have it yet. Attached patch checks for utimens availability and returns ENOSYS if unavailable.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index aab304b..1d7dd5c 100644
--- a/configure.in
+++ b/configure.in
@@ -56,7 +56,7 @@ if test "$enable_mtab" = "no"; then
AC_DEFINE(IGNORE_MTAB, 1, [Don't update /etc/mtab])
fi
-AC_CHECK_FUNCS([fork setxattr fdatasync splice vmsplice])
+AC_CHECK_FUNCS([fork setxattr fdatasync splice vmsplice utimensat])
AC_CHECK_MEMBERS([struct stat.st_atim])
AC_CHECK_MEMBERS([struct stat.st_atimespec])