diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 13:18:15 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 13:18:15 -0800 |
commit | a60d768271cef4ff622b1dd34652c74d0ffc3125 (patch) | |
tree | 9b34e13df1c187248b206e734054dc33a43882cf | |
parent | 7ea8209e55904fdfaa193145a9f9c26e5b4fe020 (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:45: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:45: You should run autoupdate.
aclocal.m4:3571: AC_PROG_LIBTOOL is expanded from...
configure.ac:45: the top level
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index bf0e442..30ed0eb 100644 --- a/configure.ac +++ b/configure.ac @@ -41,8 +41,8 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS # Initialize libtool -AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT([disable-static]) + case $host_cpu in sparc*) CCASFLAGS="-x assembler-with-cpp -Wa,-Av9a" |