build: upgrade soon-to-be-obsolete automake usage
Building with built-from-git automake now fails. Patch attached. Here's the commit log:
Starting with upcoming automake-1.13, AM_INIT_AUTOMAKE will accept only one argument, and the old 2-or-more argument form as used here will be rejected. Instead, use autoconf's AC_INIT macro to record the package name and version. Similarly use autoconf's AC_CONFIG_HEADERS macro in place of automake's obsolete AM_CONFIG_HEADER macro.
In addition, teach contrib/updateVersions.pl how to extract version string, given the modernized macro usage.