]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Use AC_CONFIG_HEADERS instead of the ancient AC_CONFIG_HEADER.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 25 Oct 2022 20:45:03 +0000 (23:45 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 11 Nov 2022 11:41:43 +0000 (13:41 +0200)
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.

configure.ac

index 0167c095f7efba92d8bdd24bce72f1e22bbe7174..9ff8a312b911d06cb5daa76c37bf74727c75f46b 100644 (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_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
 
 echo
 echo "$PACKAGE_STRING"