Build: Use AC_CONFIG_HEADERS instead of the ancient AC_CONFIG_HEADER.

We require Autoconf >= 2.69 and that has AC_CONFIG_HEADERS.

There is a warning about AC_PROG_CC_C99 being obsolete but
it cannot be removed because it is needed with Autoconf 2.69.
This commit is contained in:
Lasse Collin 2022-10-25 23:45:03 +03:00
parent 04f299b64e
commit a4b214b93a

View File

@ -22,7 +22,7 @@ AC_INIT([XZ Utils], m4_esyscmd([/bin/sh build-aux/version.sh]),
AC_CONFIG_SRCDIR([src/liblzma/common/common.h]) AC_CONFIG_SRCDIR([src/liblzma/common/common.h])
AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADER([config.h]) AC_CONFIG_HEADERS([config.h])
echo echo
echo "$PACKAGE_STRING" echo "$PACKAGE_STRING"