diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-07 11:11:26 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-07 11:11:26 -0800 |
commit | 07efd80468f6b595e6432edd28b8560ca7695ba0 (patch) | |
tree | d6b2e8cd37aed85732ee1c03f75cfa4ca37a02f9 | |
parent | e5e23272394c90731debd7e18dd167e8c25b5c15 (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:3465: AC_PROG_LIBTOOL is expanded from...
configure.ac:45: the top level
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e6c1b24..48a6e4f 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ AC_INIT(libXrender, [0.9.11], [libXrender]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIRS([m4]) PACKAGE_BRIEF="Library for the Render Extension to the X11 protocol" AC_SUBST(PACKAGE_BRIEF) @@ -42,7 +43,7 @@ AC_SUBST(PACKAGE_BRIEF) AM_INIT_AUTOMAKE([foreign dist-xz]) # Initialize libtool -AC_PROG_LIBTOOL +LT_INIT # Require X.Org macros 1.8 or later for AC_PROG_INSTALL m4_ifndef([XORG_MACROS_VERSION], |