Use couple more autoconf convenience macros to cleanup configure.ac

Merge request reports