Don't need to keep neither m4 nor config in the repo.
.gitignore: Ignore m4 and config.
autogen.sh: Create (if needed) m4 and config.