diff mbox series

[libnetfilter_log,7/9] build: replace `AM_PROG_LIBTOOL` and `AC_DISABLE_STATIC` with `LT_INIT`

Message ID 20211009113839.2765382-8-jeremy@azazel.net
State Accepted
Delegated to: Pablo Neira
Headers show
Series Build fixes | expand

Commit Message

Jeremy Sowden Oct. 9, 2021, 11:38 a.m. UTC
`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>
---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 1723426aa0c4..1dc9bc7847fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,8 +14,7 @@  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 AC_PROG_CC
 AM_PROG_CC_C_O
-AC_DISABLE_STATIC
-AM_PROG_LIBTOOL
+LT_INIT([disable_static])
 AC_PROG_INSTALL
 AC_PROG_LN_S