Ran autoreconf again. Now we seem to be able to build tarballs, even though they're incomplete. Haven't checked VPATH builds as yet.