change AM_CONFIG_HEADER to AC_CONFIG_HEADERS