diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-11-11 16:21:51 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-14 15:52:37 +0200 |
commit | ab588ce1e462584abdcae9c23546d17f03e5cefc (patch) | |
tree | 543e46fd7ab035a72d61d975b09753d3df4ae610 | |
parent | 0ef0a7c414be6dd70cabb144f3341d530fb589c5 (diff) |
SU is not needed without xdmcp support
-rw-r--r-- | config/Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 24 |
2 files changed, 1 insertions, 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, |