[gparted] Update AC_PROG_LIBTOOL to LT_INIT in configure.ac (!106)
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Update AC_PROG_LIBTOOL to LT_INIT in configure.ac (!106)
- Date: Tue, 13 Sep 2022 16:03:39 +0000 (UTC)
commit 5e2927f1efbd33c607790af98560d6849921f4f7
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Sat Jun 4 09:06:54 2022 +0100
Update AC_PROG_LIBTOOL to LT_INIT in configure.ac (!106)
Autoconf 2.71 on Fedora 36 and Ubuntu 22.04 LTS has started reporting
a number of warnings about configure.ac containing obsolete macros. One
of them is this:
$ ./autogen.sh
...
Processing ./configure.ac
configure.ac:17: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:17: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:17: the top level
...
AC_PROG_LIBTOOL is deprecated and the replacement is LT_INIT [1].
LT_INIT is available in all supported distributions, for example RHEL /
CentOS 7 has libtool 2.4.2 with LT_INIT defined in
/usr/share/aclocal/libtool.m4 serial 57. The last known distribution
without LT_INIT was RHEL / CentOS 5 [2].
Update accordingly.
[1] Libtool Manual, 5.4.1 The LT_INIT macro
https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
"Macro: LT_INIT(options)
... AC_PROG_LIBTOOL and AM_PROG_LIBTOOL are deprecated names for
older versions of this macro; autoupdate will upgrade your
configure.ac files."
[2] 654cdc7335beda48f0da095a1d06e91870d9ac76
Update AM_PROG_LIBTOOL to AC_PROG_LIBTOOL in configure.ac (#734718)
Closes !106 - Update AC_PROG_LIBTOOL to LT_INIT in configure.ac
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 0e9ec191..6bde555a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ dnl checks for programs
dnl======================
AC_PROG_CXX
AC_PROG_CC
-AC_PROG_LIBTOOL
+LT_INIT
AC_PROG_AWK
AC_PROG_FGREP
AC_PROG_SED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]