#67 support for config*.m4, improve parsing of m4