Use the AC_CONFIG_HEADERS file directly.

Also rename it to match the HAVE_CONFIG_H preprocessor symbol.