]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: replace `AM_PROG_LIBTOOL` and `AC_DISABLE_STATIC` with `LT_INIT`
authorJeremy Sowden <jeremy@azazel.net>
Fri, 1 Oct 2021 17:41:41 +0000 (18:41 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 18 Jan 2022 12:22:58 +0000 (13:22 +0100)
`AM_PROG_LIBTOOL` is superseded by `LT_INIT`, which also accepts options
to control the defaults for creating shared or static libraries.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
configure.ac

index 00ae60c5cfa1a3fb5e03708ea73e594b6303c8e6..86c67194825f5f143ac1b6c3c7d39961567fd886 100644 (file)
@@ -12,9 +12,8 @@ AC_PROG_INSTALL
 AM_INIT_AUTOMAKE([-Wall])
 AC_PROG_CC
 AM_PROG_CC_C_O
-AC_DISABLE_STATIC
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-AM_PROG_LIBTOOL
+LT_INIT([disable-static])
 
 AC_ARG_WITH([kernel],
        AS_HELP_STRING([--with-kernel=PATH],