]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- enable xattrs per default
authorArvin Schnell <aschnell@suse.de>
Mon, 15 Jul 2013 15:14:15 +0000 (17:14 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 15 Jul 2013 15:14:15 +0000 (17:14 +0200)
configure.ac
snapper.spec.in

index 94ccd8e59d601917aeb44326a4c6e499412c490e..51b07be9a363df13ecd2dc66363c73a8e16d7514 100644 (file)
@@ -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)
 
index 27067bd3278f3a7f745508a986cb6eb5ce55aa6d..bcb6393b787183eea051307339f575afc0e5d6b0 100644 (file)
@@ -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