File PackageKit-allow-to-disable-systemd-updates.patch of Package PackageKit

Index: PackageKit-0.8.7/configure.ac
===================================================================
--- PackageKit-0.8.7.orig/configure.ac
+++ PackageKit-0.8.7/configure.ac
@@ -460,8 +460,8 @@ if test x$build_systemd_updates = xyes;
 		    [],
 		    [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
 	AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
-	AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
 fi
+AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
 
 # backends
 AC_ARG_ENABLE(alpm, AS_HELP_STRING([--enable-alpm],[use the ALPM backend]),enable_alpm=$enableval,enable_alpm=no)
openSUSE Build Service is sponsored by