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 17:00:36 -0800
commitc904d2e1c36ab6d7f6b871ad4df00f64b85b8082 (patch)
treeae0124201dc52b5b42806fd562fee63fe3c483b2
parenta76ae9bff22700cd93bf845a7b576dc0ea5ff4bf (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:47: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:47: You should run autoupdate. aclocal.m4:3551: AC_PROG_LIBTOOL is expanded from... configure.ac:47: 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 577396c..e696bbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,8 +43,7 @@ AM_INIT_AUTOMAKE([foreign dist-xz])
AM_MAINTAINER_MODE
# Initialize libtool
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT([disable-static])
AH_TOP([#include "xorg-server.h"])