Applied to 21.1. This will be in 21.1.10.
- vin
>>>> On 12 Feb 2000, Jan Vroonhof
<vroonhof(a)math.ethz.ch> said:
Jan> Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
> > When using all non-Motif widgets, but linking with Motif for
XIM and/or
> > CDE (drag'n'drop) support, configure fails to define NEED_MOTIF. This
> > causes lwlib to create GC:s with the stipple pattern set to (Pixmap)2.
> > As this is not a valid pixmap value, the GC:s will be unusable and
> > millions of X errors appear on standard error.
>
> since nobody reacted I'll take a guess...
Jan> Nobody reacted because it is not ..
> dnl At this point, we know whether we need the motif lib or not.
> if test "$need_motif" = "yes" ; then
> XE_PREPEND(-lXm, libs_x)
> + AC_DEFINE(NEED_MOTIF)
Jan> ... that easy. If you define NEED_MOTIF you switch xlwmenu to use
Jan> Motif which is not what you want. I'm not sure how the value of the
Jan> resource gets set (by linking with -lXm we are apparently pulling in
Jan> some resource setup code) , but I'm fairly sure the better solution
Jan> would be (compiles and runs for me, but not tested).