From: marcus(a)idonex.se
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...
Martin, shouldn't we be doing something like this?
--- configure.in~ Thu Feb 10 23:13:41 2000
+++ configure.in Sat Feb 12 21:21:19 2000
@@ -3091,6 +3091,7 @@
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)
dnl AIX needs the following library for use with Motif
AC_CHECK_LIB(i18n, layout_object_getvalue, [XE_PREPEND(-li18n, libs_x)])
XE_COMPUTE_RUNPATH()