I've spent the last little bit brushing up on my autoconf skills and
trying to diagnose the problems I was having with Xlib and I think I
have arrived at a patch that I think is much more clean and
comprehensive. Please consider this patch for inclusion in place of the
previous one I sent to this list.