From ab588ce1e462584abdcae9c23546d17f03e5cefc Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Fri, 11 Nov 2016 16:21:51 +0000 Subject: SU is not needed without xdmcp support --- config/Makefile.am | 2 +- configure.ac | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/config/Makefile.am b/config/Makefile.am index f714131..63c21bb 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -42,7 +42,7 @@ CPP_FILES_FLAGS = -DBINDIR="$(bindir)" -DDEFAULTVT="$(DEFAULTVT)" \ -DXENODMDIR="$(XENODMLIBDIR)" -DXENODMLOGDIR="$(XENODMLOGDIR)" \ -DXENODMXAUTHDIR="$(XENODMXAUTHDIR)" \ -DXENODMCONFIGDIR="$(XENODMCONFIGDIR)" \ - -DXENODMSCRIPTDIR="$(XENODMSCRIPTDIR)" -DSU="$(SU)" \ + -DXENODMSCRIPTDIR="$(XENODMSCRIPTDIR)" \ $(XPMDEFINES) -DSHELL_CMD="$(SHELL_CMD)" Xservers: $(srcdir)/Xservers.cpp diff --git a/configure.ac b/configure.ac index 0d791d9..0a03de7 100644 --- a/configure.ac +++ b/configure.ac @@ -62,30 +62,6 @@ GREETER_CFLAGS="$GREETER_CFLAGS" # Find needed libraries for TCP sockets (pre-pended in $LIBS) XTRANS_CONNECTION_FLAGS -# FIXME: Find better test for which OS'es use su -m - for now, just try to -# mirror the Imakefile setting of: -# if defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) || defined(DarwinArchitecture) - - -case $host_os in - linux*|gnu*|*-gnu) - SU="su" - ;; - darwin*) - SU="su -m" - ;; - *bsd*|dragonfly*) - SU="su -m" - ;; - solaris*|sysv4*) - SU="su" - ;; - *) - SU="su" - ;; -esac -AC_SUBST(SU) - # Figure out where everything goes in the filesystem AC_ARG_WITH(xenodmlibdir, -- cgit v1.2.3