diff mbox series

configure.ac: fix the autoreconf AC_PROG_LIBTOOL warning

Message ID 20240801060241.148396-1-ivan.hu@canonical.com
State Accepted
Headers show
Series configure.ac: fix the autoreconf AC_PROG_LIBTOOL warning | expand

Commit Message

Ivan Hu Aug. 1, 2024, 6:02 a.m. UTC
BugLink: https://bugs.launchpad.net/fwts/+bug/2075487

autoreconf -ivf results in:

autoreconf: running: /usr/bin/autoconf --force
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
That apparently changed in 2008 per https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html.

autoupdate suggests making this change to configure.ac:

- AC_PROG_LIBTOOL
+ LT_INIT

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index ca2f54e2..ebf02193 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ 
           AC_PROG_CC
 	  AC_PROG_LEX
 	  AC_PROG_YACC
-	  AC_PROG_LIBTOOL
+	  LT_INIT
 	  AC_C_INLINE
 	  AM_PROG_CC_C_O
   	  AC_CHECK_FUNCS([localtime_r])