Modify alt-meta patch and fix ac/m4 files.

This is just to get it to build.  The in-place munges of configure.ac
and the generated aclocal.m4 are awful hacks, but they make the dang
thing compile.  Hopefully I'll have a more fixed-up version soon.