Basic autotools implementation (first cut untested).