From caa7ee2a4fad1822e67748866fb9c722a4d513e4 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 28 Oct 2012 19:04:49 -0500 Subject: [PATCH] Skip mount tests when --without-fuse --- Makefile.am | 7 +++++-- configure.ac | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d2d04ea7..cec197d3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -123,10 +123,13 @@ $(man1_MANS): config.status 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 diff --git a/configure.ac b/configure.ac index b76a5b0d..9a07a7c3 100644 --- a/configure.ac +++ b/configure.ac @@ -201,6 +201,7 @@ else 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]) -- 2.43.0