Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18705
Modified Files:
configure.ac
Log Message:
Require FUSE-2.5.0 for FreeBSD
Index: configure.ac
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/configure.ac,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -p -r1.92 -r1.93
--- configure.ac 7 Nov 2005 20:49:18 -0000 1.92
+++ configure.ac 29 Nov 2005 20:47:44 -0000 1.93
@@ -204,14 +204,27 @@ AM_CONDITIONAL(ENABLE_GNOME_VFS, $compil
# Autodetect whether to build FUSE module or not.
compile_fuse_module=false
if test "$enable_fuse_module" != "no"; then
- PKG_CHECK_MODULES(FUSE_MODULE, fuse >= 2.3.0, [ compile_fuse_module=true ],
- [
- if test "$enable_fuse_module" = "yes"; then
- AC_MSG_ERROR([Linux-NTFS FUSE module requires FUSE version >= 2.3.0.])
- else
- AC_MSG_WARN([Linux-NTFS FUSE module requires FUSE version >= 2.3.0.])
- fi
- ])
+ case "$target_os" in
+ linux*)
+ PKG_CHECK_MODULES(FUSE_MODULE, fuse >= 2.3.0, [ compile_fuse_module=true ],
+ [
+ if test "$enable_fuse_module" = "yes"; then
+ AC_MSG_ERROR([ntfsmount requires FUSE version >= 2.3.0.])
+ else
+ AC_MSG_WARN([ntfsmount requires FUSE version >= 2.3.0.])
+ fi
+ ]);;
+ freebsd*)
+ PKG_CHECK_MODULES(FUSE_MODULE, fuse >= 2.5.0, [ compile_fuse_module=true ],
+ [
+ if test "$enable_fuse_module" = "yes"; then
+ AC_MSG_ERROR([ntfsmount requires FUSE version >= 2.5.0.])
+ else
+ AC_MSG_WARN([ntfsmount requires FUSE version >= 2.5.0.])
+ fi
+ ]);;
+ *) AC_MSG_ERROR([ntfsmount can be built only under Linux and FreeBSD.]);;
+ esac
fi
AM_CONDITIONAL(ENABLE_FUSE_MODULE, $compile_fuse_module)
|