autotools: Exchange the explicit exit and use AC_MSG_ERROR to exit the configure