make extended attributes support the default

This commit is contained in:
Jean-Francois Dockes 2013-01-28 09:46:04 +01:00
parent e8afc66d8f
commit 4c3873798d
2 changed files with 4 additions and 4 deletions

4
src/configure vendored
View File

@ -1354,7 +1354,7 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-largefile omit support for large files --disable-largefile omit support for large files
--enable-xattr Enable fetching metadata from file extended --disable-xattr Enable fetching metadata from file extended
attributes. This is only useful if some application attributes. This is only useful if some application
creates them on (part of) your data set. You also creates them on (part of) your data set. You also
need to set up appropriate mappings in the need to set up appropriate mappings in the
@ -4349,7 +4349,7 @@ fi
if test "${enable_xattr+set}" = set; then : if test "${enable_xattr+set}" = set; then :
enableval=$enable_xattr; xattrEnabled=$enableval enableval=$enable_xattr; xattrEnabled=$enableval
else else
xattrEnabled=no xattrEnabled=yes
fi fi

View File

@ -168,11 +168,11 @@ fi
# completely trivial: we have to use ctime instead of mtime to detect # completely trivial: we have to use ctime instead of mtime to detect
# changes. # changes.
AC_ARG_ENABLE(xattr, AC_ARG_ENABLE(xattr,
AC_HELP_STRING([--enable-xattr], AC_HELP_STRING([--disable-xattr],
[Enable fetching metadata from file extended attributes. This is only [Enable fetching metadata from file extended attributes. This is only
useful if some application creates them on (part of) your data set. You also useful if some application creates them on (part of) your data set. You also
need to set up appropriate mappings in the configuration.]), need to set up appropriate mappings in the configuration.]),
xattrEnabled=$enableval, xattrEnabled=no) xattrEnabled=$enableval, xattrEnabled=yes)
if test X$xattrEnabled = Xyes ; then if test X$xattrEnabled = Xyes ; then
AC_DEFINE(RCL_USE_XATTR, 1, [Use file extended attributes]) AC_DEFINE(RCL_USE_XATTR, 1, [Use file extended attributes])