diff options
-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, |