/^#undef HAVE_X_WINDOWS$/c\
#define HAVE_X_WINDOWS 1\
#undef HAVE_PM
s|^#undef HAVE_X11XTR6$|#define HAVE_X11XTR6 1|
s|^#undef HAVE_X11R6$|#define HAVE_X11R6 1|
s|^#undef HAVE_LIBXMU$|#define HAVE_LIBXMU 1|
s|^#undef HAVE_XRMSETDATABASE$|#define HAVE_XRMSETDATABASE 1|
s|^#undef HAVE_XSCREENRESOURCESTRING|#define HAVE_XSCREENRESOURCESTRING 1|
s|^#undef HAVE_XSCREENNUMBEROFSCREEN|#define HAVE_XSCREENNUMBEROFSCREEN 1|
s|^#undef HAVE_XSETWMPROTOCOLS|#define HAVE_XSETWMPROTOCOLS 1|
