SU is not needed without xdmcp support
This commit is contained in:
parent
da72443d3d
commit
a525e5d33f
@ -42,7 +42,7 @@ CPP_FILES_FLAGS = -DBINDIR="$(bindir)" -DDEFAULTVT="$(DEFAULTVT)" \
|
|||||||
-DXENODMDIR="$(XENODMLIBDIR)" -DXENODMLOGDIR="$(XENODMLOGDIR)" \
|
-DXENODMDIR="$(XENODMLIBDIR)" -DXENODMLOGDIR="$(XENODMLOGDIR)" \
|
||||||
-DXENODMXAUTHDIR="$(XENODMXAUTHDIR)" \
|
-DXENODMXAUTHDIR="$(XENODMXAUTHDIR)" \
|
||||||
-DXENODMCONFIGDIR="$(XENODMCONFIGDIR)" \
|
-DXENODMCONFIGDIR="$(XENODMCONFIGDIR)" \
|
||||||
-DXENODMSCRIPTDIR="$(XENODMSCRIPTDIR)" -DSU="$(SU)" \
|
-DXENODMSCRIPTDIR="$(XENODMSCRIPTDIR)" \
|
||||||
$(XPMDEFINES) -DSHELL_CMD="$(SHELL_CMD)"
|
$(XPMDEFINES) -DSHELL_CMD="$(SHELL_CMD)"
|
||||||
|
|
||||||
Xservers: $(srcdir)/Xservers.cpp
|
Xservers: $(srcdir)/Xservers.cpp
|
||||||
|
@ -62,30 +62,6 @@ GREETER_CFLAGS="$GREETER_CFLAGS"
|
|||||||
# Find needed libraries for TCP sockets (pre-pended in $LIBS)
|
# Find needed libraries for TCP sockets (pre-pended in $LIBS)
|
||||||
XTRANS_CONNECTION_FLAGS
|
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
|
# Figure out where everything goes in the filesystem
|
||||||
|
|
||||||
AC_ARG_WITH(xenodmlibdir,
|
AC_ARG_WITH(xenodmlibdir,
|
||||||
|
Loading…
Reference in New Issue
Block a user