In autogen.sh use a cleaner method to modify automake options

Avoid modifying configure.ac in autogen.sh. Instead #include another
macro file (which is generated by autogen.sh) containing the automake
init command.

This means that configure.ac is not modified by the build process, which
makes version control much easier.