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💯 AC_PROG_LIBTOOL is expanded from...
configure.ac:40: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2024-01-15 11:33:07 -08:00
parent f7e18f4533
commit b669c42077

View File

@@ -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],