summaryrefslogtreecommitdiff
path: root/media-sound/alsa-utils/files/alsa-utils-1.2.13-install-systemd-units-unconditionally.patch
blob: 8c26fa51819e2b21159bddc226111c0ac102d8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Install systemd unit files unconditionally rather than automagically
based on whether systemd is installed at the time.

Bug: https://bugs.gentoo.org/948469
--- a/configure.ac
+++ b/configure.ac
@@ -419,8 +419,7 @@ AC_ARG_WITH([systemdsystemunitdir],
 if test "x$with_systemdsystemunitdir" != xno; then
         AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
 fi
-AM_CONDITIONAL(HAVE_SYSTEMD, [test "$have_min_systemd" = "yes" \
-        -a -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ])
+AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno])
 
 AC_ARG_WITH([asound-state-dir],
         AS_HELP_STRING([--with-asound-state-dir=DIR], [Directory to place asound.state file in]),