change macro AM_CONFIG_HEADER to AC_CONFIG_HEADERS