From 07efd80468f6b595e6432edd28b8560ca7695ba0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 7 Mar 2023 11:11:26 -0800 Subject: 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:45: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:45: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:45: the top level libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. Signed-off-by: Alan Coopersmith --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e6c1b24..48a6e4f 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ AC_INIT(libXrender, [0.9.11], [libXrender]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIRS([m4]) PACKAGE_BRIEF="Library for the Render Extension to the X11 protocol" AC_SUBST(PACKAGE_BRIEF) @@ -42,7 +43,7 @@ AC_SUBST(PACKAGE_BRIEF) AM_INIT_AUTOMAKE([foreign dist-xz]) # Initialize libtool -AC_PROG_LIBTOOL +LT_INIT # Require X.Org macros 1.8 or later for AC_PROG_INSTALL m4_ifndef([XORG_MACROS_VERSION], -- cgit v1.2.1