> The only Makefile change I need (iirc) is -lXrender on the LIBS > line, and I'd need something like a HAVE_XRENDER #define. Added, see if they work for you. You can #ifdef HAVE_XRENDER and --disable-xrender. The rest should be automatic.