From: Arvin Schnell Date: Mon, 15 Jul 2013 15:14:15 +0000 (+0200) Subject: - enable xattrs per default X-Git-Tag: v0.1.6~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96939a3c1d41b247a8184369440225f6cd2809be;p=thirdparty%2Fsnapper.git - enable xattrs per default --- diff --git a/configure.ac b/configure.ac index 94ccd8e5..51b07be9 100644 --- a/configure.ac +++ b/configure.ac @@ -94,22 +94,21 @@ fi AC_ARG_ENABLE([zypp], AC_HELP_STRING([--disable-zypp],[Disable zypp plugin support]), [with_zypp=$enableval],[with_zypp=yes]) -AM_CONDITIONAL(HAVE_ZYPP, [test "$with_zypp" != "no"]) +AM_CONDITIONAL(HAVE_ZYPP, [test "x$with_zypp" = "xyes"]) AC_CHECK_LIB(btrfs, btrfs_read_and_process_send_stream) -AC_ARG_ENABLE([xattrs], AC_HELP_STRING([--enable-xattrs],[Enable extended attributes support]), - [with_xattrs=$enableval],[with_xattrs=no]) +AC_ARG_ENABLE([xattrs], AC_HELP_STRING([--disable-xattrs],[Disable extended attributes support]), + [with_xattrs=$enableval],[with_xattrs=yes]) +AM_CONDITIONAL(HAVE_XATTRS, [test "x$with_xattrs" = "xyes"]) -AM_CONDITIONAL(HAVE_XATTRS, [test "x$with_xattrs" != "xno"]) - -if test "x$with_xattrs" != "xno"; then +if test "x$with_xattrs" = "xyes"; then AC_DEFINE(ENABLE_XATTRS, 1, [Enable extended attributes support]) fi AC_ARG_ENABLE([pam], AC_HELP_STRING([--disable-pam],[Disable pam plugin support]), [with_pam=$enableval],[with_pam=yes]) -AM_CONDITIONAL(HAVE_PAM, [test "$with_pam" != "no"]) +AM_CONDITIONAL(HAVE_PAM, [test "x$with_pam" = "xyes"]) PKG_CHECK_MODULES(DBUS, dbus-1) diff --git a/snapper.spec.in b/snapper.spec.in index 27067bd3..bcb6393b 100644 --- a/snapper.spec.in +++ b/snapper.spec.in @@ -67,7 +67,7 @@ autoconf ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} \ --docdir=%{prefix}/share/doc/packages/snapper \ - --disable-silent-rules --disable-ext4 --enable-xattrs + --disable-silent-rules --disable-ext4 make %{?jobs:-j%jobs} %install