[PATCH] configure.ac: Add support for new versions of systemd
Peter Hutterer
peter.hutterer at who-t.net
Sun Mar 22 18:34:12 PDT 2015
On Sun, Mar 22, 2015 at 03:52:03AM +0000, Javier Jardón wrote:
> ... that only provide a unique libsystemd.pc file
was it possible on older versions to have libsystemd but not
libsystemd-daemon installed? If so, we need some more checks here, otherwise
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Cheers,
Peter
> ---
> configure.ac | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 280c369..46b4989 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -832,7 +832,9 @@ AC_ARG_WITH([systemd-daemon],
> [support systemd socket activation (default: auto)]),
> [WITH_SYSTEMD_DAEMON=$withval], [WITH_SYSTEMD_DAEMON=auto])
> PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
> - [HAVE_SYSTEMD_DAEMON=yes], [HAVE_SYSTEMD_DAEMON=no])
> + [HAVE_SYSTEMD_DAEMON=yes],
> + [PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
> + [HAVE_SYSTEMD_DAEMON=yes], [HAVE_SYSTEMD_DAEMON=no])])
> if test "x$WITH_SYSTEMD_DAEMON" = xauto; then
> WITH_SYSTEMD_DAEMON="$HAVE_SYSTEMD_DAEMON"
> fi
> --
> 2.3.3
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list