Add Autoconf archive macros to check for -Wall and its dependencies. Adjust m4/.gitignore to only ignore libtool macros. Require Autoconf 2.65 for compatibility with Autoconf archive macros.