SU is not needed without xdmcp support

This commit is contained in:
matthieu 2016-11-11 16:21:50 +00:00
parent da72443d3d
commit a525e5d33f
2 changed files with 1 additions and 25 deletions

View File

@ -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

View File

@ -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,