From 6abf81721c64711e18685749cfce2d99f6a564d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Mon, 23 Jun 2014 10:15:24 +0200 Subject: [PATCH] Defined the configure option --enable-quarantined for non functional utilities Distributions have complained about releasing a non-functional ntfsck. Actually, ntfsck and a few other developer-oriented utilities were not meant to be released by distributions and are only compiled in if the configure option --enable-extra is set, and, for some reason, this option is set by most distributions. In order to get distributions to not complain, though making the source code available for candidate developers to improve it, the non functional or developer-oriented utilities (ntfsck, ntfsdump_logfile, ntfsmftalloc and ntfsmove) are now only compiled in if the configure option --enable-quarantined is set. --- configure.ac | 9 +++++++++ ntfsprogs/Makefile.am | 8 ++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 830c5fb6..9b953179 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,14 @@ AC_ARG_ENABLE( [enable_extras="no"] ) +AC_ARG_ENABLE( + [quarantined], + [AS_HELP_STRING([--enable-quarantined],[enable quarantined ntfsprogs utilities + (default=no)])], + , + [enable_quarantined="no"] +) + AC_ARG_ENABLE( [nfconv], [AS_HELP_STRING([--disable-nfconv],[disable the 'nfconv' patch, which adds support for Unicode normalization form conversion when built on Mac OS X @<:@default=enabled for Mac OS X@:>@])], @@ -607,6 +615,7 @@ 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"]) +AM_CONDITIONAL([ENABLE_QUARANTINED], [test "${enable_quarantined}" = "yes"]) # workaround for