Modernize and simplify autotools setup.
fixup
Assume config.h exists.
Use asprintf to construct error message.
Use pure and const function attributes where possible.
Fix a compiler warning.
Quote some unquoted m4 function args
Use gnulib progname module
Remove pre-ANSI C support.
Fix empty lines at EOF.