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-17 11:34:07 -0800
commit5b069df52d18d0bb08c7bdcd9e116d6ddf0b35aa (patch)
tree4615fa239e9c513c8aa0d0fa5b53d99488e3224b
parent64ee239f8263502a40f10f74cfcd6de60fd87ce6 (diff)
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>
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 41f1548..7c9eaa7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,10 +39,8 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-# Checks for programs.
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
-AC_PROG_CC
+# Initialize libtool
+LT_INIT([disable-static])
AH_TOP([#include "xorg-server.h"])