Andy Piper <andy(a)xemacs.org> writes:
So, hang on. I thought we had fixed this. In what way we are we not
detecting Xaw3d properly?
I think the problem is more that now we _are_ detecting it properly.
Xaw3d is getting linked in.
In what way should the headers be included correctly?
xlwgauge for instance is including stuff like...
#include <X11/Xaw/XawInit.h>
#include <X11/Xaw/LabelP.h>
and then using
#ifdef _ThreeDP_h
i.e. it assusmes Xaw3d was installed to overwrite the normal headers..
However in my case X11/Xaw is the normal Xaw and the Xaw3d headers
are in Xaw3d/ (note the missing X11).
So probably xlwgauge (and the other xaw widgets) should be changed to
do either
#ifdef HAVE_XAW3D
# include <Xaw3D/LabelP.h>
#else
# include <X11/Xaw/LabelP.h>
#endif
or
to just
#include "LabelP.h"
and then the Makefile should be changed to include
the right dir with -I if it is not already doing so.
JAn