Trying to build Wine on a new tester which initially had too few packages 
installed I ran into the following.

  In file included from bitblt.c:33:
  x11drv.h:30:22: error: X11/Xlib.h: No such file or directory
  x11drv.h:31:27: error: X11/Xresource.h: No such file or directory
  x11drv.h:32:23: error: X11/Xutil.h: No such file or directory
  x11drv.h:33:23: error: X11/Xatom.h: No such file or directory
  x11drv.h:44:21: error: X11/Xmd.h: No such file or directory
  x11drv.h:45:24: error: X11/Xproto.h: No such file or directory

Indeed include/config.h has HAVE_X11_XLIB_H undefined since, well, all 
these headers indeed are missing.

On the other hand, configure did not halt.  In fact, configure did not
even warn about this situation unlike it does in other cases.


How to fix this?

Should dlls/winex11.drv just not be built in such a case?  Should 
configure error out?  (We do have --without-x, too, though.)  Anything 
else?

Currently we do pass configure and then run into a compile failure
later on.

Gerald



Reply via email to