replace macro AM_CONFIG_HEADER with AC_CONFIG_HEADERS