diff --git a/configure.ac b/configure.ac index 19f73244..128340ad 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,13 @@ AC_ARG_ENABLE( [enable_device_default_io_ops="yes"] ) +AC_ARG_ENABLE( + [ntfs-3g], + [AS_HELP_STRING([--disable-ntfs-3g],[disable the ntfs-3g FUSE driver])], + , + [enable_ntfs_3g="yes"] +) + AC_ARG_ENABLE( [ntfsprogs], [AS_HELP_STRING([--disable-ntfsprogs],[disable ntfsprogs utilities @@ -500,6 +507,7 @@ AM_CONDITIONAL([RUN_LDCONFIG], [test "${enable_ldconfig}" = "yes"]) AM_CONDITIONAL([REALLYSTATIC], [test "${enable_really_static}" = "yes"]) AM_CONDITIONAL([INSTALL_LIBRARY], [test "${enable_library}" = "yes"]) AM_CONDITIONAL([ENABLE_MOUNT_HELPER], [test "${enable_mount_helper}" = "yes"]) +AM_CONDITIONAL([ENABLE_NTFS_3G], [test "${enable_ntfs_3g}" = "yes"]) AM_CONDITIONAL([ENABLE_NTFSPROGS], [test "${enable_ntfsprogs}" = "yes"]) AM_CONDITIONAL([ENABLE_EXTRAS], [test "${enable_extras}" = "yes"]) diff --git a/src/Makefile.am b/src/Makefile.am index dc55ba0e..89ac5ce0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,6 +11,8 @@ FUSE_CFLAGS = $(FUSE_MODULE_CFLAGS) FUSE_LIBS = $(FUSE_MODULE_LIBS) endif +if ENABLE_NTFS_3G + bin_PROGRAMS = ntfs-3g.probe \ ntfs-3g.usermap \ ntfs-3g.secaudit @@ -80,3 +82,5 @@ uninstall-local: if ENABLE_MOUNT_HELPER $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" endif + +endif # ENABLE_NTFS_3G