Subject: Re: CVS commit: xsrc/xfree/xc/config/cf
To: None <macallan@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 12/20/2006 01:11:42
macallan@NetBSD.org wrote:

> >  /* NetBSD >= 1.5 has setusercontext() */
> >  #if OSMajorVersion == 1 && OSMinorVersion >= 5 || OSMajorVersion > 1
> > +#if !defined(sharkArchitecture)
> >  #define HasSetUserContext       YES
> >  #endif
> > +#endif
> > ---
> >
> > Is this really shark specific?
> 
> Shark needs it, not sure about the others.

According to xfree/xc/config/cf/README, HasSetUserContext is
a value of boolean for setusercontext(), which should be in libutil.
How does it fail with this value? In xdm?

Anyway, please don't put MACHINE_CPU or MACHINE specific #defines
in MI part of NetBSD.cf. Put such defines into MD part and
use #ifndef HasSetUserContext/#endif in MI part instead.
---
Izumi Tsutsui