From MAILER-DAEMON Mon Feb 10 14:58:38 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1thZvS-0001eK-Iy
	for mharc-libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:38 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thZvR-0001dt-3Q
 for libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:37 -0500
Received: from vcs3.savannah.gnu.org ([209.51.188.78])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thZvQ-0003h0-Oh
 for libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:36 -0500
Received: by vcs3.savannah.gnu.org (Postfix, from userid 228928)
 id 120F81394F95; Mon, 10 Feb 2025 14:58:36 -0500 (EST)
To: libtool-commit@gnu.org
Subject: development updated (7b49ee14 -> 8d9a120d)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <173921751550.2195029.11861493229979022779@vcs3.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 7b49ee14f9f350e60d890fc109143aa721bf76a9
X-Git-Newrev: 8d9a120d0aaf7c63be909d33b67039103be5a8ab
Auto-Submitted: auto-generated
Date: Mon, 10 Feb 2025 14:58:35 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Feb 2025 19:58:37 -0000

ildumi pushed a change to branch development.

    from 7b49ee14 ltmain.in: Increase revision limit to 19 digits
     new 60f3f19f Revert "libtool: Skip passing CXX flags test on NetBSD"
     new 8d9a120d libtool.m4: Update NetBSD postdeps for shared libraries


Summary of changes:
 m4/libtool.m4  |  2 +-
 tests/flags.at | 12 +-----------
 2 files changed, 2 insertions(+), 12 deletions(-)


From MAILER-DAEMON Mon Feb 10 14:58:41 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1thZvU-0001f1-O7
	for mharc-libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:41 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thZvS-0001e6-4P
 for libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:38 -0500
Received: from vcs3.savannah.gnu.org ([209.51.188.78])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thZvQ-0003h2-RB
 for libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:36 -0500
Received: by vcs3.savannah.gnu.org (Postfix, from userid 228928)
 id 615DC1394F9A; Mon, 10 Feb 2025 14:58:36 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173921751550.2195029.11861493229979022779@vcs3.savannah.gnu.org>
References: <173921751550.2195029.11861493229979022779@vcs3.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: 8d9a120d0aaf7c63be909d33b67039103be5a8ab
Auto-Submitted: auto-generated
Message-Id: <20250210195836.615DC1394F9A@vcs3.savannah.gnu.org>
Date: Mon, 10 Feb 2025 14:58:36 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Feb 2025 19:58:38 -0000

branch: development
commit 8d9a120d0aaf7c63be909d33b67039103be5a8ab
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Mon Feb 10 21:28:06 2025 +0200

    libtool.m4: Update NetBSD postdeps for shared libraries
    
    * m4/libtool.m4: Linking a shared version of 'gcc' is not possible on
      NetBSD, since the shared version of the library is 'gcc_s'. postdeps
      have been updated to remove 'gcc' instances with sed.
---
 m4/libtool.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index c677ccfd..b57b8c31 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7315,7 +7315,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 	fi
 	# Workaround some broken pre-1.5 toolchains
-	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:--as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc:--as-needed -lgcc_s:"'
 	;;
 
       *nto* | *qnx*)


From MAILER-DAEMON Mon Feb 10 14:58:41 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1thZvV-0001fH-Fu
	for mharc-libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:41 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thZvS-0001du-4C
 for libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:38 -0500
Received: from vcs3.savannah.gnu.org ([209.51.188.78])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thZvQ-0003h1-Qc
 for libtool-commit@gnu.org; Mon, 10 Feb 2025 14:58:36 -0500
Received: by vcs3.savannah.gnu.org (Postfix, from userid 228928)
 id 2B16A1394F97; Mon, 10 Feb 2025 14:58:36 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173921751550.2195029.11861493229979022779@vcs3.savannah.gnu.org>
References: <173921751550.2195029.11861493229979022779@vcs3.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: 60f3f19ff1e44a1693e6a5650caed9f8f6d8ff52
Auto-Submitted: auto-generated
Message-Id: <20250210195836.2B16A1394F97@vcs3.savannah.gnu.org>
Date: Mon, 10 Feb 2025 14:58:36 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Feb 2025 19:58:38 -0000

branch: development
commit 60f3f19ff1e44a1693e6a5650caed9f8f6d8ff52
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Mon Feb 10 21:25:00 2025 +0200

    Revert "libtool: Skip passing CXX flags test on NetBSD"
    
    This reverts commit 2da3546a0de5c952a2ffd20db6ff310a32a6f373.
---
 tests/flags.at | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/tests/flags.at b/tests/flags.at
index 425ba6af..b13ed0bd 100644
--- a/tests/flags.at
+++ b/tests/flags.at
@@ -23,17 +23,7 @@ m4_foreach([lt_tag], [CC, CXX, OBJC, OBJCXX, F77, FC, GCJ],
 AT_KEYWORDS([libtool])
 LT_AT_TAG(m4_defn([lt_tag]))
 
-case $host_os in
-  # FIXME: Locate shared version of gcc library for NetBSD.
-  netbsd*)
-    if test "CXX" = "lt_tag"; then
-      AT_SKIP_IF([:])
-    fi
-    ;;
-  *)
-    LDFLAGS="$LDFLAGS -no-undefined"
-    ;;
-esac
+LDFLAGS="$LDFLAGS -no-undefined"
 eval "`$LIBTOOL --config | $EGREP '^(FGREP)='`"
 
 m4_case(lt_tag,


From MAILER-DAEMON Tue Feb 11 11:08:23 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1thsoA-0001q1-2o
	for mharc-libtool-commit@gnu.org; Tue, 11 Feb 2025 11:08:22 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1thso2-0001ok-98
 for libtool-commit@gnu.org; Tue, 11 Feb 2025 11:08:16 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1thso2-0006l2-18
 for libtool-commit@gnu.org; Tue, 11 Feb 2025 11:08:14 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id E44A1C1D370; Tue, 11 Feb 2025 11:08:13 -0500 (EST)
Date: Tue, 11 Feb 2025 11:08:13 -0500
To: libtool-commit@gnu.org
Subject: branch development updated: libtool.m4: Fix replacement of postdeps
 in NetBSD
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <173929009340.3676.8475698965315376551@vcs2.savannah.gnu.org>
Reply-To: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 8d9a120d0aaf7c63be909d33b67039103be5a8ab
X-Git-Newrev: 4f7704015b8e328db231332d16f0af303a99d258
X-Git-Rev: 4f7704015b8e328db231332d16f0af303a99d258
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Feb 2025 16:08:17 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 4f770401 libtool.m4: Fix replacement of postdeps in NetBSD
4f770401 is described below

commit 4f7704015b8e328db231332d16f0af303a99d258
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Feb 11 18:04:45 2025 +0200

    libtool.m4: Fix replacement of postdeps in NetBSD
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70978
    
    * m4/libtool.m4: Remove 'gcc_s' postdeps, not only 'gcc'.
    * NEWS: Update.
---
 NEWS          | 2 ++
 m4/libtool.m4 | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 71ee0ef9..ed6fb977 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Fix wrongly deduplicated compiler dependencies on linux.
 
+  - Fix NetBSD postdeps for shared libraries.
+
 
 * Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index b57b8c31..96fc0885 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7315,7 +7315,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 	fi
 	# Workaround some broken pre-1.5 toolchains
-	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:--as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc:--as-needed -lgcc_s:"'
+	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:--as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc::"'
 	;;
 
       *nto* | *qnx*)


From MAILER-DAEMON Thu Feb 13 10:34:59 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibEx-0000Xi-EI
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000We-5H
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEv-0001KG-Rb
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:57 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id C0209C34474; Thu, 13 Feb 2025 10:34:57 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: e66abb28cf2e6cf33b3a3243b5ec7d29f5b1ad51
Auto-Submitted: auto-generated
Message-Id: <20250213153457.C0209C34474@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:57 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:58 -0000

branch: master
commit e66abb28cf2e6cf33b3a3243b5ec7d29f5b1ad51
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri Dec 6 16:24:07 2024 +0200

    libtool.texi: Document '--no-warnings' in manual
---
 doc/libtool.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index 87a866c3..e78dbeb8 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1383,6 +1383,9 @@ Report the warnings falling in category @var{CATEGORY}. The default
 category is @command{all}. To disable warnings, use the category
 @command{none}.
 
+@item --no-warnings
+Do not print out any warning messages.
+
 @end table
 
 The current @command{libtool} implementation is done with a shell script


From MAILER-DAEMON Thu Feb 13 10:34:59 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibEx-0000Xu-Ig
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000Wp-C5
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEw-0001KD-3w
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 9CEC4C3445D; Thu, 13 Feb 2025 10:34:57 -0500 (EST)
To: libtool-commit@gnu.org
Subject: master updated (b341c9f8 -> 13926861)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: b341c9f8d0e09b5bed0573964af4bc239b8cfd96
X-Git-Newrev: 13926861aa45aa60535c0ab8256de763dc4eb52f
Auto-Submitted: auto-generated
Date: Thu, 13 Feb 2025 10:34:57 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:58 -0000

ildumi pushed a change to branch master.

    from b341c9f8 libtool: Update copyright year
     new e66abb28 libtool.texi: Document '--no-warnings' in manual
     new e24d6ec9 ltmain.in: Replace old warnings with documentation
     new ea921da8 ltmain.in: Update info supplied to user for --tag usage
     new 37c07d2e demo.at: Skip test if deplibs_check_method is not pass_all
     new 1d871cc4 libtool: Add tagging support for OBJC and OBJCXX
     new bc61f975 ltmain.in: Compiler dependencies wrongly deduplicated
     new 7dc108c3 libtool.texi: Update tagging documentation
     new 64ecee50 ltoptions.m4: Make aix-soname assignment more clear
     new 1fc54e81 ltmain.in: Increase revision limit to 19 digits
     new 3bd36a0f Revert "libtool: Skip passing CXX flags test on NetBSD"
     new c7be1f22 libtool.m4: Update NetBSD postdeps for shared libraries
     new 13926861 m4: Update serials for modified files


Summary of changes:
 Makefile.am         |   2 +
 NEWS                |  13 ++++
 build-aux/ltmain.in |  53 +++++++------
 configure.ac        |   2 +
 doc/libtool.texi    |  24 ++++--
 m4/libtool.m4       | 211 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 m4/ltoptions.m4     |  10 ++-
 tests/demo.at       |   3 +
 tests/flags.at      |  64 +++++++++++++---
 tests/infer-tag.at  |  85 +++++++++++++++++++++
 tests/versioning.at |   4 +-
 11 files changed, 426 insertions(+), 45 deletions(-)


From MAILER-DAEMON Thu Feb 13 10:35:00 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibEx-0000YN-VO
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000X8-Ld
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEw-0001Kf-Dm
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 60D5BC34473; Thu, 13 Feb 2025 10:34:58 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 37c07d2ed01566e2399e9d4f17aabb74af0a919c
Auto-Submitted: auto-generated
Message-Id: <20250213153458.60D5BC34473@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:58 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:58 -0000

branch: master
commit 37c07d2ed01566e2399e9d4f17aabb74af0a919c
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Jan 7 17:07:53 2025 +0200

    demo.at: Skip test if deplibs_check_method is not pass_all
    
    The test 'deplibs_check_method' was designed to verify pass_all
    works as expected. Many warnings occur for systems that do not
    have deplibs_check_method set to pass_all, so this test is skipped
    on those.
    
    * tests/demo.at: Add check for deplibs_check_method=pass_all.
---
 tests/demo.at | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/demo.at b/tests/demo.at
index 0fff438a..036e434e 100644
--- a/tests/demo.at
+++ b/tests/demo.at
@@ -434,6 +434,9 @@ AT_CLEANUP
 
 AT_SETUP([deplibs_check_method])
 
+# Skip test if deplibs_check_method is not pass_all
+AT_CHECK([$LIBTOOL --config | $EGREP '^deplibs_check_method="pass_all' || exit 77], [], [ignore], [ignore])
+
 _LT_DEMO_SETUP
 
 AT_DATA([demo.mk],


From MAILER-DAEMON Thu Feb 13 10:35:02 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF0-0000Zj-47
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000Wd-5N
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEv-0001KC-RP
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:57 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 3BD96C34472; Thu, 13 Feb 2025 10:34:57 -0500 (EST)
Date: Thu, 13 Feb 2025 10:34:56 -0500
To: libtool-commit@gnu.org
Subject: branch development updated: m4: Update serials for modified files
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <173946089633.29414.10741339498505156624@vcs2.savannah.gnu.org>
Reply-To: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 4f7704015b8e328db231332d16f0af303a99d258
X-Git-Newrev: b267d3bd494d85c4fd1cd1f47d424c75e6016153
X-Git-Rev: b267d3bd494d85c4fd1cd1f47d424c75e6016153
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:58 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new b267d3bd m4: Update serials for modified files
b267d3bd is described below

commit b267d3bd494d85c4fd1cd1f47d424c75e6016153
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Thu Feb 13 17:27:45 2025 +0200

    m4: Update serials for modified files
---
 m4/libtool.m4   | 2 +-
 m4/ltoptions.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 96fc0885..def2c24a 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -32,7 +32,7 @@ m4_define([_LT_COPYING], [dnl
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ])
 
-# serial 63 LT_INIT
+# serial 64 LT_INIT
 
 
 # LT_PREREQ(VERSION)
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index 925415ad..725d14bb 100644
--- a/m4/ltoptions.m4
+++ b/m4/ltoptions.m4
@@ -8,7 +8,7 @@
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 10 ltoptions.m4
+# serial 11 ltoptions.m4
 
 # This is to help aclocal find these macros, as it can't see m4_define.
 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])


From MAILER-DAEMON Thu Feb 13 10:35:02 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF0-0000a6-DY
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEx-0000YH-U3
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEx-0001Lk-L4
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 9895EC34472; Thu, 13 Feb 2025 10:34:59 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: c7be1f229c1f59508f64b3e157de6c09e3341c77
Auto-Submitted: auto-generated
Message-Id: <20250213153459.9895EC34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:59 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:35:00 -0000

branch: master
commit c7be1f229c1f59508f64b3e157de6c09e3341c77
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Mon Feb 10 21:28:06 2025 +0200

    libtool.m4: Update NetBSD postdeps for shared libraries
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70978
    
    * m4/libtool.m4: Linking a shared version of 'gcc' is not possible on
      NetBSD, since the shared version of the library is 'gcc_s'. postdeps
      have been updated to remove gcc.
    * NEWS: Update.
---
 NEWS          | 2 ++
 m4/libtool.m4 | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 71ee0ef9..ed6fb977 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Fix wrongly deduplicated compiler dependencies on linux.
 
+  - Fix NetBSD postdeps for shared libraries.
+
 
 * Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index c677ccfd..96fc0885 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7315,7 +7315,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 	fi
 	# Workaround some broken pre-1.5 toolchains
-	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:--as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc::"'
 	;;
 
       *nto* | *qnx*)


From MAILER-DAEMON Thu Feb 13 10:35:03 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF1-0000ag-3x
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000Wm-Bj
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEw-0001KO-2u
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id F3A7BC34472; Thu, 13 Feb 2025 10:34:57 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: e24d6ec92bcb95e15a75bb6a66067f4b4da05b58
Auto-Submitted: auto-generated
Message-Id: <20250213153457.F3A7BC34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:57 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:58 -0000

branch: master
commit e24d6ec92bcb95e15a75bb6a66067f4b4da05b58
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri Dec 6 16:28:02 2024 +0200

    ltmain.in: Replace old warnings with documentation
    
    Without the ability to disable these old warnings individually, they
    are migrating to the relevant section of the documentation to inform
    new users that may not know. These warnings have been present for
    two decades, so existing users should be aware of this functionality.
    
    * build-aux/ltmain.in: Remove old warnings.
    * doc/libtool.texi: Document contents of warning messages.
---
 build-aux/ltmain.in | 2 --
 doc/libtool.texi    | 5 ++++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 534f1763..8c48f14b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5375,8 +5375,6 @@ func_mode_link ()
 	*-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
 	  # The PATH hackery in wrapper scripts is required on Windows
 	  # and Darwin in order for the loader to find any dlls it needs.
-	  func_warning "'-no-install' is ignored for $host"
-	  func_warning "assuming '-no-fast-install' instead"
 	  fast_install=no
 	  ;;
 	*) no_install=yes ;;
diff --git a/doc/libtool.texi b/doc/libtool.texi
index e78dbeb8..6fd164ac 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1589,7 +1589,10 @@ if the program won't be necessarily installed.
 Link an executable @var{output-file} that can't be installed and
 therefore doesn't need a wrapper script on systems that allow hardcoding
 of library paths.  Useful if the program is only used in the build tree,
-e.g., for testing or generating other files.
+e.g., for testing or generating other files. For Windows and Darwin hosts,
+@option{-no-install} is ignored, and @option{-no-fast-install} is assumed.
+@footnote{The PATH hackery in wrapper scripts is required on Windows and
+Darwin in order for the loader to find any dlls it needs.}
 
 @item -no-undefined
 Declare that @var{output-file} does not depend on any libraries other


From MAILER-DAEMON Thu Feb 13 10:35:03 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF1-0000aq-9Z
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000X7-LQ
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEw-0001KY-8v
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 3BD26C34472; Thu, 13 Feb 2025 10:34:58 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: ea921da8463fa1062dd409f3e2b64fa022a7c14f
Auto-Submitted: auto-generated
Message-Id: <20250213153458.3BD26C34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:58 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:58 -0000

branch: master
commit ea921da8463fa1062dd409f3e2b64fa022a7c14f
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Sat Jan 4 14:53:13 2025 +0200

    ltmain.in: Update info supplied to user for --tag usage
    
    * build-aux/ltmain.in: Make error message more explicit for users,
      and add tag name information to help menu.
    * tests/infer-tag.at: Add testcase for unsupported compiler use.
---
 build-aux/ltmain.in | 19 +++++++++++++++++--
 tests/infer-tag.at  | 17 +++++++++++++++++
 2 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 8c48f14b..61266d20 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -149,6 +149,20 @@ func_help ()
     func_usage_message
     $ECHO "$long_help_message
 
+If a TAG is supplied, it must use one of the tag names below:
+
+    Tag Name        Language Name
+       CC              C
+       CXX             C++
+       GCJ             Java
+       F77             Fortran 77
+       FC              Fortran
+       GO              Go
+       RC              Windows Resource
+
+If you do not see a tag name associated with your programming language, then
+you are using a compiler that $progname does not support.
+
 MODE must be one of the following:
 
        clean           remove files from the build directory
@@ -849,8 +863,9 @@ func_infer_tag ()
 	# was found and let the user know that the "--tag" command
 	# line option must be used.
 	if test -z "$tagname"; then
-	  func_echo "unable to infer tagged configuration"
-	  func_fatal_error "specify a tag with '--tag'"
+	  func_echo "unable to infer tagged configuration with compiler."
+	  func_echo "Possible use of unsupported compiler."
+	  func_fatal_error "specify a tag with '--tag'. For more information, try '$progname --help'."
 #	else
 #	  func_verbose "using $tagname tagged configuration"
 	fi
diff --git a/tests/infer-tag.at b/tests/infer-tag.at
index 079bf7a8..2f4e6777 100644
--- a/tests/infer-tag.at
+++ b/tests/infer-tag.at
@@ -93,3 +93,20 @@ AT_CHECK([$LIBTOOL --mode=compile $GCJ $GCJCFLAGS -c A.java],
 	 [], [ignore], [ignore])
 
 AT_CLEANUP
+
+# Unsupported compiler check
+AT_SETUP([Unsupported compiler inferred tag check])
+AT_KEYWORDS([libtool])
+
+AT_DATA([a.asm],
+[[section .text
+     global _start
+  _start:
+     mov eax,1
+]])
+
+AT_XFAIL_IF([:])
+AT_CHECK([$LIBTOOL --mode=compile nasm -felf64 a.asm],
+	 [0], [ignore], [ignore])
+
+AT_CLEANUP


From MAILER-DAEMON Thu Feb 13 10:35:03 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF1-0000b5-EO
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEw-0000XO-UO
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEw-0001L0-M9
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 9EE79C34472; Thu, 13 Feb 2025 10:34:58 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 1d871cc45bf13c643c61d3d368b50d7e3455c0b8
Auto-Submitted: auto-generated
Message-Id: <20250213153458.9EE79C34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:58 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:59 -0000

branch: master
commit 1d871cc45bf13c643c61d3d368b50d7e3455c0b8
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri Jan 10 19:54:28 2025 +0200

    libtool: Add tagging support for OBJC and OBJCXX
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67754
    
    * Makefile.am: Set environment variables for tests.
    * configure.ac: Add language support for Objective-C and Objective-C++.
    * build-aux/ltmain.in: Update help message for tags available.
    * m4/libtool.m4: Add tagging support for OBJC and OBJCXX.
    * tests/flags.at: Add tests for passing OBJC and OBJCXX flags.
    * tests/infer-tag.at: Add tests for inferring OBJC and OBJCXX tags.
    * doc/libtool.texi: Update documentation.
    * NEWS: Update.
---
 Makefile.am         |   2 +
 NEWS                |   4 +
 build-aux/ltmain.in |   2 +
 configure.ac        |   2 +
 doc/libtool.texi    |  11 ++-
 m4/libtool.m4       | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/flags.at      |  52 ++++++++++++-
 tests/infer-tag.at  |  68 +++++++++++++++++
 8 files changed, 344 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 39872b6d..39b35bb7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -743,6 +743,8 @@ TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
 	OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)" \
 	SHELL="$(SHELL)" CONFIG_SHELL="$(SHELL)" \
 	CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" CXXCPP="$(CXXCPP)" \
+	OBJC="$(OBJC)" OBJCFLAGS="$(OBJCFLAGS)" \
+	OBJCXX="$(OBJCXX)" OBJCXXFLAGS="$(OBJCXXFLAGS)" \
 	F77="$(F77)" FFLAGS="$(FFLAGS)" \
 	FC="$(FC)" FCFLAGS="$(FCFLAGS)" \
 	GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" \
diff --git a/NEWS b/NEWS
index 0b2e8a11..e1302ab7 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features:
+
+  - Add tagging for Objective-C and Objective-C++, OBJC and OBJCXX.
+
 
 * Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
 
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 61266d20..43cd3b1a 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -154,6 +154,8 @@ If a TAG is supplied, it must use one of the tag names below:
     Tag Name        Language Name
        CC              C
        CXX             C++
+       OBJC            Objective-C
+       OBJCXX          Objective-C++
        GCJ             Java
        F77             Fortran 77
        FC              Fortran
diff --git a/configure.ac b/configure.ac
index 42bb2957..f9a485ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,6 +152,8 @@ _LTDL_SETUP
 
 # Enable all the language support we can
 LT_LANG(C++)
+LT_LANG(Objective-C)
+LT_LANG(Objective-C++)
 LT_LANG(Fortran 77)
 LT_LANG(Fortran)
 LT_LANG(Go)
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 6fd164ac..6db39346 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -2381,7 +2381,8 @@ specifying @option{--enable-pic} to @command{configure}.
 @defmac LT_LANG (@var{language})
 Enable @command{libtool} support for the language given if it
 has not yet already been enabled.  Languages accepted are ``C++'',
-``Fortran 77'', ``Java'', ``Go'', and ``Windows Resource''.
+``Objective-C'', ``Objective-C++'', ``Fortran 77'', ``Java'', ``Go'',
+and ``Windows Resource''.
 
 If Autoconf language support macros such as @code{AC_PROG_CXX} are
 used in your @file{configure.ac}, Libtool language support will automatically
@@ -2997,6 +2998,8 @@ correspondence between language names and tags names.
 @item Language name    @tab Tag name
 @item C                @tab CC
 @item C++              @tab CXX
+@item Objective-C      @tab OBJC
+@item Objective-C++    @tab OBJCXX
 @item Java             @tab GCJ
 @item Fortran 77       @tab F77
 @item Fortran          @tab FC
@@ -5512,7 +5515,8 @@ Automake.
 
 @item @file{tests/flags.at}
 Tests include checks that compile and linker flags get passed through
-@command{libtool}.  Tests flags for C, C++, Fortran 77, and Fortran 90.
+@command{libtool}.  Tests flags for C, C++, Objective-C, Objective-C++,
+Fortran 77, Fortran 90, and Java.
 
 @item @file{tests/help.at}
 Tests a variety of mode commands, including mode short-hands, to ensure basic
@@ -5525,7 +5529,8 @@ on @file{libconv}, which depends on @file{libb}, which depends on @file{liba}.
 
 @item @file{tests/infer-tag.at}
 Tests that @code{func_infer_tag} works by compiling various code snippets in
-various languages (C, C++, Fortran, Java) without a @option{--tag} flag.
+various languages (C, C++, Objective-C, Objective-C++, Fortran, Java) without
+a @option{--tag} flag.
 
 @item @file{tests/inherited_flags.at}
 Tests the functionality of the @code{inherited_linker_flags} variable in
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index c0d19e45..c677ccfd 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -506,6 +506,36 @@ m4_define([_LT_LIBTOOL_TAG_VARS],
 # ------------------------------
 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
 
+# _LT_OBJECTIVE_C
+# ------------------------------
+m4_defun([_LT_OBJECTIVE_C], [
+  AC_CACHE_CHECK([for Objective C compilation],
+    [lt_cv_objc_compiles],
+    [ save_CFLAGS=$CFLAGS
+      CFLAGS=$OBJCFLAGS
+      AC_COMPILE_IFELSE(
+        [AC_LANG_PROGRAM([#import <Foundation/Foundation.h>
+@interface Addition : NSObject
+- (int)this:(int)a that:(int)b;
+@end
+
+@implementation Addition
+- (int)this:(int)a that:(int)b
+{
+  return a + b;
+}
+@end
+],[])],
+        lt_cv_objc_compiles=yes,
+        lt_cv_objc_compiles=no
+      )
+      CFLAGS=$save_CFLAGS
+    ]
+  )
+  objc_compiles=$lt_cv_objc_compiles
+  _LT_DECL([], [objc_compiles], [1],
+    [Check for compiling Objective C and C++ code])
+])
 
 # _LT_CONFIG_COMMANDS
 # -------------------
@@ -826,6 +856,8 @@ AC_DEFUN([LT_LANG],
 m4_case([$1],
   [C],			[_LT_LANG(C)],
   [C++],		[_LT_LANG(CXX)],
+  [Objective-C],		[_LT_LANG(OBJC)],
+  [Objective-C++],	[_LT_LANG(OBJCXX)],
   [Go],			[_LT_LANG(GO)],
   [Java],		[_LT_LANG(GCJ)],
   [Fortran 77],		[_LT_LANG(F77)],
@@ -907,6 +939,14 @@ AC_PROVIDE_IFELSE([AC_PROG_GO],
   [LT_LANG(GO)],
   [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
 
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+  [LT_LANG(OBJC)],
+  [m4_define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[LT_LANG(OBJC)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+  [LT_LANG(OBJCXX)],
+  [m4_define([AC_PROG_OBJCXX], defn([AC_PROG_OBJCXX])[LT_LANG(OBJCXX)])])
+
 AC_PROVIDE_IFELSE([LT_PROG_RC],
   [LT_LANG(RC)],
   [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -8242,6 +8282,151 @@ CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_GO_CONFIG
 
 
+# _LT_LANG_OBJC_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Objective-C compiler
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_OBJC_CONFIG],
+[AC_REQUIRE([LT_PROG_OBJC])dnl
+AC_LANG_SAVE
+
+# Source file extension for OBJC test sources.
+ac_ext=m
+
+# Object file extension for compiled OBJC test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(void){return(0);}'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Check for compilation issues with OBJC flags
+_LT_OBJECTIVE_C
+if test "yes" = "$lt_cv_gnustep_exists"; then
+  OBJCFLAGS="$OBJCFLAGS `gnustep-config --objc-flags`"
+fi
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${OBJC-"gcc"}
+CFLAGS=$OBJCFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)=$LD
+_LT_CC_BASENAME([$compiler])
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+  _LT_COMPILER_NO_RTTI($1)
+  _LT_COMPILER_PIC($1)
+  _LT_COMPILER_C_O($1)
+  _LT_COMPILER_FILE_LOCKS($1)
+  _LT_LINKER_SHLIBS($1)
+  _LT_LINKER_HARDCODE_LIBPATH($1)
+
+  _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_OBJC_CONFIG
+
+
+# _LT_LANG_OBJCXX_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Objective-C++ compiler
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_OBJCXX_CONFIG],
+[AC_REQUIRE([LT_PROG_OBJCXX])dnl
+AC_LANG_SAVE
+
+# Source file extension for OBJCXX test sources.
+ac_ext=mm
+
+# Object file extension for compiled OBJCXX test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Check for compilation issues with OBJCXX flags
+_LT_OBJECTIVE_C
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${OBJCXX-"g++"}
+CFLAGS=$OBJCXXFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)=$LD
+_LT_CC_BASENAME([$compiler])
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+  _LT_COMPILER_NO_RTTI($1)
+  _LT_COMPILER_PIC($1)
+  _LT_COMPILER_C_O($1)
+  _LT_COMPILER_FILE_LOCKS($1)
+  _LT_LINKER_SHLIBS($1)
+  _LT_LINKER_HARDCODE_LIBPATH($1)
+
+  _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_OBJCXX_CONFIG
+
+
 # _LT_LANG_RC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for the Windows resource compiler
@@ -8295,6 +8480,28 @@ CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_RC_CONFIG
 
 
+# LT_PROG_OBJC
+# -----------
+AC_DEFUN([LT_PROG_OBJC],
+[AC_CHECK_TOOL(OBJC, gcc,)
+  AC_CHECK_TOOL(GNUSTEP_CONFIG, gnustep-config,)
+  if test Xgnustep-config = X"$GNUSTEP_CONFIG"; then
+    test set = "${OBJCFLAGS+set}" || OBJCFLAGS="`gnustep-config --objc-flags`"
+  fi
+  AC_SUBST(OBJCFLAGS)])])[]dnl
+])
+
+# LT_PROG_OBJCXX
+# -----------
+AC_DEFUN([LT_PROG_OBJCXX],
+[AC_CHECK_TOOL(OBJCXX, g++,)
+  AC_CHECK_TOOL(GNUSTEP_CONFIG, gnustep-config,)
+  if test Xgnustep-config = X"$GNUSTEP_CONFIG"; then
+    test set = "${OBJCXXFLAGS+set}" || OBJCXXFLAGS="`gnustep-config --objc-flags`"
+  fi
+  AC_SUBST(OBJCXXFLAGS)])])[]dnl
+])
+
 # LT_PROG_GCJ
 # -----------
 AC_DEFUN([LT_PROG_GCJ],
diff --git a/tests/flags.at b/tests/flags.at
index 8c40a7af..425ba6af 100644
--- a/tests/flags.at
+++ b/tests/flags.at
@@ -18,7 +18,7 @@
 # along with GNU Libtool.  If not, see <https://www.gnu.org/licenses/>.
 ####
 
-m4_foreach([lt_tag], [CC, CXX, F77, FC, GCJ],
+m4_foreach([lt_tag], [CC, CXX, OBJC, OBJCXX, F77, FC, GCJ],
 [AT_SETUP([passing lt_tag flags through libtool])
 AT_KEYWORDS([libtool])
 LT_AT_TAG(m4_defn([lt_tag]))
@@ -47,6 +47,52 @@ compile="$CC $CPPFLAGS $CFLAGS" link="$CC $CFLAGS $LDFLAGS" source=a.c
 ]])
 compile="$CXX $CPPFLAGS $CXXFLAGS" link="$CXX $CXXFLAGS $LDFLAGS" source=a.cpp
 ],
+[OBJC], [AT_DATA([a.m],
+[[#import <Foundation/Foundation.h>
+
+@interface Addition : NSObject
+- (int)this:(int)a that:(int)b;
+@end
+
+@implementation Addition
+- (int)this:(int)a that:(int)b
+{
+  return a + b;
+}
+@end
+
+int main() {
+    Addition *add = [[Addition alloc] init];
+    int result = [add this:10 that:20];
+    printf("add this:10 that:20 = %d", result);
+    return 0;
+}
+]])
+compile="$OBJC $CPPFLAGS $OBJCFLAGS" link="$OBJC $OBJCFLAGS $LDFLAGS" source=a.m
+],
+[OBJCXX], [AT_DATA([a.mm],
+[[#import <Foundation/Foundation.h>
+
+@interface Addition : NSObject
+- (int)this:(int)a that:(int)b;
+@end
+
+@implementation Addition
+- (int)this:(int)a that:(int)b
+{
+  return a + b;
+}
+@end
+
+int main() {
+    Addition *add = [[Addition alloc] init];
+    int result = [add this:10 that:20];
+    printf("add this:10 that:20 = %d", result);
+    return 0;
+}
+]])
+compile="$OBJCXX $CPPFLAGS $OBJCXXFLAGS" link="$OBJCXX $OBJCXXFLAGS $LDFLAGS" source="a.mm -o a.o"
+],
 [F77], [AT_DATA([a.f],
 [[      program main
       end
@@ -74,6 +120,10 @@ fi
 
 eval "`$LIBTOOL --tag=lt_tag --config | $EGREP '^(wl|archive_cmds)='`"
 
+if test OBJC = lt_tag || test OBJCXX = lt_tag; then
+  AT_CHECK([$LIBTOOL --config | $EGREP '^objc_compiles="no"' && (exit 77)], 1)
+fi
+
 AT_CHECK([$LIBTOOL --tag=lt_tag --mode=compile $compile -c $source],
 	 [], [ignore], [ignore])
 
diff --git a/tests/infer-tag.at b/tests/infer-tag.at
index 2f4e6777..2f1818e2 100644
--- a/tests/infer-tag.at
+++ b/tests/infer-tag.at
@@ -50,6 +50,74 @@ AT_CHECK([$LIBTOOL --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c a.cpp],
 
 AT_CLEANUP
 
+AT_SETUP([OBJC inferred tag])
+LT_AT_TAG([OBJC])
+AT_KEYWORDS([libtool])
+
+AT_CHECK([$LIBTOOL --config | $EGREP '^objc_compiles="no"' && (exit 77)], 1)
+
+AT_DATA([a.m],
+[[
+#import <Foundation/Foundation.h>
+
+@interface Addition : NSObject
+- (int)this:(int)a that:(int)b;
+@end
+
+@implementation Addition
+- (int)this:(int)a that:(int)b
+{
+  return a + b;
+}
+@end
+
+int main() {
+    Addition *add = [[Addition alloc] init];
+    int result = [add this:10 that:20];
+    printf("add this:10 that:20 = %d", result);
+    return 0;
+}
+]])
+
+AT_CHECK([$LIBTOOL --mode=compile $OBJC $CPPFLAGS $OBJCFLAGS -c a.m],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([OBJCXX inferred tag])
+LT_AT_TAG([OBJCXX])
+AT_KEYWORDS([libtool])
+
+AT_CHECK([$LIBTOOL --config | $EGREP '^objc_compiles="no"' && (exit 77)], 1)
+
+AT_DATA([a.mm],
+[[
+#import <Foundation/Foundation.h>
+
+@interface Addition : NSObject
+- (int)this:(int)a that:(int)b;
+@end
+
+@implementation Addition
+- (int)this:(int)a that:(int)b
+{
+  return a + b;
+}
+@end
+
+int main() {
+    Addition *add = [[Addition alloc] init];
+    int result = [add this:10 that:20];
+    printf("add this:10 that:20 = %d", result);
+    return 0;
+}
+]])
+
+AT_CHECK([$LIBTOOL --mode=compile $OBJCXX $CPPFLAGS $OBJCXXFLAGS -c a.mm -o a.o],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP
+
 AT_SETUP([F77 inferred tag])
 LT_AT_TAG([F77])
 AT_KEYWORDS([libtool])


From MAILER-DAEMON Thu Feb 13 10:35:03 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF1-0000bJ-J4
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEx-0000Y1-Kw
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEx-0001LZ-Bz
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 520FAC34472; Thu, 13 Feb 2025 10:34:59 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 1fc54e815f85213f4daafb4806b077d3c98a7cfa
Auto-Submitted: auto-generated
Message-Id: <20250213153459.520FAC34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:59 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:35:00 -0000

branch: master
commit 1fc54e815f85213f4daafb4806b077d3c98a7cfa
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Jan 28 16:23:54 2025 +0200

    ltmain.in: Increase revision limit to 19 digits
    
    Current, age, and revision values for a library seem to have been chosen
    arbitrarily, which is limiting users to a 5 digit maximum. Now, users
    can set revision to at most 19 digits, which is referencing Unix epoch
    time in nanoseconds.
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75880
    
    * build-aux/ltmain.in: Update revision check to allow up to 19 digits.
    * tests/versioning.at: Add more version checks to test.
    * NEWS: Update.
---
 NEWS                |  3 +++
 build-aux/ltmain.in | 28 ++++++++++------------------
 tests/versioning.at |  4 ++--
 3 files changed, 15 insertions(+), 20 deletions(-)

diff --git a/NEWS b/NEWS
index 2412efff..71ee0ef9 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Add tagging for Objective-C and Objective-C++, OBJC and OBJCXX.
 
+  - Increase 5 digit limit on revision value for libraries to 19 digits,
+    which is referencing Unix epoch time in nanoseconds.
+
 ** Bug fixes:
 
   - Fix wrongly deduplicated compiler dependencies on linux.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index caec9db2..c59459d0 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -7177,29 +7177,21 @@ func_mode_link ()
 	esac
 
 	# Check that each of the things are valid numbers.
-	case $current in
-	0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
-	*)
-	  func_error "CURRENT '$current' must be a nonnegative integer"
+	if echo "$current" | $EGREP -v '(^0$)|(^[1-9]$)|(^[1-9][0-9]{1,4}$)' > /dev/null; then
+	  func_error "CURRENT '$current' must be a nonnegative integer and <= 5 digits"
 	  func_fatal_error "'$vinfo' is not valid version information"
-	  ;;
-	esac
+	fi
 
-	case $revision in
-	0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
-	*)
-	  func_error "REVISION '$revision' must be a nonnegative integer"
+	# Currently limiting revision length by Unix epoch time in nanoseconds.
+	if echo "$revision" | $EGREP -v '(^0$)|(^[1-9]$)|(^[1-9][0-9]{1,18}$)' > /dev/null; then
+	  func_error "REVISION '$revision' must be a nonnegative integer and <= 19 digits"
 	  func_fatal_error "'$vinfo' is not valid version information"
-	  ;;
-	esac
+	fi
 
-	case $age in
-	0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
-	*)
-	  func_error "AGE '$age' must be a nonnegative integer"
+	if echo "$age" | $EGREP -v '(^0$)|(^[1-9]$)|(^[1-9][0-9]{1,4}$)' > /dev/null; then
+	  func_error "AGE '$age' must be a nonnegative integer and <= 5 digits"
 	  func_fatal_error "'$vinfo' is not valid version information"
-	  ;;
-	esac
+	fi
 
 	if test "$age" -gt "$current"; then
 	  func_error "AGE '$age' is greater than the current interface number '$current'"
diff --git a/tests/versioning.at b/tests/versioning.at
index 902b0f7d..0725cef2 100644
--- a/tests/versioning.at
+++ b/tests/versioning.at
@@ -120,7 +120,7 @@ done
 # and large ones.
 # TODO: check something like 1001:2419:189 after fixing issues
 # for 'version_type's of 'irix', 'nonstopux', or 'osf'.
-for version_info in 1 1:2 0:0:0 1:1:1 13:241:7; do
+for version_info in 1 1:2 0:0:0 1:1:1 13:241:7 55555:1234567890123456789:55555; do
   AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
 	   [-version-info $version_info -rpath $libdir], [], [ignore], [ignore])
 done
@@ -131,7 +131,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
 AT_CHECK([$GREP 'AGE.*is greater than' stderr], [], [ignore])
 
 # Hypothesis: we diagnose invalid values.
-for version_info in 1:2:3:4 -1 0:-1 0:0:-1; do
+for version_info in 1:2:3:4 -1 0:-1 0:0:-1 666666:1:1 1:1:666666 0:12345678901234567890:0; do
   AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
 	   [-version-info $version_info -rpath $libdir], [1], [ignore], [ignore])
 done


From MAILER-DAEMON Thu Feb 13 10:35:03 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF1-0000bc-OR
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEy-0000Yr-3F
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:00 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEx-0001Ls-QK
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id BB62AC34472; Thu, 13 Feb 2025 10:34:59 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 13926861aa45aa60535c0ab8256de763dc4eb52f
Auto-Submitted: auto-generated
Message-Id: <20250213153459.BB62AC34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:59 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:35:00 -0000

branch: master
commit 13926861aa45aa60535c0ab8256de763dc4eb52f
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Thu Feb 13 17:27:45 2025 +0200

    m4: Update serials for modified files
---
 m4/libtool.m4   | 2 +-
 m4/ltoptions.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 96fc0885..def2c24a 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -32,7 +32,7 @@ m4_define([_LT_COPYING], [dnl
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ])
 
-# serial 63 LT_INIT
+# serial 64 LT_INIT
 
 
 # LT_PREREQ(VERSION)
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index 925415ad..725d14bb 100644
--- a/m4/ltoptions.m4
+++ b/m4/ltoptions.m4
@@ -8,7 +8,7 @@
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 10 ltoptions.m4
+# serial 11 ltoptions.m4
 
 # This is to help aclocal find these macros, as it can't see m4_define.
 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])


From MAILER-DAEMON Thu Feb 13 10:35:05 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF2-0000cG-Sl
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:04 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEx-0000Xc-9q
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEx-0001LJ-1T
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 01CFAC34472; Thu, 13 Feb 2025 10:34:58 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, Karl Berry <karl@freefriends.org>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 7dc108c32456ca20f0775eca180e67b6333705f7
Auto-Submitted: auto-generated
Message-Id: <20250213153459.01CFAC34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:58 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:59 -0000

branch: master
commit 7dc108c32456ca20f0775eca180e67b6333705f7
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Sun Dec 10 11:06:03 2023 -0700

    libtool.texi: Update tagging documentation
    
    * doc/libtool.texi: Failure to infer a tag results in a fatal error,
      not in defaulting to tag CC.
---
 doc/libtool.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index 6db39346..ce0212ed 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3009,7 +3009,7 @@ correspondence between language names and tags names.
 
 @command{libtool} tries to automatically infer what tag to use from
 the compiler command being used to compile or link.  If it can't infer
-a tag, then it defaults to the configuration for the @code{C} language.
+a tag, then it exits immediately with a fatal error.
 
 The tag can also be specified using @command{libtool}'s
 @option{--tag=@var{tag}} option (@pxref{Invoking libtool}).  It is a good


From MAILER-DAEMON Thu Feb 13 10:35:05 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF3-0000cL-19
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:05 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEx-0000Xn-Fn
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEx-0001LS-71
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 26ED8C34472; Thu, 13 Feb 2025 10:34:59 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 64ecee50f576ddbd70e914546587216871109253
Auto-Submitted: auto-generated
Message-Id: <20250213153459.26ED8C34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:59 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:59 -0000

branch: master
commit 64ecee50f576ddbd70e914546587216871109253
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Sat Jan 18 15:46:34 2025 +0200

    ltoptions.m4: Make aix-soname assignment more clear
    
    The option --with-aix-soname=svr4 does not work the same as using
    LT_INIT([aix-soname=svr4]), since the configure script is reordered
    depending on which is used. The reordering causes 'enable_shared'
    to not be set before processing for 'aix-soname' when using LT_INIT.
    
    For LT_INIT([aix-soname=svr4]) to be set as intended, 'shared' must
    be set before 'aix-soname=svr4', like LT_INIT([shared aix-soname=svr4]).
    
    * m4/ltoptions.m4: Warn user if 'enable_shared' has not been set when
      setting 'aix-soname' and add configuration messages to show which
      variant of shared library versioning has been set for 'aix-soname'.
    * doc/libtool.texi: Update to specify need for 'shared' to be used
      before 'aix-soname' for LT_INIT.
---
 doc/libtool.texi | 3 +++
 m4/ltoptions.m4  | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index ce0212ed..21bb8908 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -2332,6 +2332,9 @@ kinds of shared archives are built. The @code{.la} pseudo-archive specifies
 one or the other depending on whether @option{-brtl} is specified in
 @code{LDFLAGS} when the library is built.
 
+When using @code{LT_INIT}, the @code{shared} option must be set before the
+@code{aix-soname=(svr4|both)} option to ensure shared libraries are built.
+
 @item disable-fast-install
 Change the default behaviour for @code{LT_INIT} to disable
 optimization for fast installation.  The user may still override this
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index 7e4d3604..925415ad 100644
--- a/m4/ltoptions.m4
+++ b/m4/ltoptions.m4
@@ -370,8 +370,16 @@ power*-*-aix[[5-9]]*,yes)
     fi
   fi
   ;;
+power*-*-aix[[5-9]]*,'')
+  AC_MSG_WARN([for $host, specify if building shared libraries for versioning (svr4|both)])
+  AC_MSG_CHECKING([which variant of shared library versioning to provide])
+  with_aix_soname=aix
+  AC_MSG_RESULT([(default) $with_aix_soname])
+  ;;
 *)
+  AC_MSG_CHECKING([which variant of shared library versioning to provide])
   with_aix_soname=aix
+  AC_MSG_RESULT([(default) $with_aix_soname])
   ;;
 esac
 


From MAILER-DAEMON Thu Feb 13 10:35:05 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF3-0000cb-6h
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:05 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEx-0000YF-Pw
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEx-0001Le-GU
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 73B55C34472; Thu, 13 Feb 2025 10:34:59 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 3bd36a0ff49313e9685d1ca0229e6920cbb193b2
Auto-Submitted: auto-generated
Message-Id: <20250213153459.73B55C34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:59 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:35:00 -0000

branch: master
commit 3bd36a0ff49313e9685d1ca0229e6920cbb193b2
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Mon Feb 10 21:25:00 2025 +0200

    Revert "libtool: Skip passing CXX flags test on NetBSD"
    
    This reverts commit 2da3546a0de5c952a2ffd20db6ff310a32a6f373.
---
 tests/flags.at | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/tests/flags.at b/tests/flags.at
index 425ba6af..b13ed0bd 100644
--- a/tests/flags.at
+++ b/tests/flags.at
@@ -23,17 +23,7 @@ m4_foreach([lt_tag], [CC, CXX, OBJC, OBJCXX, F77, FC, GCJ],
 AT_KEYWORDS([libtool])
 LT_AT_TAG(m4_defn([lt_tag]))
 
-case $host_os in
-  # FIXME: Locate shared version of gcc library for NetBSD.
-  netbsd*)
-    if test "CXX" = "lt_tag"; then
-      AT_SKIP_IF([:])
-    fi
-    ;;
-  *)
-    LDFLAGS="$LDFLAGS -no-undefined"
-    ;;
-esac
+LDFLAGS="$LDFLAGS -no-undefined"
 eval "`$LIBTOOL --config | $EGREP '^(FGREP)='`"
 
 m4_case(lt_tag,


From MAILER-DAEMON Thu Feb 13 10:35:02 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tibF0-0000Zo-8F
	for mharc-libtool-commit@gnu.org; Thu, 13 Feb 2025 10:35:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tibEx-0000XV-4Z
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:59 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tibEw-0001LE-SZ
 for libtool-commit@gnu.org; Thu, 13 Feb 2025 10:34:58 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id CBDC0C34472; Thu, 13 Feb 2025 10:34:58 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: =?utf-8?b?bGlidG9vbEBnbnUub3JnLCBGcsOpZMOpcmljIELDqXJh?=@vcs2.savannah.gnu.org,
 =?utf-8?b?dCA8ZmJlcmF0QHJlZGhhdC5jb20+?=@vcs2.savannah.gnu.org
In-Reply-To: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
References: <173946089638.29414.431058945223795676@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: bc61f9756ff94735e0fb910df5e7eb193e81ed2c
Auto-Submitted: auto-generated
Message-Id: <20250213153458.CBDC0C34472@vcs2.savannah.gnu.org>
Date: Thu, 13 Feb 2025 10:34:58 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2025 15:34:59 -0000

branch: master
commit bc61f9756ff94735e0fb910df5e7eb193e81ed2c
Author: Frédéric Bérat <fberat@redhat.com>
AuthorDate: Thu Feb 3 16:26:55 2022 +0100

    ltmain.in: Compiler dependencies wrongly deduplicated
    
    Removing duplicate compiler dependencies causes linking problems on
    linux with GCC libraries. This deduplication optimization is no longer
    used for linux hosts.
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75462
    
    * build-aux/ltmain.in: Add linux to list of hosts that do not remove
      duplicate compiler dependencies.
    * NEWS: Update.
---
 NEWS                | 4 ++++
 build-aux/ltmain.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index e1302ab7..2412efff 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Add tagging for Objective-C and Objective-C++, OBJC and OBJCXX.
 
+** Bug fixes:
+
+  - Fix wrongly deduplicated compiler dependencies on linux.
+
 
 * Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
 
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 43cd3b1a..caec9db2 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -589,7 +589,7 @@ libtool_validate_options ()
     case $host_os in
       # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
       # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
-      cygwin* | mingw* | windows* | pw32* | cegcc* | solaris2* | os2*)
+      cygwin* | mingw* | windows* | pw32* | cegcc* | solaris2* | os2* | *linux*)
         # don't eliminate duplications in $postdeps and $predeps
         opt_duplicate_compiler_generated_deps=:
         ;;


From MAILER-DAEMON Thu Feb 20 13:54:20 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tlBgi-0004rc-9D
	for mharc-libtool-commit@gnu.org; Thu, 20 Feb 2025 13:54:20 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tlBgg-0004rQ-7q
 for libtool-commit@gnu.org; Thu, 20 Feb 2025 13:54:18 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tlBgf-00074O-Vn
 for libtool-commit@gnu.org; Thu, 20 Feb 2025 13:54:17 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 44ED3C76425; Thu, 20 Feb 2025 13:54:17 -0500 (EST)
Date: Thu, 20 Feb 2025 13:54:16 -0500
To: libtool-commit@gnu.org
Subject: branch development updated: ltmain.in: Fix mistaking a directory as
 an executable
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174007765666.6082.1186216064479145225@vcs2.savannah.gnu.org>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: b267d3bd494d85c4fd1cd1f47d424c75e6016153
X-Git-Newrev: f4c10752cc4f27cb2740761ade27b1282468d540
X-Git-Rev: f4c10752cc4f27cb2740761ade27b1282468d540
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Feb 2025 18:54:18 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new f4c10752 ltmain.in: Fix mistaking a directory as an executable
f4c10752 is described below

commit f4c10752cc4f27cb2740761ade27b1282468d540
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
AuthorDate: Thu Feb 20 01:37:27 2025 +0200

    ltmain.in: Fix mistaking a directory as an executable
    
    find_executable() can return a directory of the same name as the target
    executable if the directory is found earlier in the PATH, which causes
    check_executable() to fail.
    
    Reported: https://savannah.gnu.org/support/?111191
    
    * build-aux/ltmain.in: Check if directory is found before executable
      in the PATH.
---
 build-aux/ltmain.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index c59459d0..36a85b9e 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4241,7 +4241,7 @@ check_executable (const char *path)
   if ((!path) || (!*path))
     return 0;
 
-  if ((stat (path, &st) >= 0)
+  if ((stat (path, &st) >= 0) && !S_ISDIR (st.st_mode)
       && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
     return 1;
   else


From MAILER-DAEMON Tue Feb 25 15:19:25 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tn1On-0005lx-3r
	for mharc-libtool-commit@gnu.org; Tue, 25 Feb 2025 15:19:25 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tn1Ol-0005l9-EL
 for libtool-commit@gnu.org; Tue, 25 Feb 2025 15:19:23 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tn1Ol-00070T-4w
 for libtool-commit@gnu.org; Tue, 25 Feb 2025 15:19:23 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 68E0CC37947; Tue, 25 Feb 2025 15:19:21 -0500 (EST)
Date: Tue, 25 Feb 2025 15:19:21 -0500
To: libtool-commit@gnu.org
Subject: branch development updated: darwin.at: Avoid skipping macOS test
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174051476098.10019.18397550073814554907@vcs2.savannah.gnu.org>
Reply-To: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: f4c10752cc4f27cb2740761ade27b1282468d540
X-Git-Newrev: 6b306695ea58c82320d6ee9c3f7ca2f503ab52af
X-Git-Rev: 6b306695ea58c82320d6ee9c3f7ca2f503ab52af
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Feb 2025 20:19:23 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 6b306695 darwin.at: Avoid skipping macOS test
6b306695 is described below

commit 6b306695ea58c82320d6ee9c3f7ca2f503ab52af
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Feb 25 22:10:12 2025 +0200

    darwin.at: Avoid skipping macOS test
    
    The test for 'darwin fat compile' is being skipped on 64-bit machines,
    since the architecture option was specifying i386 (deprecated on macOS).
    
    Reported: https://savannah.gnu.org/support/?111158
    
    * tests/darwin.at: Update to use architecture arm64 instead of i386.
---
 tests/darwin.at | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/tests/darwin.at b/tests/darwin.at
index 5148f1e2..9441871f 100644
--- a/tests/darwin.at
+++ b/tests/darwin.at
@@ -33,7 +33,7 @@ int main() { return 0;}
 ]])
 
 $noskip && {
-$CC $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 -o simple simple.c 2>&1 > /dev/null || noskip=false
+$CC $CPPFLAGS $CFLAGS -arch x86_64 -arch arm64 -o simple simple.c 2>&1 > /dev/null || noskip=false
 rm -f simple
 }
 
@@ -80,19 +80,21 @@ save_PATH=$PATH
 PATH=`pwd`/bin:$PATH
 export PATH
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 foo.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch arm64 foo.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 baz.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch arm64 foo.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 foo.lo baz.lo],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch arm64 baz.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 bar.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch arm64 foo.lo baz.lo],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 bar.lo libfoo.la -rpath /nonexistent],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch arm64 bar.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 main.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch arm64 bar.lo libfoo.la -rpath /nonexistent],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 main.lo libbar.la],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch arm64 main.c],[0],[ignore],[ignore])
+
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch arm64 main.lo libbar.la],[0],[ignore],[ignore])
 
 PATH=$save_PATH
 AT_CLEANUP


From MAILER-DAEMON Wed Feb 26 15:09:25 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnNif-0000jc-I9
	for mharc-libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:25 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnNid-0000iW-MN
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnNic-0003vo-LX
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:22 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 007CEC37967; Wed, 26 Feb 2025 15:09:21 -0500 (EST)
To: libtool-commit@gnu.org
Subject: development updated (6b306695 -> 017e1cf9)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 6b306695ea58c82320d6ee9c3f7ca2f503ab52af
X-Git-Newrev: 017e1cf9b31e0eca8e60e351ff724c74404b537f
Auto-Submitted: auto-generated
Date: Wed, 26 Feb 2025 15:09:21 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Feb 2025 20:09:24 -0000

ildumi pushed a change to branch development.

    from 6b306695 darwin.at: Avoid skipping macOS test
     new c41501af New program libtool-next-version.
     new 7e8ae8b3 libtool.texi: Update newlines for previous commit
     new 017e1cf9 NEWS: Update for commit c41501afc371842ceccecd8bd6586f8fb85a37c2


Summary of changes:
 .gitignore              |   2 +-
 Makefile.am             |  19 +++-
 NEWS                    |   3 +
 doc/libtool.texi        | 110 ++++++++++++++++--
 libtool-next-version.in | 297 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 418 insertions(+), 13 deletions(-)
 create mode 100644 libtool-next-version.in


From MAILER-DAEMON Wed Feb 26 15:09:26 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnNif-0000jq-Rm
	for mharc-libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:25 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnNid-0000ic-Be
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnNid-0003vr-1i
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 2FCD2C37962; Wed, 26 Feb 2025 15:09:22 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, Bruno Haible <bruno@clisp.org>
In-Reply-To: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
References: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: c41501afc371842ceccecd8bd6586f8fb85a37c2
Auto-Submitted: auto-generated
Message-Id: <20250226200922.2FCD2C37962@vcs2.savannah.gnu.org>
Date: Wed, 26 Feb 2025 15:09:21 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Feb 2025 20:09:24 -0000

branch: development
commit c41501afc371842ceccecd8bd6586f8fb85a37c2
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Wed Feb 26 15:07:39 2025 +0100

    New program libtool-next-version.
    
    * libtool-next-version.in: New file, based on
    gnulib/build-aux/libtool-next-version.
    * doc/libtool.texi (Updating version info): Add sub-nodes
    'Manual version info update', 'Guided version info update',
    'Invoking libtool-next-version'.
    * Makefile.am (BUILT_SOURCES): Add libtool-next-version.
    (libtoolnextv_in): New variable.
    (EXTRA_DIST): Add it.
    (bin_SCRIPTS): Add libtool-next-version.
    (libtool-next-version): New target.
    (libtoolnextv_1): New variable. New target.
    (dist_man1_MANS): Add it.
---
 .gitignore              |   2 +-
 Makefile.am             |  19 +++-
 doc/libtool.texi        | 113 ++++++++++++++++--
 libtool-next-version.in | 297 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 418 insertions(+), 13 deletions(-)

diff --git a/.gitignore b/.gitignore
index ab4fdcbe..fc825165 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,7 +43,7 @@
 /gnulib-local
 /gnulib-tests
 /libtoolize
-/libtoolize.in
+/libtool-next-version
 /maint.mk
 /patches
 /release
diff --git a/Makefile.am b/Makefile.am
index 39b35bb7..64eb425a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,7 +28,7 @@ SUBDIRS			= . gnulib-tests
 DIST_SUBDIRS		= $(SUBDIRS)
 EXTRA_DIST		=
 
-BUILT_SOURCES		= libtool libtoolize
+BUILT_SOURCES		= libtool libtoolize libtool-next-version
 
 CLEANFILES		=
 MOSTLYCLEANFILES	=
@@ -78,6 +78,7 @@ extract_trace	= $(srcdir)/$(aux_dir)/extract-trace
 funclib_sh	= $(srcdir)/$(aux_dir)/funclib.sh
 inline_source	= $(srcdir)/$(aux_dir)/inline-source
 libtoolize_in	= $(srcdir)/libtoolize.in
+libtoolnextv_in	= $(srcdir)/libtool-next-version.in
 ltmain_sh	= $(srcdir)/$(aux_dir)/ltmain.sh
 ltmain_in	= $(srcdir)/$(aux_dir)/ltmain.in
 libtool_m4	= $(srcdir)/$(macro_dir)/libtool.m4
@@ -88,7 +89,8 @@ options_parser	= $(srcdir)/$(aux_dir)/options-parser
 u2d_copyright	= $(srcdir)/$(aux_dir)/update-copyright
 
 EXTRA_DIST     += $(extract_trace) $(funclib_sh) $(inline_source) \
-		  $(libtoolize_in) $(ltmain_in) $(ltmain_sh) \
+		  $(libtoolize_in) $(libtoolnextv_in) \
+		  $(ltmain_in) $(ltmain_sh) \
 		  $(ltversion_in) $(ltversion_m4) $(no_bogus_macros) \
 		  $(options_parser) $(u2d_copyright)
 
@@ -280,6 +282,8 @@ configure_edit = $(bootstrap_edit) \
 
 # The libtool distributor and the standalone libtool script.
 bin_SCRIPTS = libtool
+# The "Update version info" wizard.
+bin_SCRIPTS += libtool-next-version
 
 libtoolize: $(libtoolize_in) $(config_status)
 	$(AM_V_at)rm -f '$@'
@@ -287,6 +291,12 @@ libtoolize: $(libtoolize_in) $(config_status)
 	$(AM_V_at)chmod a+x '$@'
 	$(AM_V_at)chmod a-w '$@'
 
+libtool-next-version: $(libtoolnextv_in) $(config_status)
+	$(AM_V_at)rm -f '$@'
+	$(AM_V_GEN)$(bootstrap_edit) '$(libtoolnextv_in)' > '$@'
+	$(AM_V_at)chmod a+x '$@'
+	$(AM_V_at)chmod a-w '$@'
+
 # We used to do this with a 'stamp-vcl' file, but non-gmake builds
 # would rerun configure on every invocation, so now we manually
 # check the version numbers from the build rule when necessary.
@@ -383,6 +393,7 @@ doc_dir		= $(srcdir)/doc
 
 libtool_1	= $(doc_dir)/libtool.1
 libtoolize_1	= $(doc_dir)/libtoolize.1
+libtoolnextv_1	= $(doc_dir)/libtool-next-version.1
 notes_texi	= $(doc_dir)/notes.texi
 notes_txt	= $(doc_dir)/notes.txt
 
@@ -408,7 +419,7 @@ $(notes_txt): $(notes_texi)
 	$(AM_V_GEN)$(MAKEINFO) -P '$(srcdir)/doc' --no-headers \
 	    $(MAKEINFOFLAGS) -o '$@' '$(notes_texi)'
 
-dist_man1_MANS		= $(libtool_1) $(libtoolize_1)
+dist_man1_MANS		= $(libtool_1) $(libtoolize_1) $(libtoolnextv_1)
 MAINTAINERCLEANFILES	+= $(dist_man1_MANS)
 update_mans = \
   PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \
@@ -422,6 +433,8 @@ $(libtool_1): $(ltmain_sh)
 	$(AM_V_GEN)$(update_mans) -n 'Provide generalized library-building support services' --help-option=--help-all libtool
 $(libtoolize_1): $(libtoolize_in)
 	$(AM_V_GEN)$(update_mans) -n 'Prepare a package to use libtool' libtoolize
+$(libtoolnextv_1): $(libtoolnextv_in)
+	$(AM_V_GEN)$(update_mans) -n 'Determines next version to use for a libtool library' libtool-next-version
 
 
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 21bb8908..2de42b65 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -40,6 +40,7 @@ the section entitled ``GNU Free Documentation License''.
 @direntry
 * libtool-invocation: (libtool)Invoking libtool. Running the @code{libtool} script.
 * libtoolize: (libtool)Invoking libtoolize.      Adding libtool support.
+* libtool-next-version: (libtool)Invoking libtool-next-version. Running the @code{libtool-next-version} wizard.
 @end direntry
 
 @titlepage
@@ -3158,7 +3159,7 @@ interface number.
 Here are a set of rules to help you update your library version
 information:
 
-@enumerate 1
+@itemize @bullet
 @item
 Start with version information of @samp{0:0:0} for each libtool library.
 
@@ -3167,6 +3168,31 @@ Update the version information only immediately before a public release
 of your software.  More frequent updates are unnecessary, and only
 guarantee that the current interface number gets larger faster.
 
+@item
+Do the update either manually, or guided by the @samp{libtool-next-version}
+wizard.
+@end itemize
+
+@strong{@emph{Never}} try to set the interface numbers so that they
+correspond to the release number of your package.  This is an abuse that
+only fosters misunderstanding of the purpose of library versions.
+Instead, use the @option{-release} flag (@pxref{Release numbers}), but be
+warned that every release of your package will not be binary compatible
+with any other release.
+
+@menu
+* Manual version info update::    Updating version info manually.
+* Guided version info update::    Using the libtool-next-version program.
+* Invoking libtool-next-version:: @code{libtool-next-version} command line options.
+@end menu
+
+@node Manual version info update
+@subsection Updating the version info manually
+
+Here are the steps that you need to do, to update your library version
+information:
+
+@enumerate 1
 @item
 If the library source code has changed at all since the last update,
 then increment @var{revision} (@samp{@var{c}:@var{r}:@var{a}} becomes
@@ -3185,14 +3211,7 @@ If any interfaces have been removed or changed since the last public
 release, then set @var{age} to 0.
 @end enumerate
 
-@strong{@emph{Never}} try to set the interface numbers so that they
-correspond to the release number of your package.  This is an abuse that
-only fosters misunderstanding of the purpose of library versions.
-Instead, use the @option{-release} flag (@pxref{Release numbers}), but be
-warned that every release of your package will not be binary compatible
-with any other release.
-
-The following explanation may help to understand the above rules a bit
+The following explanation may help to understand the steps above a bit
 better: consider that there are three possible kinds of reactions from
 users of your library to changes in a shared library:
 
@@ -3222,6 +3241,82 @@ to 0.
 In the above description, @emph{programs} using the library in question
 may also be replaced by other libraries using it.
 
+@node Guided version info update
+@subsection Updating the version info, guided by the libtool-next-version program
+
+The @samp{libtool-next-version} program is a wizard-like interactive tool,
+that is designed to avoid mistakes in the process of the manual update:
+
+@itemize @bullet
+@item
+It asks you questions, one by one, so that you can focus on one thing at a time.
+@item
+It prepares default answers, based on the set of symbols exported by library.
+@item
+It gives a couple of additional explanations and hints.
+@end itemize
+
+Before invoking the wizard,
+you need to build and install
+the previous release and the current release candidate of your package
+into different directories.
+For example, assume the last release was @code{libfoo-1.4.tar.gz},
+and before preparing @code{libfoo-1.5.tar.gz}, your current release candidate
+is @code{libfoo-1.4.99.tar.gz}.
+You build them like this:
+@example
+$ rm -rf /tmp/prev /tmp/curr
+$ tar xfz libfoo-1.4.tar.gz
+$ (cd libfoo-1.4
+   && ./configure --prefix=/tmp/prev
+   && make
+   && make install)
+$ tar xfz libfoo-1.4.99.tar.gz
+$ (cd libfoo-1.4.99
+   && ./configure --prefix=/tmp/curr
+   && make
+   && make install)
+@end example
+
+Then you are ready to invoke the wizard like this:
+@example
+$ libtool-next-version /tmp/prev/lib/libfoo.so /tmp/curr/lib/libfoo.so
+@end example
+
+@node Invoking libtool-next-version
+@subsection Invoking @command{libtool-next-version}
+@pindex libtool-next-version
+@cindex libtool-next-version command options
+@cindex command options, libtool-next-version
+@cindex options, libtool-next-version command
+
+The @code{libtool-next-version} program
+determines the next version to use for a libtool library.
+
+It is invoked as follows:
+@example
+libtool-next-version [@var{option}]... @var{previous-library} @var{current-library}
+@end example
+
+@var{previous-library} is
+the installed library (in @code{.a} or @code{.so} format)
+of the previous release.
+
+@var{current-library} is
+the installed library (in @code{.a} or @code{.so} format)
+of the current release candidate.
+
+It accepts the following options:
+
+@table @option
+
+@item --help
+Print a help message and exit.
+
+@item --version
+Print version information and exit.
+
+@end table
 
 @node Release numbers
 @section Managing release information
diff --git a/libtool-next-version.in b/libtool-next-version.in
new file mode 100644
index 00000000..52b84844
--- /dev/null
+++ b/libtool-next-version.in
@@ -0,0 +1,297 @@
+#! /bin/sh
+#
+# Copyright (C) 2019-2025 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
+#
+
+# This program is a wizard that helps a maintainer update the libtool
+# version of a shared library, according to the documentation section
+# 'Updating version info'
+# <https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html>.
+#
+# Let's call the three parts of the version
+#   LTV_CURRENT
+#   LTV_REVISION
+#   LTV_AGE
+#
+# The list of steps given in this documentation section
+#   - If the library source code has changed at all since the last update,
+#     then increment LTV_REVISION.
+#   - If any interfaces have been added, removed, or changed since the last
+#     update, increment LTV_CURRENT and set LTV_REVISION to 0.
+#   - If any interfaces have been added since the last public release, then
+#     increment LTV_AGE.
+#   - If any interfaces have been removed or changed since the last public
+#     release, then set LTV_AGE to 0.
+# leads to mistakes, because
+#   - It does not say what "interfaces" are.
+#   - It does not enforce that applying the second, third, or fourth rule
+#     is only possible after applying the first rule.
+#   - It does not enforce that applying the third or fourth rule is only
+#     possible after applying the second rule.
+
+# func_usage
+# outputs to stdout the --help usage message.
+func_usage ()
+{
+  echo "\
+Usage: libtool-next-version [OPTION]... PREVIOUS-LIBRARY CURRENT-LIBRARY
+
+Determines the next version to use for a libtool library.
+
+PREVIOUS-LIBRARY is the installed library (in .a or .so format) of the
+previous release.
+
+CURRENT-LIBRARY is the installed library (in .a or .so format) of the current
+release candidate.
+
+Options:
+      --help           print this help and exit
+      --version        print version information and exit
+
+Send patches and bug reports to <@PACKAGE_BUGREPORT@>."
+}
+
+# func_version
+# outputs to stdout the --version message.
+func_version ()
+{
+  sed_extract_copyright_year='/Copyright (C)/{
+s/.*\([0-9][0-9][0-9][0-9]\).*/\1/p
+q
+}'
+  copyright_year=`sed -n -e "$sed_extract_copyright_year" < "$0"`
+  echo "libtool-next-version (GNU @PACKAGE@) @VERSION@"
+  echo "Copyright (C) ${copyright_year} Free Software Foundation, Inc.
+License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law."
+  echo
+  printf 'Written by %s.\n' "Bruno Haible"
+}
+
+# func_fatal_error message
+# outputs to stderr a fatal error message, and terminates the program.
+func_fatal_error ()
+{
+  echo "libtool-next-version: *** $1" 1>&2
+  echo "libtool-next-version: *** Stop." 1>&2
+  exit 1
+}
+
+# func_tmpdir
+# creates a temporary directory.
+# Sets variable
+# - tmp             pathname of freshly created temporary directory
+func_tmpdir ()
+{
+  # Use the environment variable TMPDIR, falling back to /tmp. This allows
+  # users to specify a different temporary directory, for example, if their
+  # /tmp is filled up or too small.
+  : "${TMPDIR=/tmp}"
+  {
+    # Use the mktemp program if available. If not available, hide the error
+    # message.
+    tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` &&
+    test -n "$tmp" && test -d "$tmp"
+  } ||
+  {
+    # Use a simple mkdir command. It is guaranteed to fail if the directory
+    # already exists.  $RANDOM is bash specific and expands to empty in shells
+    # other than bash, ksh and zsh.  Its use does not increase security;
+    # rather, it minimizes the probability of failure in a very cluttered /tmp
+    # directory.
+    tmp=$TMPDIR/gt$$-$RANDOM
+    (umask 077 && mkdir "$tmp")
+  } ||
+  {
+    echo "$0: cannot create a temporary directory in $TMPDIR" >&2
+    { (exit 1); exit 1; }
+  }
+}
+
+# func_read_yesno
+# reads an answer (yes or no).
+# Sets variable
+# - ans             yes or no
+func_read_yesno ()
+{
+  while true; do
+    read ans
+    if test yes = "$ans" || test no = "$ans"; then
+      break
+    fi
+    echo "Invalid answer. Please answer yes or no."
+  done
+}
+
+# Command-line option processing.
+while test $# -gt 0; do
+  case "$1" in
+    --help | --hel | --he | --h )
+      func_usage
+      exit 0 ;;
+   --version | --versio | --versi | --vers | --ver | --ve | --v )
+      func_version
+      exit 0 ;;
+    -- )      # Stop option processing
+      shift; break ;;
+    -* )
+      func_fatal_error "unrecognized option: $option"
+      ;;
+    * )
+      break ;;
+  esac
+done
+
+test $# = 2 || {
+  if test $# -gt 2; then
+    func_fatal_error "too many arguments"
+  else
+    func_fatal_error "Usage: libtool-next-version [OPTION]... PREVIOUS-LIBRARY CURRENT-LIBRARY"
+  fi
+}
+
+test -f "$1" || func_fatal_error "file $1 not found"
+test -f "$2" || func_fatal_error "file $2 not found"
+
+(type nm) >/dev/null || func_fatal_error "program 'nm' not found"
+# Determine how to extract a symbol list from the 'nm' output.
+case `uname -s` in
+  Linux | FreeBSD | NetBSD | OpenBSD) nm_filter="sed -n -e 's/^.* [TWDRB] //p'" ;;
+  Darwin) nm_filter="sed -n -e 's/^.* [TWDRB] _//p'" ;;
+  Minix) nm_filter="sed -n -e 's/^.* [TDC] _//p'" ;;
+  AIX) nm_filter="sed -n -e 's/  *[UD] .*//p' | sed -e 's/^\\.//'" ;;
+  HP-UX) nm_filter="grep '|extern|\\(code\\|data\\)   |' | sed -e 's/|.*//' | sed -e 's/ *$//'" ;;
+  IRIX) nm_filter="grep '|\\(GLOB\\|WEAK\\)' | sed -e 's/^.*|//'" ;;
+  SunOS)
+    case `uname -r` in
+      5.10) nm_filter="sed -n -e 's/^.* [ATWDRBV] //p'" ;;
+      *) nm_filter="grep '|\\(GLOB\\|WEAK\\)' | grep -v '|UNDEF' | grep -v '|SUNW' | sed -e 's/^.*|//'" ;;
+    esac
+    ;;
+  CYGWIN*) nm_filter="sed -n -e 's/^.* T _//p'" ;;
+  *) func_fatal_error "unknown OS - don't know how to interpret the 'nm' output" ;;
+esac
+nm_filter="$nm_filter | LC_ALL=C sort -u"
+
+func_tmpdir
+eval "nm '$1' | $nm_filter > '$tmp/symlist1'"
+eval "nm '$2' | $nm_filter > '$tmp/symlist2'"
+
+echo "Please enter the libtool version of the library in the previous release."
+
+printf "LTV_CURRENT="; read current
+nondigits=`echo "$current" | tr -d '0123456789'`
+{ test -n "$current" && test -z "$nondigits"; } \
+  || func_fatal_error "LTV_CURRENT is invalid. It should be a nonnegative integer."
+
+printf "LTV_REVISION="; read revision
+nondigits=`echo "$revision" | tr -d '0123456789'`
+{ test -n "$revision" && test -z "$nondigits"; } \
+  || func_fatal_error "LTV_REVISION is invalid. It should be a nonnegative integer."
+
+printf "LTV_AGE="; read age
+nondigits=`echo "$age" | tr -d '0123456789'`
+{ test -n "$age" && test -z "$nondigits"; } \
+  || func_fatal_error "LTV_AGE is invalid. It should be a nonnegative integer."
+
+echo
+echo "-------------------------------------------------------------------------------"
+echo "Did the library's code change at all since the previous version?"
+echo "You can usually detect this by looking at the source code changes in git;"
+echo "don't forget source code that is imported from other projects."
+if cmp "$tmp/symlist1" "$tmp/symlist2" >/dev/null; then
+  echo "Please answer yes or no."
+else
+  echo "The symbol list changed. Here are the differences:"
+  (cd "$tmp" && diff symlist1 symlist2 | grep '^[<>]' | sed -e 's/^/  /')
+  echo "Please answer yes or no (probably yes)."
+fi
+func_read_yesno
+if test "$ans" = yes; then
+
+  revision=`expr $revision + 1`
+
+  echo
+  echo "-------------------------------------------------------------------------------"
+  echo "Have any interfaces (functions, variables, classes) been removed since the"
+  echo "previous release? What matters here are interfaces at the linker level;"
+  echo "whether macros have been removed from the include files does not matter."
+  if diff "$tmp/symlist1" "$tmp/symlist2" | grep '^< ' >/dev/null; then
+    echo "Some symbols have been removed:"
+    diff "$tmp/symlist1" "$tmp/symlist2" | grep '^< ' | sed -e 's/^< /  /'
+    echo "Please answer yes or no (probably yes)."
+  else
+    echo "Please answer yes or no."
+  fi
+  func_read_yesno
+
+  if test "$ans" = yes; then
+
+    current=`expr $current + 1`
+    revision=0
+    age=0
+
+  else
+
+    echo
+    echo "-------------------------------------------------------------------------------"
+    echo "Have any interfaces (functions, variables, classes) been changed since the"
+    echo "previous release? This includes signature changes. It includes also details of"
+    echo "how functions produce their results and the values of variables, IF AND ONLY IF"
+    echo "users of the library are likely use these details in their test suite."
+    echo "Please answer yes or no."
+    func_read_yesno
+
+    if test "$ans" = yes; then
+
+      current=`expr $current + 1`
+      revision=0
+      age=0
+
+    else
+
+      echo
+      echo "-------------------------------------------------------------------------------"
+      echo "Have any interfaces (functions, variables, classes) been added since the"
+      echo "previous release? What matters here are interfaces at the linker level;"
+      echo "whether macros have been added to the include files does not matter."
+      if diff "$tmp/symlist1" "$tmp/symlist2" | grep '^> ' >/dev/null; then
+        echo "Some symbols have been added:"
+        diff "$tmp/symlist1" "$tmp/symlist2" | grep '^> ' | sed -e 's/^> /  /'
+        echo "Please answer yes or no (probably yes)."
+      else
+        echo "Please answer yes or no."
+      fi
+      func_read_yesno
+
+      if test "$ans" = yes; then
+
+        current=`expr $current + 1`
+        revision=0
+        age=`expr $age + 1`
+
+      fi
+    fi
+  fi
+fi
+
+echo
+echo "-------------------------------------------------------------------------------"
+echo "This is the libtool version of the library for the new release:"
+echo "LTV_CURRENT=$current"
+echo "LTV_REVISION=$revision"
+echo "LTV_AGE=$age"


From MAILER-DAEMON Wed Feb 26 15:09:35 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnNip-0000lJ-1f
	for mharc-libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:35 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnNid-0000ib-Bo
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnNid-0003vs-1i
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id A74D3C1CFE5; Wed, 26 Feb 2025 15:09:22 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
References: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: 7e8ae8b3f2cd38a7be0285174103a3a8470eed85
Auto-Submitted: auto-generated
Message-Id: <20250226200922.A74D3C1CFE5@vcs2.savannah.gnu.org>
Date: Wed, 26 Feb 2025 15:09:22 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Feb 2025 20:09:24 -0000

branch: development
commit 7e8ae8b3f2cd38a7be0285174103a3a8470eed85
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Wed Feb 26 21:46:33 2025 +0200

    libtool.texi: Update newlines for previous commit
    
    The documentation follows the traditional method of inserting newlines
    before the 80 character limit, with a few exceptions. Now, the
    documentation will use some semantic newlines, specifically inserting
    newlines for clause breaks (commas, semicolons, colons, and so on).
    However, it will only break on symbols, instead of also breaking for
    phrases, and it will still utilize the 80 character limit should a
    symbol break not exist first.
    
    * doc/libtool.texi: Alter line breaks to use partial semantic newlines.
---
 doc/libtool.texi | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index 2de42b65..710f238f 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3257,12 +3257,11 @@ It gives a couple of additional explanations and hints.
 @end itemize
 
 Before invoking the wizard,
-you need to build and install
-the previous release and the current release candidate of your package
-into different directories.
+you need to build and install the previous release and the current release
+candidate of your package into different directories.
 For example, assume the last release was @code{libfoo-1.4.tar.gz},
-and before preparing @code{libfoo-1.5.tar.gz}, your current release candidate
-is @code{libfoo-1.4.99.tar.gz}.
+and before preparing @code{libfoo-1.5.tar.gz},
+your current release candidate is @code{libfoo-1.4.99.tar.gz}.
 You build them like this:
 @example
 $ rm -rf /tmp/prev /tmp/curr
@@ -3290,21 +3289,19 @@ $ libtool-next-version /tmp/prev/lib/libfoo.so /tmp/curr/lib/libfoo.so
 @cindex command options, libtool-next-version
 @cindex options, libtool-next-version command
 
-The @code{libtool-next-version} program
-determines the next version to use for a libtool library.
+The @code{libtool-next-version} program determines the next version to use
+for a libtool library.
 
 It is invoked as follows:
 @example
 libtool-next-version [@var{option}]... @var{previous-library} @var{current-library}
 @end example
 
-@var{previous-library} is
-the installed library (in @code{.a} or @code{.so} format)
-of the previous release.
+@var{previous-library} is the installed library (in @code{.a} or @code{.so}
+format) of the previous release.
 
-@var{current-library} is
-the installed library (in @code{.a} or @code{.so} format)
-of the current release candidate.
+@var{current-library} is the installed library (in @code{.a} or @code{.so}
+format) of the current release candidate.
 
 It accepts the following options:
 


From MAILER-DAEMON Wed Feb 26 15:09:35 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnNip-0000lN-6Q
	for mharc-libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:35 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnNid-0000id-Bp
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnNid-0003vw-1i
 for libtool-commit@gnu.org; Wed, 26 Feb 2025 15:09:23 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id E50EFC37968; Wed, 26 Feb 2025 15:09:22 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
References: <174060056135.13378.13837227155138963447@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: 017e1cf9b31e0eca8e60e351ff724c74404b537f
Auto-Submitted: auto-generated
Message-Id: <20250226200922.E50EFC37968@vcs2.savannah.gnu.org>
Date: Wed, 26 Feb 2025 15:09:22 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Feb 2025 20:09:24 -0000

branch: development
commit 017e1cf9b31e0eca8e60e351ff724c74404b537f
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Wed Feb 26 22:07:17 2025 +0200

    NEWS: Update for commit c41501afc371842ceccecd8bd6586f8fb85a37c2
---
 NEWS | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/NEWS b/NEWS
index ed6fb977..0a613563 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 ** New features:
 
+  - Add a new tool, libtool-next-version, to guide users through updating
+    library versions.
+
   - Add tagging for Objective-C and Objective-C++, OBJC and OBJCXX.
 
   - Increase 5 digit limit on revision value for libraries to 19 digits,


From MAILER-DAEMON Thu Feb 27 11:48:47 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnh41-0003zt-DW
	for mharc-libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:45 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnh3z-0003ok-0m
 for libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:43 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnh3y-0008HB-Kh
 for libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:42 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 6EA6FC3796B; Thu, 27 Feb 2025 11:48:40 -0500 (EST)
To: libtool-commit@gnu.org
Subject: development updated (017e1cf9 -> e352c92f)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174067491947.23377.5327263089857879466@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 017e1cf9b31e0eca8e60e351ff724c74404b537f
X-Git-Newrev: e352c92fd80a39e16403266a93137de9413a4ae5
Auto-Submitted: auto-generated
Date: Thu, 27 Feb 2025 11:48:40 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Feb 2025 16:48:43 -0000

ildumi pushed a change to branch development.

    from 017e1cf9 NEWS: Update for commit c41501afc371842ceccecd8bd6586f8fb85a37c2
     new f93cf989 libtool.m4: Fix for invalid postdeps
     new e352c92f libtool-next-version.in: Make syntactical changes


Summary of changes:
 libtool-next-version.in | 12 ++++++------
 m4/libtool.m4           |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)


From MAILER-DAEMON Thu Feb 27 11:48:49 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnh44-000444-NL
	for mharc-libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:49 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnh3z-0003rh-Ee
 for libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:43 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnh3z-0008HZ-2F
 for libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:43 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id CF954C3796B; Thu, 27 Feb 2025 11:48:42 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <174067491947.23377.5327263089857879466@vcs2.savannah.gnu.org>
References: <174067491947.23377.5327263089857879466@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: e352c92fd80a39e16403266a93137de9413a4ae5
Auto-Submitted: auto-generated
Message-Id: <20250227164842.CF954C3796B@vcs2.savannah.gnu.org>
Date: Thu, 27 Feb 2025 11:48:42 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Feb 2025 16:48:44 -0000

branch: development
commit e352c92fd80a39e16403266a93137de9413a4ae5
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Thu Feb 27 18:47:41 2025 +0200

    libtool-next-version.in: Make syntactical changes
---
 libtool-next-version.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libtool-next-version.in b/libtool-next-version.in
index 52b84844..36b02fb9 100644
--- a/libtool-next-version.in
+++ b/libtool-next-version.in
@@ -74,7 +74,7 @@ q
 }'
   copyright_year=`sed -n -e "$sed_extract_copyright_year" < "$0"`
   echo "libtool-next-version (GNU @PACKAGE@) @VERSION@"
-  echo "Copyright (C) ${copyright_year} Free Software Foundation, Inc.
+  echo "Copyright (C) $copyright_year Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law."
@@ -139,7 +139,7 @@ func_read_yesno ()
 
 # Command-line option processing.
 while test $# -gt 0; do
-  case "$1" in
+  case $1 in
     --help | --hel | --he | --h )
       func_usage
       exit 0 ;;
@@ -221,7 +221,7 @@ else
   echo "Please answer yes or no (probably yes)."
 fi
 func_read_yesno
-if test "$ans" = yes; then
+if test yes = "$ans"; then
 
   revision=`expr $revision + 1`
 
@@ -239,7 +239,7 @@ if test "$ans" = yes; then
   fi
   func_read_yesno
 
-  if test "$ans" = yes; then
+  if test yes = "$ans"; then
 
     current=`expr $current + 1`
     revision=0
@@ -256,7 +256,7 @@ if test "$ans" = yes; then
     echo "Please answer yes or no."
     func_read_yesno
 
-    if test "$ans" = yes; then
+    if test yes = "$ans"; then
 
       current=`expr $current + 1`
       revision=0
@@ -278,7 +278,7 @@ if test "$ans" = yes; then
       fi
       func_read_yesno
 
-      if test "$ans" = yes; then
+      if test yes = "$ans"; then
 
         current=`expr $current + 1`
         revision=0


From MAILER-DAEMON Thu Feb 27 11:48:50 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1tnh45-00045H-Pq
	for mharc-libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1tnh3z-0003sl-PK
 for libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:43 -0500
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1tnh3z-0008HC-Ee
 for libtool-commit@gnu.org; Thu, 27 Feb 2025 11:48:43 -0500
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 1A7A8C1CFE5; Thu, 27 Feb 2025 11:48:42 -0500 (EST)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, Christian Feld <christian.feld@posteo.de>
In-Reply-To: <174067491947.23377.5327263089857879466@vcs2.savannah.gnu.org>
References: <174067491947.23377.5327263089857879466@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: f93cf989fab1d9af2fad7c813f71bdf4d273a5f9
Auto-Submitted: auto-generated
Message-Id: <20250227164842.1A7A8C1CFE5@vcs2.savannah.gnu.org>
Date: Thu, 27 Feb 2025 11:48:41 -0500 (EST)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Feb 2025 16:48:44 -0000

branch: development
commit f93cf989fab1d9af2fad7c813f71bdf4d273a5f9
Author: Christian Feld <christian.feld@posteo.de>
AuthorDate: Mon Feb 10 10:53:07 2025 +0000

    libtool.m4: Fix for invalid postdeps
    
    Omitting lines starting with 'Driving:' fixes the invalid postdeps
    observed with FC.
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76177
    
    * m4/libtool.m4: Omit lines that start with 'Driving:' when setting
      output_verbose_link_cmd.
---
 m4/libtool.m4 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index def2c24a..434f9ba7 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -6628,7 +6628,7 @@ if test yes != "$_lt_caught_CXX_error"; then
       # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when
       # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [[-]]L"'
 
     else
       GXX=no
@@ -7413,7 +7413,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	      # Commands to make compiler produce verbose output that lists
 	      # what "hidden" libraries, object files and flags are used when
 	      # linking a shared library.
-	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
+	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [[-]]L"'
 
 	    else
 	      # FIXME: insert proper C++ library support
@@ -7500,7 +7500,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
 	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
+	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [[-]]L"'
 	      else
 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
 	        # platform.
@@ -7511,7 +7511,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
 	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
+	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [[-]]L"'
 	      fi
 
 	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'


