Skip to contentSkip to conversation

build: update obsolete autoconf macros

PATCH Applied Jeremy Sowden 2 participants 2 messages Feb 6, 2022 – Feb 7, 2022 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: update obsolete autoconf macros

AC_CONFIG_HEADER has been superseded by AC_CONFIG_HEADERS.

AM_PROG_LIBTOOL has been superseded by LT_INIT.

AC_DISABLE_STATIC can be replaced by an argument to LT_INIT.

---
 configure.ac | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
configure.ac +2 -3
index 060f3076cbdc..98d64d485a16 100644
@@ -3,7 +3,7 @@ dnl Process this file with autoconf to create configure.
 AC_INIT([libnetfilter_conntrack], [1.0.8])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CANONICAL_HOST
-AC_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects
@@ -14,8 +14,7 @@ dnl kernel style compile messages
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 AC_PROG_CC
-AC_DISABLE_STATIC
-AM_PROG_LIBTOOL
+LT_INIT([disable-static])
 AC_PROG_INSTALL
 AC_PROG_LN_S
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Jeremy Sowden

AC_CONFIG_HEADER has been superseded by AC_CONFIG_HEADERS.

AM_PROG_LIBTOOL has been superseded by LT_INIT.

AC_DISABLE_STATIC can be replaced by an argument to LT_INIT.

Applied, thanks