configure: Allow systemd service installation without systemd.pc
If the systemdsystemunitdir got passed anyway as a variable, we don't need the systemd.pc dependency anymore and allow building without a systemd build-dependency. Relevant in Alpine Linux, where we allowed systemd services to be (sub-)packaged (e.g. for downstreams like postmarketOS), but don't have systemd pacakged in Alpine itself, yet. Closes: https://github.com/alsa-project/alsa-utils/pull/309 Signed-off-by: Achill Gilgenast <achill@achill.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
5910fb39b5
commit
6ffd9ede13
1 changed files with 2 additions and 2 deletions
|
|
@ -419,8 +419,8 @@ 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]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue