mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
dtlogin: set correct OS defines for Xsession, fix linux maildir
This commit is contained in:
parent
0d69a14ab3
commit
005c328779
2 changed files with 24 additions and 3 deletions
|
@ -4,10 +4,31 @@ AM_CPPFLAGS = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
|||
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
|
||||
-DKORNSHELL=$(KSH)
|
||||
|
||||
if FREEBSD
|
||||
AM_CPPFLAGS += -DFREEBSD
|
||||
if LINUX
|
||||
AM_CPPFLAGS += -DXPROJECTROOT="/usr" -Dlinux -D__linux__
|
||||
endif
|
||||
|
||||
if FREEBSD
|
||||
AM_CPPFLAGS += -DFREEBSD -DXPROJECTROOT="/usr/local" -D__FreeBSD__
|
||||
endif
|
||||
|
||||
if SOLARIS
|
||||
AM_CPPFLAGS += -DXPROJECTROOT="/usr" -Dsun
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
AM_CPPFLAGS += -DXPROJECTROOT="/usr/X11R6" -D__OpenBSD__
|
||||
endif
|
||||
|
||||
if NETBSD
|
||||
AM_CPPFLAGS += -DXPROJECTROOT="/usr/X11R7" -D__NetBSD__
|
||||
endif
|
||||
|
||||
if BSD
|
||||
AM_CPPFLAGS += -DCSRG_BASED
|
||||
endif
|
||||
|
||||
|
||||
CPP_TARGETS = 0060.dtsysenv Dtlogin Xaccess Xconfig Xconfig.con \
|
||||
Xconfig.nc Xfailsafe Xreset Xresources Xresources.ive \
|
||||
Xservers Xservers.con Xservers.nc Xsession Xsession.ive \
|
||||
|
|
|
@ -69,7 +69,7 @@ XCOMM ##########################################################################
|
|||
#endif
|
||||
|
||||
#ifdef linux
|
||||
# define cpp_MAIL "/var/spool/mail/$USER"
|
||||
# define cpp_MAIL "/var/mail/$USER"
|
||||
# define cpp_XDIR "/usr/bin"
|
||||
# define cpp_XINITUSER "$HOME/.xinitrc"
|
||||
# define cpp_XDMSYS "/etc/X11/Xsession"
|
||||
|
|
Loading…
Reference in a new issue