summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 09:57:42 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 09:57:42 -0800
commit14e430cab961dbe02ece71e6475aacd6f257ecee (patch)
tree132c8eca75192acb071b68f397f90ae787002a06 /configure.ac
parent58fae3137c5ccd80ea1cb56685cc3e6c6d92bcf6 (diff)
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:3515: AC_PROG_LIBTOOL is expanded from... configure.ac:45: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1b4b6d6..a435c28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,8 +41,7 @@ AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE([foreign dist-xz])
# Initialize libtool
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT([disable-static])
AH_TOP([#include "xorg-server.h"])