From b669c42077cf171fb0a5a8afa6bcaf17ed39c57f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 15 Jan 2024 11:33:07 -0800 Subject: [PATCH] configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:40: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:40: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:40: the top level Signed-off-by: Alan Coopersmith --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 02ad959..bdd5eeb 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,7 @@ AM_INIT_AUTOMAKE([foreign dist-xz]) AM_MAINTAINER_MODE # Initialize libtool -AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT([disable-static]) # Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION],