From: Eric Biggers Date: Mon, 29 Oct 2012 00:04:49 +0000 (-0500) Subject: Skip mount tests when --without-fuse X-Git-Tag: v1.0.4~10 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=caa7ee2a4fad1822e67748866fb9c722a4d513e4 Skip mount tests when --without-fuse --- 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])