From 36add45fe7b6a0e8a889e1123d3911ee5cb34821 Mon Sep 17 00:00:00 2001 From: cha0smaster Date: Sat, 7 Jan 2006 16:00:21 +0000 Subject: [PATCH] Fix build under systems other than Linux and FreeBSD. --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f795b013..40ab5956 100644 --- a/configure.ac +++ b/configure.ac @@ -223,7 +223,13 @@ if test "$enable_fuse_module" != "no"; then AC_MSG_WARN([ntfsmount requires FUSE version >= 2.4.2 under FreeBSD, because earlier versions have problems with readdir.]) fi ]);; - *) AC_MSG_ERROR([ntfsmount can be built only under Linux and FreeBSD.]);; + *) + if test "$enable_fuse_module" = "yes"; then + AC_MSG_ERROR([ntfsmount can be built only under Linux and FreeBSD.]) + else + AC_MSG_WARN([ntfsmount can be built only under Linux and FreeBSD.]) + fi + ;; esac fi AM_CONDITIONAL(ENABLE_FUSE_MODULE, $compile_fuse_module)