More autotools updates

But still not quite operational yet.