39 lines
1020 B
Diff
39 lines
1020 B
Diff
From 554d6fda2144dcc879e09297518df5e9fee87855 Mon Sep 17 00:00:00 2001
|
|
From: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Date: Sun, 7 Jan 2024 09:17:53 -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:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
|
|
configure.ac:44: You should run autoupdate.
|
|
aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from...
|
|
configure.ac:44: the top level
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
---
|
|
configure.ac | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index fb6f9fe..0f39968 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -40,8 +40,7 @@ XORG_MACROS_VERSION(1.8)
|
|
XORG_DEFAULT_OPTIONS
|
|
|
|
# Initialize libtool
|
|
-AC_DISABLE_STATIC
|
|
-AC_PROG_LIBTOOL
|
|
+LT_INIT([disable-static])
|
|
|
|
AH_TOP([#include "xorg-server.h"])
|
|
|
|
--
|
|
2.33.0
|
|
|