summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-12-02 14:53:50 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-12-02 14:53:50 -0800
commit93396fdfb2afec4a04c9bdb8b512620d4083f1df (patch)
tree66d43ee70d571f8c01555c93044e76b4cda3078e
parent0cc6b723df6a98cf1dd76481e81cb47ebf07464b (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:39: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:39: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:39: 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 1d871b2..5e2ff20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,8 +35,7 @@ AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([foreign dist-xz])
# Initialize libtool
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT([disable-static])
# Initialize X.Org macros
m4_ifndef([XORG_MACROS_VERSION],