Fix build against 10.8's X11.
We're already linking X11 for all variants, so might as well put it in
the include flags for all.
New upstream.  Works on 10.8.
Might as well run the test suite.
New upstream.
Don't interfere with default behavior by default
Enable building 32 bit lib thanks to upstream patch from revision 1242.
Activate JIT code on i386 as well as x86_64.
Learn to use shell script properly.