The patch includes all of bewing's code plus my changes to configure.in and the configure script. I didn't want to count on anyone having autoconf installed (or knowing how to use it) so I ran it myself.
These changes compiled on my machine (Debian Lenny/Sid) with a fair amount of warnings, and with nearly all the configure flags enabled. I did not add a new flag for the debugger code as a cursory glance shows that the new win32 debugger is always compiled when the debugger is enabled and the gui is win32. I figured it would be best to emulate that here.
Apply the patch with the standard -p1 switch, like so: cd bochs && patch -Np1 -i ../bochs-x11-enhanced-gui.patch
After the patch has been applied, it's a standard CMMI procedure. The minimum required configure switches are --enable-debugger --enable-disasm --with-x.
Then a make, followed by make install. No more messing with changing the code yourself, or finding all the paths and libs needed because of GTK. Hopefully this will solve all the problems people have been having with compiling bewing's patch.
It should compile with anything you throw at it. I'm still compiling it with a bunch of different options to make sure it all plays nice, but I haven't actually tested a compiled version just yet.

EDIT: Removed a couple of generated files and .CVS/* entries from the patch that shouldn't have been there. Converted all line endings in enh_dbg.cc from DOS to UNIX.
