Move "Output Makefile"s into configure.ac

Move away from mental gymnastics and put AC_CONFIG_FILES() in configure.ac
instead of having them located in another file. Most example projects keep
it simple.
Merge pull request #938 from JoesCat/master

Move "Output Makefile"s into configure.ac