[PATCH] configure.ac: fix the autoreconf AC_PROG_LIBTOOL warning

Ivan Hu ivan.hu at canonical.com
Thu Aug 1 06:02:40 UTC 2024


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 at canonical.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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])
-- 
2.34.1




More information about the fwts-devel mailing list