AM_CONFIG_HEADER is obsolete, use AC_CONFIG_HEADERS instead of it. https://bugs.freedesktop.org/show_bug.cgi?id=59320