From: Johan Sagaert Date: Tue, 31 Mar 2015 20:41:02 +0000 (+0200) Subject: xserver_xorg-server: allow xserver without the systemd login daemon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ee6d5aa6acb9a1c4ece36ac65a6b92a213d47da;p=buildroot.git xserver_xorg-server: allow xserver without the systemd login daemon Signed-off-by: Sagaert Johan Signed-off-by: Thomas Petazzoni --- diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index ae689068c5..ce4069b927 100644 --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -64,6 +64,17 @@ XSERVER_XORG_SERVER_CONF_OPTS = \ --with-fontrootdir=/usr/share/fonts/X11/ \ --$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +XSERVER_XORG_CONF_OPTS += \ + --with-systemd-daemon \ + --enable-systemd-logind +XSERVER_XORG_SERVER_DEPENDENCIES += systemd +else +XSERVER_XORG_CONF_OPTS += \ + --without-systemd-daemon \ + --disable-systemd-logind +endif + ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y) XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess