Some updates for configure.ac.

They fix a lot of noise when running autoreconf on it with newer versions of autoconf.
Those macros have been obsolete for at least 5 years as fas as I can tell.
I tested this with an old version of autoconf as well, 2.61 on Debian Lenny, and it doesn't break anything.