Added checks at the autogen.sh stage for missing m4 macros