check_PROGRAMS = tests/tree-cmp
tests_tree_cmp_SOURCES = tests/tree-cmp.c
-dist_check_SCRIPTS = tests/test-imagex \
- tests/test-imagex-mount \
+dist_check_SCRIPTS = tests/test-imagex \
tests/test-imagex-capture_and_apply
+if WITH_FUSE
+dist_check_SCRIPTS += tests/test-imagex-mount
+endif
+
if WITH_NTFS_3G
dist_check_SCRIPTS += tests/test-imagex-ntfs
endif
LIBFUSE_LDADD=
LIBFUSE_CFLAGS=
fi
+AM_CONDITIONAL([WITH_FUSE], [test "x$WITH_FUSE" = "xyes"])
AC_SUBST([LIBFUSE_LDADD], [$LIBFUSE_LDADD])
AC_SUBST([LIBFUSE_CFLAGS], [$LIBFUSE_CFLAGS])