[comp.windows.x] MOTIF help reqd

ejp@bohra.cpg.oz (Esmond Pitt) (12/06/89)

I am compiling MOTIF on a machine without X11 sources, specifically
/usr/include/machine/param.h.

	(a) Is this exercise meant to be possible? If so

	(b) what's meant to be in /usr/include/machine/param.h?
	Is it the same as /usr/include/sys/param.h?

Tks for any assistance.

-- 
Esmond Pitt, Computer Power Group
ejp@bohra.cpg.oz

guy@auspex.auspex.com (Guy Harris) (12/13/89)

>I am compiling MOTIF on a machine without X11 sources, specifically
>/usr/include/machine/param.h.

"/usr/include/machine/param.h" isn't an X11 source file, it's a 4.2BSD
source file.

>	(a) Is this exercise meant to be possible? If so

One should hope so.

>	(b) what's meant to be in /usr/include/machine/param.h?
>	Is it the same as /usr/include/sys/param.h?

It's meant to include various items that are machine-dependent.  It's
also meant to be included by "/usr/include/sys/param.h" - it's sure so
included in SunOS 4.0.3.  In 4.3BSD, it's renamed
"/usr/include/machine/machparam.h", and is still included by
"/usr/include/sys/param.h"; if some Motif code includes
<machine/param.h>, its author should *extremely* seriously consider
making it not do so, and just including <sys/param.h> instead.  (I'm
really curious what it is they need from <machine/param.h>.)