Detecting true64
Martin Pool
mbp at samba.org
Mon Feb 17 23:23:26 GMT 2003
On 17 Feb 2003, jra at dp.samba.org wrote:
> Does anyone know how to detect a truu64 system in configure.in ?
> I'm going through my patchlist and there is a big optimisation that
> can be done on systems where the getgrnam() call works (True64 is
> listed as the only broken system) and I'd like to add this to
> all branches by adding a BROKEN_GETGRNAM define for True64.
Note that it really is "Tru64". I guess misspelling makes it more
dynamic.
config.guess should detect a hostname of something like
alphaev7-dec-osf4.0f
See e.g.
http://studio.imagemagick.org/pipermail/magick-bugs/2002-November/000881.html
configure.in should call AC_CANONICAL_HOST, and then examine $host_os,
probably with something like
case "$host_os" in
osf*)
;;
The config.guess is actually quite old compared to the current GNU
distribution, so I might update that in HEAD and 3_0. This might
improve correctness or robustness in detecting some platforms.
--
Martin
We use Film Gimp on all talking animal jobs
-- Caroline Dahllöf
More information about the samba-technical
mailing list