From MAILER-DAEMON Fri Apr 11 14:03:39 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij5-0000Vm-MA
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:39 -0400
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 1u3Ij1-0000UF-R5
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:35 -0400
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 1u3Ij1-0003Ai-H2
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:35 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 244DEC47F20; Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: da70d4ca7956cf5204470a417c9d10e204f49182
Auto-Submitted: auto-generated
Message-Id: <20250411180335.244DEC47F20@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:36 -0000

branch: master
commit da70d4ca7956cf5204470a417c9d10e204f49182
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 Fri Apr 11 14:03:41 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij6-0000WB-W2
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:41 -0400
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 1u3Ij2-0000Ue-BF
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:37 -0400
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 1u3Ij2-0003Ac-0z
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id C1502C472DE; Fri, 11 Apr 2025 14:03:34 -0400 (EDT)
To: libtool-commit@gnu.org
Subject: master updated (13926861 -> 5b582aed)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 13926861aa45aa60535c0ab8256de763dc4eb52f
X-Git-Newrev: 5b582aed255d0a998bc2b678597ce7b03aef6ffa
Auto-Submitted: auto-generated
Date: Fri, 11 Apr 2025 14:03:34 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:37 -0000

ildumi pushed a change to branch master.

    from 13926861 m4: Update serials for modified files
     new 961aa57f ltmain.in: Fix mistaking a directory as an executable
     new da70d4ca darwin.at: Avoid skipping macOS test
     new b31819c7 New program libtool-next-version.
     new 2a5c1704 libtool.m4: Fix for invalid postdeps
     new 8b9ce14a ltmain.in: Supporting -S and -t flags from install-sh
     new 7945cf75 libtool.m4: Fix postdeps in NetBSD
     new 9bc7536b libtool: Add configuration options for CXX linking
     new 5b582aed m4: Update serials for modified files


Summary of changes:
 .gitignore              |   2 +-
 Makefile.am             |  21 +++-
 NEWS                    |   8 ++
 build-aux/ltmain.in     |   4 +-
 doc/libtool.texi        | 123 ++++++++++++++++++--
 libtool-next-version.in | 297 ++++++++++++++++++++++++++++++++++++++++++++++++
 m4/libtool.m4           |  64 ++++++-----
 m4/ltoptions.m4         |  46 +++++++-
 tests/darwin.at         |  18 +--
 9 files changed, 531 insertions(+), 52 deletions(-)
 create mode 100644 libtool-next-version.in


From MAILER-DAEMON Fri Apr 11 14:03:41 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij7-0000WW-KE
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:41 -0400
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 1u3Ij2-0000UQ-42
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
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 1u3Ij1-0003Au-Oh
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:35 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id B0B59C47F20; Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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?bGlidG9vbEBnbnUub3JnLCBKdWxpZW4gw4lMSUUgPGp1?=@vcs2.savannah.gnu.org,
 =?utf-8?q?lien=40trigofacile=2Ecom=3E?=@vcs2.savannah.gnu.org
In-Reply-To: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 8b9ce14af04de13b817b752ebdc9bb26867dc79d
Auto-Submitted: auto-generated
Message-Id: <20250411180335.B0B59C47F20@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:37 -0000

branch: master
commit 8b9ce14af04de13b817b752ebdc9bb26867dc79d
Author: Julien ÉLIE <julien@trigofacile.com>
AuthorDate: Fri Mar 21 00:15:45 2025 +0200

    ltmain.in: Supporting -S and -t flags from install-sh
    
    Libtool silently discards options for install-sh that have not been
    specified. Now the install directory and a suffix for backing up
    files can be specified to be passed through libtool.
    
    Reported: https://savannah.gnu.org/patch/index.php?10510
    
    * build-aux/ltmain.in: Recognize -S and -t flags from install-sh.
---
 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 36a85b9e..aaf48f14 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -2396,7 +2396,7 @@ func_mode_install ()
 	  prev=$arg
 	fi
 	;;
-      -g | -m | -o)
+      -g | -m | -o | -S | -t)
 	prev=$arg
 	;;
       -s)


From MAILER-DAEMON Fri Apr 11 14:03:41 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij7-0000Wl-Oy
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:41 -0400
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 1u3Ij2-0000Ug-L2
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:37 -0400
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 1u3Ij2-0003Au-Ba
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 51E85C472DE; Fri, 11 Apr 2025 14:03:36 -0400 (EDT)
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: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 5b582aed255d0a998bc2b678597ce7b03aef6ffa
Auto-Submitted: auto-generated
Message-Id: <20250411180336.51E85C472DE@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:36 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:37 -0000

branch: master
commit 5b582aed255d0a998bc2b678597ce7b03aef6ffa
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri Apr 11 20:57:53 2025 +0300

    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 ae0387db..99b53ad0 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 64 LT_INIT
+# serial 65 LT_INIT
 
 
 # LT_PREREQ(VERSION)
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index bec3a76a..9e93e6f0 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 11 ltoptions.m4
+# serial 12 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 Fri Apr 11 14:03:42 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij7-0000Wz-Te
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:41 -0400
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 1u3Ij3-0000Un-2A
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:37 -0400
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 1u3Ij2-0003Ao-Ep
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 5FD05C47F21; Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: b31819c7231def3f61d50c49bbe9da494460ec0c
Auto-Submitted: auto-generated
Message-Id: <20250411180335.5FD05C47F21@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:37 -0000

branch: master
commit b31819c7231def3f61d50c49bbe9da494460ec0c
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'. Note, line breaks use
    partial semantic newlines.
    * 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.
    * NEWS: Update.
---
 .gitignore              |   2 +-
 Makefile.am             |  21 +++-
 NEWS                    |   3 +
 doc/libtool.texi        | 110 ++++++++++++++++--
 libtool-next-version.in | 297 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 419 insertions(+), 14 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..0f32a52c 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	=
@@ -64,7 +64,7 @@ build_scripts	= $(srcdir)/$(aux_dir)/announce-gen \
 
 EXTRA_DIST     += bootstrap bootstrap.conf $(build_scripts) cfg.mk maint.mk \
 		  GNUmakefile
-CLEANFILES     += libtool libtoolize
+CLEANFILES     += libtool libtoolize libtool-next-version
 
 ## If a file is named several times below, and especially if it
 ## is a distributed file created during Libtool bootstrap, we
@@ -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/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,
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 21bb8908..710f238f 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,79 @@ 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..36b02fb9
--- /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 yes = "$ans"; 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 yes = "$ans"; 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 yes = "$ans"; 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 yes = "$ans"; 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 Fri Apr 11 14:03:43 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij8-0000XS-Sd
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:42 -0400
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 1u3Ij2-0000UJ-0U
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
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 1u3Ij1-0003Ad-M9
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:35 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id E3242C472DD; Fri, 11 Apr 2025 14:03:34 -0400 (EDT)
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, Takashi Yano <takashi.yano@nifty.ne.jp>
In-Reply-To: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 961aa57f1466dc2dcd28b8419deb4621865411a6
Auto-Submitted: auto-generated
Message-Id: <20250411180334.E3242C472DD@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:34 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:36 -0000

branch: master
commit 961aa57f1466dc2dcd28b8419deb4621865411a6
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 Fri Apr 11 14:03:43 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij9-0000XX-1x
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:43 -0400
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 1u3Ij2-0000UI-0Z
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
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 1u3Ij1-0003Au-M0
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:35 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 82E92C47F22; Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 2a5c1704712fc3a265cba8e8fbf62d36816250c9
Auto-Submitted: auto-generated
Message-Id: <20250411180335.82E92C47F22@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:36 -0000

branch: master
commit 2a5c1704712fc3a265cba8e8fbf62d36816250c9
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'


From MAILER-DAEMON Fri Apr 11 14:03:40 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij6-0000W6-RX
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:40 -0400
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 1u3Ij2-0000UX-84
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:37 -0400
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 1u3Ij1-0003Au-UE
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:35 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id DD21CC472DF; Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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, Anthony Mallet <anthony.mallet@laas.fr>
In-Reply-To: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 7945cf75f80a87a65251e8a71b182c7e331e92f6
Auto-Submitted: auto-generated
Message-Id: <20250411180335.DD21CC472DF@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:37 -0000

branch: master
commit 7945cf75f80a87a65251e8a71b182c7e331e92f6
Author: Anthony Mallet <anthony.mallet@laas.fr>
AuthorDate: Sun Mar 23 13:56:14 2025 +0100

    libtool.m4: Fix postdeps in NetBSD
    
    commit:c7be1f229 addresses an issue with building C++ modules on NetBSD, by
    removing -lgcc_s and -lgcc. This may sometimes not work correctly, depending
    on the architecture, as libgcc_s.so and libgcc.a may contain required code to
    properly link the shared object. On NetBSD, libgcc.a is compiled with -fPIC
    and can be linked to a shared object without any issue.
    
    Reported: https://savannah.gnu.org/support/index.php?111210
---
 m4/libtool.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 434f9ba7..dd665d10 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7313,9 +7313,11 @@ if test yes != "$_lt_caught_CXX_error"; then
 	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 	  _LT_TAGVAR(hardcode_direct, $1)=yes
 	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+	else
+	  _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 	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::"'
+	output_verbose_link_cmd=func_echo_all
 	;;
 
       *nto* | *qnx*)


From MAILER-DAEMON Fri Apr 11 14:03:43 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3Ij9-0000Xl-9L
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:43 -0400
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 1u3Ij2-0000Uf-Fy
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:37 -0400
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 1u3Ij2-0003Au-5O
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:03:36 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 23520C472DE; Fri, 11 Apr 2025 14:03:36 -0400 (EDT)
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: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
References: <174439461413.23392.7177999595659138001@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 9bc7536bd8755f3b63118613496a89671512f2db
Auto-Submitted: auto-generated
Message-Id: <20250411180336.23520C472DE@vcs2.savannah.gnu.org>
Date: Fri, 11 Apr 2025 14:03:35 -0400 (EDT)
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: Fri, 11 Apr 2025 18:03:37 -0000

branch: master
commit 9bc7536bd8755f3b63118613496a89671512f2db
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Mar 25 17:57:44 2025 +0200

    libtool: Add configuration options for CXX linking
    
    Add configuration options to choose whether to use '-nostdlib' when
    linking C++ shared libraries and modules.
    
    * m4/libtool.m4: Replace '-nostdlib' with variable '$stdlibflag' and
      set '$output_verbose_link_cmd' to be empty when enabling standard
      library linking for C++ modules.
    * m4/ltoptions.m4: Add new configuration options, --enable-cxx-stdlib
      and --disable-cxx-stdlib, and add LT_INIT options, cxx-stdlib and
      no-cxx-stdlib.
    * doc/libtool.texi: Update for new configuration options.
    * NEWS: Update.
---
 NEWS             |  5 +++++
 doc/libtool.texi | 13 +++++++++++++
 m4/libtool.m4    | 48 ++++++++++++++++++++++++++++--------------------
 m4/ltoptions.m4  | 44 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 90 insertions(+), 20 deletions(-)

diff --git a/NEWS b/NEWS
index 0a613563..575d7716 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,11 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Increase 5 digit limit on revision value for libraries to 19 digits,
     which is referencing Unix epoch time in nanoseconds.
 
+  - Add configuration options to choose whether to use '-nostdlib' to let
+    the compiler frontend decide what standard libraries to link when
+    building C++ shared libraries and modules, --enable-cxx-stdlib and
+    --disable-cxx-stdlib.
+
 ** Bug fixes:
 
   - Fix wrongly deduplicated compiler dependencies on linux.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 710f238f..60ddab7a 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -2378,6 +2378,19 @@ Change the default behaviour of @command{libtool} to try to use only
 non-PIC objects.  The user may still override this default by
 specifying @option{--enable-pic} to @command{configure}.
 
+@item cxx-stdlib
+Change the default behaviour for @command{libtool} to let the compiler
+frontend decide what standard libraries to link when building C++ shared
+libraries and modules.
+The user may still override this default by specifying
+@option{--disable-cxx-stdlib} to @command{configure}.
+
+@item no-cxx-stdlib
+Change the default behaviour for @command{libtool} to not link
+standard libraries when building C++ shared libraries and modules.
+The user may still override this default by specifying
+@option{--enable-cxx-stdlib} to @command{configure}.
+
 @end table
 
 @end defmac
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index dd665d10..ae0387db 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1201,8 +1201,8 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
     _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
     m4_if([$1], [CXX],
 [   if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
-      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
-      _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs $stdlibflag -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+      _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs $stdlibflag -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
     fi
 ],[])
   else
@@ -3016,6 +3016,8 @@ netbsdelf*-gnu)
   shlibpath_overrides_runpath=no
   hardcode_into_libs=yes
   dynamic_linker='NetBSD ld.elf_so'
+  enable_cxx_stdlib=yes
+  stdlibflag=
   ;;
 
 netbsd*)
@@ -3034,6 +3036,8 @@ netbsd*)
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
   hardcode_into_libs=yes
+  enable_cxx_stdlib=yes
+  stdlibflag=
   ;;
 
 *-mlibc)
@@ -3541,7 +3545,7 @@ case $host_os in
     ;;
   darwin*)
     if test yes = "$GCC"; then
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+      reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
     else
       reload_cmds='$LD$reload_flag -o $output$reload_objs'
     fi
@@ -6596,8 +6600,8 @@ if test yes != "$_lt_caught_CXX_error"; then
       # Check if GNU C++ uses GNU ld as the underlying linker, since the
       # archiving commands below assume that GNU ld is being used.
       if test yes = "$with_gnu_ld"; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
@@ -6622,7 +6626,7 @@ if test yes != "$_lt_caught_CXX_error"; then
         # linker, instead of GNU ld.  If possible, this setting should
         # overridden to take advantage of the native linker features on
         # the platform it is being used on.
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
       fi
 
       # Commands to make compiler produce verbose output that lists
@@ -6893,7 +6897,7 @@ if test yes != "$_lt_caught_CXX_error"; then
 	  _LT_TAGVAR(file_list_spec, $1)='@'
 
 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 	    # If the export-symbols file already is a .def file, use it as
 	    # is; otherwise, prepend EXPORTS...
 	    _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
@@ -6902,7 +6906,7 @@ if test yes != "$_lt_caught_CXX_error"; then
               echo EXPORTS > $output_objdir/$soname.def;
               cat $export_symbols >> $output_objdir/$soname.def;
             fi~
-            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+            $CC -shared $stdlibflag $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 	  else
 	    _LT_TAGVAR(ld_shlibs, $1)=no
 	  fi
@@ -7009,7 +7013,7 @@ if test yes != "$_lt_caught_CXX_error"; then
             ;;
           *)
             if test yes = "$GXX"; then
-              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $stdlibflag $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
             else
               # FIXME: insert proper C++ library support
               _LT_TAGVAR(ld_shlibs, $1)=no
@@ -7077,13 +7081,13 @@ if test yes != "$_lt_caught_CXX_error"; then
 	      if test no = "$with_gnu_ld"; then
 	        case $host_cpu in
 	          hppa*64*)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          ia64*)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          *)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	        esac
 	      fi
@@ -7124,9 +7128,9 @@ if test yes != "$_lt_caught_CXX_error"; then
           *)
 	    if test yes = "$GXX"; then
 	      if test no = "$with_gnu_ld"; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 	      else
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
 	      fi
 	    fi
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -7402,10 +7406,10 @@ if test yes != "$_lt_caught_CXX_error"; then
 	      _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
 	      case $host in
 	        osf3*)
-	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 		  ;;
 	        *)
-	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $stdlibflag $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 		  ;;
 	      esac
 
@@ -7495,9 +7499,9 @@ if test yes != "$_lt_caught_CXX_error"; then
 	    if test yes,no = "$GXX,$with_gnu_ld"; then
 	      _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+                  $CC -shared $pic_flag $stdlibflag $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
@@ -7506,9 +7510,9 @@ if test yes != "$_lt_caught_CXX_error"; then
 	      else
 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
 	        # platform.
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -G $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+                  $CC -G $stdlibflag $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
@@ -7747,6 +7751,10 @@ if AC_TRY_EVAL(ac_compile); then
   # the conftest object file.
   pre_test_object_deps_done=no
 
+  if test yes = "$enable_cxx_stdlib"; then
+    output_verbose_link_cmd=
+  fi
+
   for p in `eval "$output_verbose_link_cmd"`; do
     case $prev$p in
 
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index 725d14bb..bec3a76a 100644
--- a/m4/ltoptions.m4
+++ b/m4/ltoptions.m4
@@ -80,6 +80,7 @@ m4_if([$1],[LT_INIT],[
   _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
   _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
   _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
+  _LT_UNLESS_OPTIONS([LT_INIT], [cxx-stdlib no-cxx-stdlib], [_LT_ENABLE_CXX_STDLIB])
   _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
 		   [_LT_ENABLE_FAST_INSTALL])
   _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
@@ -456,6 +457,49 @@ put the 'pic-only' option into LT_INIT's first parameter.])
 dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
 
+
+# _LT_ENABLE_CXX_STDLIB([MODE])
+# --------------------
+# implement the --enable-cxx-stdlib flag, and support the 'cxx-stdlib' and 'no-cxx-stdlib'
+# LT_INIT options.
+# MODE is either 'yes' or 'no'.  If omitted, it defaults to 'no'.
+m4_define([_LT_ENABLE_CXX_STDLIB],
+[m4_define([_LT_ENABLE_CXX_STDLIB_DEFAULT], [m4_if($1, yes, yes, no)])dnl
+stdlibflag=-nostdlib
+AC_ARG_ENABLE([cxx-stdlib],
+    [AS_HELP_STRING([--enable-cxx-stdlib@<:@=PKGS@:>@],
+	  [let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules @<:@default=]_LT_ENABLE_CXX_STDLIB_DEFAULT[@:>@])],
+    [p=${PACKAGE-default}
+    case $enableval in
+    yes) enable_cxx_stdlib=yes ;;
+    no) enable_cxx_stdlib=no ;;
+    *)
+     enable_cxx_stdlib=no
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+      for pkg in $enableval; do
+	IFS=$lt_save_ifs
+	if test "X$pkg" = "X$p"; then
+	  enable_cxx_stdlib=yes
+	fi
+      done
+      IFS=$lt_save_ifs
+      ;;
+    esac],
+    [enable_cxx_stdlib=]_LT_ENABLE_CXX_STDLIB_DEFAULT)
+
+if test yes = "$enable_cxx_stdlib"; then
+  stdlibflag=
+fi
+
+_LT_DECL([], [enable_cxx_stdlib], [0], [Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules])dnl
+_LT_DECL([], [stdlibflag], [0], [Flag used for specifying not to link standard libraries])dnl
+])# _LT_ENABLE_CXX_STDLIB
+
+LT_OPTION_DEFINE([LT_INIT], [cxx-stdlib], [_LT_ENABLE_CXX_STDLIB([yes])])
+LT_OPTION_DEFINE([LT_INIT], [no-cxx-stdlib], [_LT_ENABLE_CXX_STDLIB([no])])
+
+
 ## ----------------- ##
 ## LTDL_INIT Options ##
 ## ----------------- ##


From MAILER-DAEMON Fri Apr 11 14:04:47 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u3IkB-0000vR-FB
	for mharc-libtool-commit@gnu.org; Fri, 11 Apr 2025 14:04:47 -0400
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 1u3Iji-0000nJ-NN
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:04:23 -0400
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 1u3Iji-0003MC-Cr
 for libtool-commit@gnu.org; Fri, 11 Apr 2025 14:04:18 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 52125C472DD; Fri, 11 Apr 2025 14:04:18 -0400 (EDT)
Date: Fri, 11 Apr 2025 14:04:18 -0400
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: <174439465798.24162.3504642446340338229@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: a390f27ff13fd8bca3f43ab4721d8dc56c476acb
X-Git-Newrev: 409501b0a717552624707708adf5e7fd7c872ca3
X-Git-Rev: 409501b0a717552624707708adf5e7fd7c872ca3
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: Fri, 11 Apr 2025 18:04:37 -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 409501b0 m4: Update serials for modified files
409501b0 is described below

commit 409501b0a717552624707708adf5e7fd7c872ca3
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri Apr 11 20:57:53 2025 +0300

    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 ae0387db..99b53ad0 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 64 LT_INIT
+# serial 65 LT_INIT
 
 
 # LT_PREREQ(VERSION)
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index bec3a76a..9e93e6f0 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 11 ltoptions.m4
+# serial 12 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 Tue Apr 15 10:35:23 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u4hNh-0006bo-T5
	for mharc-libtool-commit@gnu.org; Tue, 15 Apr 2025 10:35:23 -0400
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 1u4hNd-0006am-9H
 for libtool-commit@gnu.org; Tue, 15 Apr 2025 10:35:17 -0400
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 1u4hNd-0007UK-0Z
 for libtool-commit@gnu.org; Tue, 15 Apr 2025 10:35:17 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id F31CAC4B222; Tue, 15 Apr 2025 10:35:15 -0400 (EDT)
Date: Tue, 15 Apr 2025 10:35:15 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: NEWS: Update for bugs fixed
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174472771538.3622.17076444262676567554@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: 409501b0a717552624707708adf5e7fd7c872ca3
X-Git-Newrev: 07adb5007d9dd0e5baf92195d9625e1b12c02b68
X-Git-Rev: 07adb5007d9dd0e5baf92195d9625e1b12c02b68
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, 15 Apr 2025 14:35: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 07adb500 NEWS: Update for bugs fixed
07adb500 is described below

commit 07adb5007d9dd0e5baf92195d9625e1b12c02b68
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Apr 15 17:32:50 2025 +0300

    NEWS: Update for bugs fixed
---
 NEWS | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NEWS b/NEWS
index 575d7716..81b28f1c 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Fix NetBSD postdeps for shared libraries.
 
+  - Fix statically linking dependencies into shared C++ libraries when
+    utilizing clang builtins or g++ options like, -static-libstdc++, by
+    using a new configuration option, --enable-cxx-stdlib.
+
 
 * Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
 


From MAILER-DAEMON Tue Apr 15 10:35:30 2025
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1u4hNl-0006cT-KQ
	for mharc-libtool-commit@gnu.org; Tue, 15 Apr 2025 10:35:26 -0400
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 1u4hNd-0006al-72
 for libtool-commit@gnu.org; Tue, 15 Apr 2025 10:35:17 -0400
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 1u4hNc-0007UL-Ux
 for libtool-commit@gnu.org; Tue, 15 Apr 2025 10:35:16 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 45659C4B216; Tue, 15 Apr 2025 10:35:16 -0400 (EDT)
Date: Tue, 15 Apr 2025 10:35:16 -0400
To: libtool-commit@gnu.org
Subject: branch master updated: NEWS: Update for bugs fixed
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <174472771544.3622.522902027243100875@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/master
X-Git-Reftype: branch
X-Git-Oldrev: 5b582aed255d0a998bc2b678597ce7b03aef6ffa
X-Git-Newrev: e6dd1eb7cff22f4a3a0e17343e69fc22f948cb5e
X-Git-Rev: e6dd1eb7cff22f4a3a0e17343e69fc22f948cb5e
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, 15 Apr 2025 14:35:17 -0000

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

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new e6dd1eb7 NEWS: Update for bugs fixed
e6dd1eb7 is described below

commit e6dd1eb7cff22f4a3a0e17343e69fc22f948cb5e
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Apr 15 17:32:50 2025 +0300

    NEWS: Update for bugs fixed
---
 NEWS | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NEWS b/NEWS
index 575d7716..81b28f1c 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Fix NetBSD postdeps for shared libraries.
 
+  - Fix statically linking dependencies into shared C++ libraries when
+    utilizing clang builtins or g++ options like, -static-libstdc++, by
+    using a new configuration option, --enable-cxx-stdlib.
+
 
 * Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
 


