We're running a heterogeneous environment with several Solaris boxes,
and one Linux machine. /home is NFS-mounted from one of the Solaris
servers, so I need to configure my startup files (mainly for X, but
also to set paths and so on) to handle both environments.
How is this generally done? I can think of a few of ideas, but neither
seems very appealing:
(1) Figure out which OS we're on, and then set symbolic links to
startup files
(2) Run the startup files through some kind of preprocessor, like cpp
or m4
(3) Write the scipts so that they can handle several operating systems
I would think that someone has come up with a fairly clean solution to
this, and I would appreciate any solutions, suggestions or comments.
TIA,
Tom
--
Wherever I lay my .emacs, that's my ${HOME}