From e130b9acd6d2a7d2aa389cc982717edfe9fb56aa Mon Sep 17 00:00:00 2001 From: Lee Hanxue Date: Fri, 9 May 2014 11:25:43 +0800 Subject: Remove fuse utimens dependency for OSX --- tests/Makefile.am | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 8fc80ea..53a9081 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,13 @@ -noinst_PROGRAMS = readdir_inode utimens_nofollow -readdir_inode_SOURCES = readdir_inode.c -utimens_nofollow_SOURCES = utimens_nofollow.c +UNAME_S := $(shell uname -s) +if BUILD_OS_IS_DARWIN + noinst_PROGRAMS = readdir_inode + readdir_inode_SOURCES = readdir_inode.c +else + noinst_PROGRAMS = readdir_inode utimens_nofollow + readdir_inode_SOURCES = readdir_inode.c + utimens_nofollow_SOURCES = utimens_nofollow.c +endif TESTS = test_bindfs.rb SUBDIRS = internals -- cgit v1.2.3