diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-08 14:58:05 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-08 14:58:05 -0800 |
commit | d84143baf5631873146acf93951fa3660be540e2 (patch) | |
tree | 64da7c1a71b161e5c4b1fdacd4322e21796e1fe9 | |
parent | 9dc298ead740047e10b157f96420be0ea3bb1244 (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.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index e283c8c..cceccb5 100644 --- a/configure.ac +++ b/configure.ac @@ -40,8 +40,7 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS # Initialize libtool -AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT([disable-static]) if test "x$GCC" = "xyes"; then CPPFLAGS="$CPPFLAGS -Wall" |