Remove ancient (and badly written) check for aclocal/automake, and
replace a deprecated macro in configure.ac.in.