diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-08 13:48:44 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-08 13:48:44 -0800 |
commit | 9734a4dff061acdf3338fa40120db671ad883e23 (patch) | |
tree | 2e9d17598511bc61a1dab8b43079646fcb43be95 | |
parent | e083ac3836003f147cbcf5e875382e14df38d8de (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:3465: 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.ac | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a34e7c3..50b38af 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([xf86-video-nestedy], +AC_INIT([xf86-video-nested], [0.1.0], [https://gitlab.freedesktop.org/xorg/driver/xf86-video-nested/issues], [xf86-video-nested]) @@ -40,8 +40,7 @@ XORG_MACROS_VERSION(1.3) XORG_DEFAULT_OPTIONS # Initialize libtool -AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT([disable-static]) # Define a configure option for an alternate module directory AC_ARG_WITH(xorg-module-dir, [ --with-xorg-module-dir=DIR ], |