configure.ac: move AC_MSG_RESULT reporting back into the m4 macro