Defined an option --enable-extras for extra ntfsprogs tools (from Fedora)

edge.strict_endians
Jean-Pierre André 2011-07-05 12:17:11 +02:00
parent 259b8ab308
commit 683d0a0a4f
2 changed files with 13 additions and 0 deletions

View File

@ -142,6 +142,14 @@ AC_ARG_ENABLE(crypto,
enable_crypto=no
)
AC_ARG_ENABLE(
[extras],
[AS_HELP_STRING([--enable-extras],[enable extra ntfsprogs utilities
(default=no)])],
,
[enable_extras="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@:>@])],
@ -493,6 +501,7 @@ 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_NTFSPROGS], [test "${enable_ntfsprogs}" = "yes"])
AM_CONDITIONAL([ENABLE_EXTRAS], [test "${enable_extras}" = "yes"])
# workaround for <autoconf-2.60
if test -z "${docdir}"; then

View File

@ -33,6 +33,10 @@ if ENABLE_CRYPTO
EXTRA_PROGRAMS += ntfsdecrypt
endif
if ENABLE_EXTRAS
bin_PROGRAMS += $(EXTRA_PROGRAMS)
endif
# Set the include path.
AM_CPPFLAGS = -I$(top_srcdir)/include/ntfs-3g $(all_includes)