From: Jeremy Sowden Date: Fri, 1 Oct 2021 17:41:41 +0000 (+0100) Subject: build: replace `AM_PROG_LIBTOOL` and `AC_DISABLE_STATIC` with `LT_INIT` X-Git-Tag: v1.8.8~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b32ae771c8cd7f0b72e4e21cd7d388c745fbae41;p=thirdparty%2Fiptables.git build: replace `AM_PROG_LIBTOOL` and `AC_DISABLE_STATIC` with `LT_INIT` `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 Signed-off-by: Florian Westphal --- diff --git a/configure.ac b/configure.ac index 00ae60c5..86c67194 100644 --- a/configure.ac +++ b/configure.ac @@ -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],