configure's 'AM_CONFIG_HEADER' macro is obsolete.
So modity to 'AC_CONFIG_HEADERS' macro