summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 11:33:07 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-16 16:50:24 -0800
commitb669c42077cf171fb0a5a8afa6bcaf17ed39c57f (patch)
tree5c29bb06df8b67188aef1d4a57bed3bb55194638
parentf7e18f4533d8661a1301ded310c7d5157b8b11fb (diff)
configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLHEADmaster
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 <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 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],