Gunnar Evermann <Gunnar.Evermann(a)nats.informatik.uni-hamburg.de> writes:
/usr/openwin contains the X stuff from Sun bundeled with the OS. I
think this should be the default (and autoconf agrees).
If a user wants to use his locally compiled X he should IMHO supply
the path to configure and I think that's how it worked in older
versions.
Wrong. Our configure script does more than just configuring
defaults. Martin made a big deal trying to guess as good as possible what the
user wants, not only what the system's default is. For instance, I think you
would be surprised by the number of people not using the basic installation of
X11 provided by Sun, but having some /usr/X11R6/... path installed. So you
have two phylosophies: either you say "This is a Sun, we use Openwin", or you
say "this is a Sun, but the guy has installed /usr/X11R6, and this overrides
the default". I prefer the second approach.
There's indeed something broken in configure. The bug is that it
shouldn't detect headers and libraries from different directories. But using
/usr/X11[R6] if it exists, rather than /usr/openwin is not bogus at all to
me.
The problem with /usr/dt is a bit different (we had a thread on this
subject regarding the Motif libs). Appart from the fact that the name is
stupid, it's a problem of a particular package (CDE) providing it's own
version of a lib that can sometimes be found somewhere else.
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:vernaļ¼ inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 80 72
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19