configure.ac: support libsystemd (instead of the older libsystemd-daemon)
This commit is contained in:
parent
622d871587
commit
400e3ea649
1
NEWS
1
NEWS
|
@ -26,6 +26,7 @@ ver 0.20 (not yet released)
|
||||||
* reset song priority on playback
|
* reset song priority on playback
|
||||||
* write database and state file atomically
|
* write database and state file atomically
|
||||||
* remove dependency on GLib
|
* remove dependency on GLib
|
||||||
|
* support libsystemd (instead of the older libsystemd-daemon)
|
||||||
* database
|
* database
|
||||||
- proxy: add TCP keepalive option
|
- proxy: add TCP keepalive option
|
||||||
|
|
||||||
|
|
13
configure.ac
13
configure.ac
|
@ -542,9 +542,16 @@ if
|
||||||
AC_MSG_ERROR([No client interfaces configured!])
|
AC_MSG_ERROR([No client interfaces configured!])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MPD_ENABLE_AUTO_PKG(systemd_daemon, SYSTEMD_DAEMON, libsystemd-daemon,
|
MPD_ENABLE_AUTO(systemd_daemon, SYSTEMD_DAEMON, [systemd socket activation],
|
||||||
[systemd socket activation], [libsystemd-daemon not found],
|
[libsystemd not found], [$linux_auto], [
|
||||||
[$linux_auto])
|
dnl Check for libsystemd and fall back to (the older)
|
||||||
|
dnl libsystemd-daemon
|
||||||
|
PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
|
||||||
|
[found_systemd_daemon=yes],
|
||||||
|
[PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
|
||||||
|
[found_systemd_daemon=yes],
|
||||||
|
[found_systemd_daemon=no])])
|
||||||
|
])
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl LIBC Features
|
dnl LIBC Features
|
||||||
|
|
Loading…
Reference in New Issue