From MAILER-DAEMON Fri May 15 14:26:08 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wNxEd-0005xc-C9
	for mharc-libtool-commit@gnu.org; Fri, 15 May 2026 14:26:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wNxEb-0005wN-9N
 for libtool-commit@gnu.org; Fri, 15 May 2026 14:26:05 -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 1wNxEb-0001h4-05
 for libtool-commit@gnu.org; Fri, 15 May 2026 14:26:05 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 93FFEC09BCE; Fri, 15 May 2026 14:26:04 -0400 (EDT)
To: libtool-commit@gnu.org
Subject: development updated (af293c39 -> f3845d56)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <177886956427.11664.6530257029885496615@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: af293c3956c10a6d9987e86c9be41f06e97d31f1
X-Git-Newrev: f3845d561c054ac66c85ef91e6ddf51228f9e146
Auto-Submitted: auto-generated
Date: Fri, 15 May 2026 14:26:04 -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, 15 May 2026 18:26:05 -0000

ildumi pushed a change to branch development.

    from af293c39 NEWS: Reorder for consistency
     new 99dc54f2 ltmain.in: Avoid using deprecated MSVC -o option
     new f3845d56 ltmain.in: overlinking dependency_libs when linking against a libtool library


Summary of changes:
 build-aux/ltmain.in | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)


From MAILER-DAEMON Fri May 15 14:26:10 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wNxEf-0005z8-Vv
	for mharc-libtool-commit@gnu.org; Fri, 15 May 2026 14:26:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wNxEb-0005wO-9d
 for libtool-commit@gnu.org; Fri, 15 May 2026 14:26:05 -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 1wNxEb-0001h5-1b
 for libtool-commit@gnu.org; Fri, 15 May 2026 14:26:05 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id C7EE7C09BD9; Fri, 15 May 2026 14:26:04 -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, Olly Betts <olly@survex.com>
In-Reply-To: <177886956427.11664.6530257029885496615@vcs2.savannah.gnu.org>
References: <177886956427.11664.6530257029885496615@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: 99dc54f266f2ea376c569282da0297ec77714057
Auto-Submitted: auto-generated
Message-Id: <20260515182604.C7EE7C09BD9@vcs2.savannah.gnu.org>
Date: Fri, 15 May 2026 14:26:04 -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, 15 May 2026 18:26:05 -0000

branch: development
commit 99dc54f266f2ea376c569282da0297ec77714057
Author: Olly Betts <olly@survex.com>
AuthorDate: Tue May 12 05:20:54 2026 +0300

    ltmain.in: Avoid using deprecated MSVC -o option
    
    Microsoft deprecated -o and MSVC emits a warning when used:
    
    cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
    
    The replacement when linking an executable is `-Fe`.
    
    Reported: https://savannah.gnu.org/patch/?10570
    
    * build-aux/ltmain.in: Replace -o with -Fe for MSVC compiler.
---
 build-aux/ltmain.in | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 70d0e111..3c30492b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -8907,7 +8907,13 @@ func_mode_link ()
 	    # compiling, it, like the target executable, must be
 	    # executed on the $host or under an emulation environment.
 	    $opt_dry_run || {
-	      $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
+	      func_cc_basename "$LTCC"
+	      case $func_cc_basename_result in
+		cl|cl.exe)
+		  $LTCC $LTCFLAGS -Fe$cwrapper $cwrappersource ;;
+		*)
+		  $LTCC $LTCFLAGS -o $cwrapper $cwrappersource ;;
+	      esac
 	      $STRIP $cwrapper
 	    }
 


From MAILER-DAEMON Fri May 15 14:26:10 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wNxEg-0005zC-4x
	for mharc-libtool-commit@gnu.org; Fri, 15 May 2026 14:26:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wNxEb-0005wP-AU
 for libtool-commit@gnu.org; Fri, 15 May 2026 14:26:05 -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 1wNxEb-0001h9-0v
 for libtool-commit@gnu.org; Fri, 15 May 2026 14:26:05 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id EC4B1C09BDB; Fri, 15 May 2026 14:26:04 -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: <177886956427.11664.6530257029885496615@vcs2.savannah.gnu.org>
References: <177886956427.11664.6530257029885496615@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: f3845d561c054ac66c85ef91e6ddf51228f9e146
Auto-Submitted: auto-generated
Message-Id: <20260515182604.EC4B1C09BDB@vcs2.savannah.gnu.org>
Date: Fri, 15 May 2026 14:26:04 -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, 15 May 2026 18:26:05 -0000

branch: development
commit f3845d561c054ac66c85ef91e6ddf51228f9e146
Author: Anthony Mallet <anthony.mallet@laas.fr>
AuthorDate: Thu May 7 00:20:33 2026 +0300

    ltmain.in: overlinking dependency_libs when linking against a libtool library
    
    On NetBSD, linking a shared lib A with a libtool shared library B always
    adds B's dependency to the dependencies of A, which is wrong on ELF systems.
    
    Reported: https://savannah.gnu.org/support/?111406
    
    * build-aux/ltmain.in: Move section of code to avoid overlinking
      dependency_libs on ELF systems.
---
 build-aux/ltmain.in | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 3c30492b..45e0668f 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6347,19 +6347,19 @@ func_mode_link ()
 	    # It is a libtool convenience library, so add in its objects.
 	    func_append convenience " $ladir/$objdir/$old_library"
 	    func_append old_convenience " $ladir/$objdir/$old_library"
+	    tmp_libs=
+	    for deplib in $dependency_libs; do
+	      deplibs="$deplib $deplibs"
+	      if $opt_preserve_dup_deps; then
+	        case "$tmp_libs " in
+	          *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+	        esac
+	      fi
+	      func_append tmp_libs " $deplib"
+	    done
 	  elif test prog != "$linkmode" && test lib != "$linkmode"; then
 	    func_fatal_error "'$lib' is not a convenience library"
 	  fi
-	  tmp_libs=
-	  for deplib in $dependency_libs; do
-	    deplibs="$deplib $deplibs"
-	    if $opt_preserve_dup_deps; then
-	      case "$tmp_libs " in
-	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
-	      esac
-	    fi
-	    func_append tmp_libs " $deplib"
-	  done
 	  continue
 	fi # $pass = conv
 


From MAILER-DAEMON Thu May 21 14:23:51 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wQ83j-0003x5-GT
	for mharc-libtool-commit@gnu.org; Thu, 21 May 2026 14:23:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wQ83d-0003wG-VF
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:45 -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 1wQ83d-0008LL-Mr
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:45 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 2D2E2C09BED; Thu, 21 May 2026 14:23:44 -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, Alexandre Janniaux <ajanni@videolabs.io>
In-Reply-To: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
References: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: ec577ffbb3b5fc6752da7e26a23d11056a9f2cea
Auto-Submitted: auto-generated
Message-Id: <20260521182345.2D2E2C09BED@vcs2.savannah.gnu.org>
Date: Thu, 21 May 2026 14:23:44 -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: Thu, 21 May 2026 18:23:46 -0000

branch: development
commit ec577ffbb3b5fc6752da7e26a23d11056a9f2cea
Author: Alexandre Janniaux <ajanni@videolabs.io>
AuthorDate: Tue Apr 28 16:11:01 2026 +0200

    tests: extend archive-in-archive with dependency forwarding check
    
    Verify that the old library dependency is recorded in
    dependency_libs of the target .la file, and that an executable
    linked against the target can resolve symbols from the forwarded
    dependency.
    
    Reported: https://savannah.gnu.org/patch/?10569
---
 tests/archive-in-archive.at | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/tests/archive-in-archive.at b/tests/archive-in-archive.at
index b48579ae..fd667232 100644
--- a/tests/archive-in-archive.at
+++ b/tests/archive-in-archive.at
@@ -31,7 +31,14 @@ int foo() { return 1;}
 
 AT_DATA([bar.c],
 [
-int bar() { return 1;}
+extern int foo();
+int bar() { return foo();}
+])
+
+AT_DATA([main.c],
+[
+extern int bar();
+int main() { return !bar();}
 ])
 
 thisdir=`cd . && pwd`
@@ -54,4 +61,13 @@ AT_CHECK([$AR -t $libbar | $GREP $libfoo],[1],[ignore],[ignore])
 AT_CHECK([$AR -t $libbar | $GREP foo.$OBJEXT],[1],[ignore],[ignore])
 # bar's own object must still be present.
 AT_CHECK([$AR -t $libbar | $GREP bar.$OBJEXT],[],[ignore],[ignore])
+# libfoo must be forwarded in dependency_libs of libbar.la.
+AT_CHECK([$GREP 'dependency_libs=.*foo' libbar.la],[],[ignore],[ignore])
+# Link an executable against libbar.la; the forwarded dependency must
+# allow the linker to resolve foo().
+$CC $CPPFLAGS $CFLAGS -c -o main.$OBJEXT main.c
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS \
+	 -o main$EXEEXT main.$OBJEXT libbar.la],
+	 [], [ignore], [ignore])
+LT_AT_EXEC_CHECK([./main])
 AT_CLEANUP


From MAILER-DAEMON Thu May 21 14:23:51 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wQ83j-0003x9-L7
	for mharc-libtool-commit@gnu.org; Thu, 21 May 2026 14:23:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wQ83e-0003wY-6U
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:46 -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 1wQ83d-0008LU-Tc
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:45 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id A2B50C09BEA; Thu, 21 May 2026 14:23:45 -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, Alexandre Janniaux <ajanni@videolabs.io>
In-Reply-To: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
References: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: 2dfd9132f835657f6be7a63645a8331f048370a6
Auto-Submitted: auto-generated
Message-Id: <20260521182345.A2B50C09BEA@vcs2.savannah.gnu.org>
Date: Thu, 21 May 2026 14:23:45 -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: Thu, 21 May 2026 18:23:47 -0000

branch: development
commit 2dfd9132f835657f6be7a63645a8331f048370a6
Author: Alexandre Janniaux <ajanni@videolabs.io>
AuthorDate: Fri Apr 2 13:14:41 2021 +0200

    ltmain.in: defer warn dependency to static library
    
    When linking old library to any libtool target that is not an
    executable, libtool warns that it might not be portable, in particular
    because shared libraries need PIC from the static library to be working.
    
    However, when adding an old library as dependency to a static libtool
    library, there is no linkage, and thus no portability issue, so there's
    no reason to warn. If the static libtool library is then linked to a
    shared library, the dependency will be forwarded and the warning will
    happen at this time.
    
    Reported: https://savannah.gnu.org/patch/?10569
---
 build-aux/ltmain.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 7947a3bf..e874b44a 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6246,7 +6246,9 @@ func_mode_link ()
 		;;
 	      esac
 	      if $valid_a_lib; then
-		func_warning "Linking the shared library $output against the static library $deplib is not portable!"
+		if test yes != "$build_old_libs"; then
+		  func_warning "Linking the shared library $output against the static library $deplib is not portable!"
+		fi
 		deplibs="$deplib $deplibs"
 	      else
 		func_warning "Trying to link with static lib archive $deplib."


From MAILER-DAEMON Thu May 21 14:23:53 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wQ83k-0003xh-KE
	for mharc-libtool-commit@gnu.org; Thu, 21 May 2026 14:23:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wQ83e-0003wI-0e
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:46 -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 1wQ83c-0008LI-Bp
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:45 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 4510FC09BEC; Thu, 21 May 2026 14:23:41 -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, Alexandre Janniaux <ajanni@videolabs.io>
In-Reply-To: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
References: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: c6ded7d821f7bda31ed56ef968ad78ab4f945085
Auto-Submitted: auto-generated
Message-Id: <20260521182344.4510FC09BEC@vcs2.savannah.gnu.org>
Date: Thu, 21 May 2026 14:23:41 -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: Thu, 21 May 2026 18:23:46 -0000

branch: development
commit c6ded7d821f7bda31ed56ef968ad78ab4f945085
Author: Alexandre Janniaux <ajanni@videolabs.io>
AuthorDate: Tue Apr 6 10:22:14 2021 +0200

    ltmain.in: ensure old libraries are not archived
    
    Previously, adding a static archive library, aka. old library, as a
    dependency of a new libtool library compiled as a static archive (be it
    a convenience library or an installed static library) resulted in the
    dependency archive being added into the target archive as-is.
    
    However, linkers are usually not able to use nested archive as-is. It
    results in errors like these on Linux and Darwin at least:
    
        /usr/bin/ld: ./.libs/libfoo.a: member ./.libs/libfoo.a(libbar.a) in
        archive is not an object
    
    or
    
        /usr/bin/nm: libbar.a: file format not recognized
    
    With libfoo.a being the static libtool target and libbar.a being the
    nested/linked static library.
    
    Libtool has a quite close behaviour with convenience libraries, where
    the content (objects) of the convenience library are extracted and added
    back into the new target, but that´s mostly a libtool creation.
    
    The static dependencies should not be "linked" into other static
    libraries as there should not be linking involved, and we don´t want to
    potentially duplicate symbols like done for the convenience libraries.
    
    Instead, keep them in the dependency_libs of the new libtool archive
    created and forward them until we link a shared library or an
    executable. We do need to ensure they are referenced with absolute path
    since we can link from a different folder than the one it was referenced
    from.
    
    We also need to filter out the shared library case since we don't want
    to include the static archives in dependencies again.
    
    The test was marked XFAIL since 2010 because the fix for the
    nested-archive bug was incomplete. Now that ltmain.in properly
    forwards old library dependencies instead of archiving them,
    the test passes: remove the AT_XFAIL_IF and correct the
    foo.$OBJEXT assertion (objects from the dependency must NOT
    appear in the target archive).
    
    Absolute paths are forwarded as-is like above.
    Relative paths are transformed into absolute using pwd.
    
    The old deplibs are not appended if they have been linked
    into a shared library output already.
    
    Reported: https://savannah.gnu.org/patch/?10569
---
 build-aux/ltmain.in         | 24 +++++++++++++++++++++---
 tests/archive-in-archive.at |  8 ++++----
 2 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 45e0668f..7947a3bf 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5816,7 +5816,6 @@ func_mode_link ()
       *.$libext|*.so)
 	# An archive or an explicit shared library.
 	func_append deplibs " $arg"
-	func_append old_deplibs " $arg"
 	continue
 	;;
 
@@ -6215,6 +6214,8 @@ func_mode_link ()
 	  if test conv = "$pass"; then
 	    deplibs="$deplib $deplibs"
 	    continue
+	  else
+	    func_append old_deplibs " $deplib"
 	  fi
 	  case $linkmode in
 	  lib)
@@ -7184,7 +7185,6 @@ func_mode_link ()
       # Now set the variables for building old libraries.
       build_libtool_libs=no
       oldlibs=$output
-      func_append objs "$old_deplibs"
       ;;
 
     lib)
@@ -8958,7 +8958,11 @@ func_mode_link ()
 	  build_libtool_libs=no
           ;;
 	*)
-	  oldobjs="$old_deplibs $non_pic_objects"
+	  oldobjs=$non_pic_objects
+	  # This is not correct to add old_deplibs creating an archive
+	  # so append them only when creating an executable or a shared
+	  # library.
+	  test yes != "$build_old_libs" && oldobjs="$oldobjs $old_deplibs"
 	  $preload && test -f "$symfileobj" \
 	    && func_append oldobjs " $symfileobj"
 	  addlibs=$old_convenience
@@ -9219,6 +9223,20 @@ func_mode_link ()
 	    done
 	    dlprefiles=$newdlprefiles
 	  fi
+
+	  # Forward old library dependencies only when no shared
+	  # library is being built. When building the shared library,
+	  # the linker uses $deplibs to link the archives into it, but
+	  # then we don't want to add it as transitive dependency.
+	  if test -z "$library_names"; then
+	    for lib in $old_deplibs; do
+	      case $lib in
+		[\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+		*) abs=`pwd`"/$lib" ;;
+	      esac
+	      func_append dependency_libs " $abs"
+	    done
+	  fi
 	  $RM $output
 	  # place dlname in correct position for cygwin
 	  # In fact, it would be nice if we could use this code for all target
diff --git a/tests/archive-in-archive.at b/tests/archive-in-archive.at
index d081f57d..b48579ae 100644
--- a/tests/archive-in-archive.at
+++ b/tests/archive-in-archive.at
@@ -24,9 +24,6 @@
 AT_SETUP([static library contains static library])
 AT_KEYWORDS([libtool])
 
-# This test passes with MS lib.
-AT_XFAIL_IF([case $AR in ar-lib\ * | *[[/\\]]ar-lib\ *) false;; *) :;; esac])
-
 AT_DATA([foo.c],
 [
 int foo() { return 1;}
@@ -51,7 +48,10 @@ AT_CHECK([$LIBTOOL --mode=link --tag=CC --tag=disable-shared $CC $CFLAGS $LDFLAG
 AT_CHECK([$LIBTOOL --mode=install cp libbar.la $thisdir], [], [ignore], [ignore])
 eval `$EGREP '^(old_library)=' < libbar.la`
 libbar=$old_library
+# The old library (libfoo.a) must NOT be nested inside libbar.a.
 AT_CHECK([$AR -t $libbar | $GREP $libfoo],[1],[ignore],[ignore])
-AT_CHECK([$AR -t $libbar | $GREP foo.$OBJEXT],[],[ignore],[ignore])
+# Objects from libfoo must NOT be extracted into libbar.a either.
+AT_CHECK([$AR -t $libbar | $GREP foo.$OBJEXT],[1],[ignore],[ignore])
+# bar's own object must still be present.
 AT_CHECK([$AR -t $libbar | $GREP bar.$OBJEXT],[],[ignore],[ignore])
 AT_CLEANUP


From MAILER-DAEMON Thu May 21 14:23:55 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wQ83l-0003xr-WA
	for mharc-libtool-commit@gnu.org; Thu, 21 May 2026 14:23:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wQ83d-0003wH-W5
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:46 -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 1wQ83Z-0008L9-SW
 for libtool-commit@gnu.org; Thu, 21 May 2026 14:23:44 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 45963C09BEB; Thu, 21 May 2026 14:23:41 -0400 (EDT)
To: libtool-commit@gnu.org
Subject: development updated (f3845d56 -> 2dfd9132)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <177938782096.697.1539717977456412554@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: f3845d561c054ac66c85ef91e6ddf51228f9e146
X-Git-Newrev: 2dfd9132f835657f6be7a63645a8331f048370a6
Auto-Submitted: auto-generated
Date: Thu, 21 May 2026 14:23:41 -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: Thu, 21 May 2026 18:23:46 -0000

ildumi pushed a change to branch development.

    from f3845d56 ltmain.in: overlinking dependency_libs when linking against a libtool library
     new c6ded7d8 ltmain.in: ensure old libraries are not archived
     new ec577ffb tests: extend archive-in-archive with dependency forwarding check
     new 2dfd9132 ltmain.in: defer warn dependency to static library


Summary of changes:
 build-aux/ltmain.in         | 28 ++++++++++++++++++++++++----
 tests/archive-in-archive.at | 26 +++++++++++++++++++++-----
 2 files changed, 45 insertions(+), 9 deletions(-)


From MAILER-DAEMON Mon May 25 13:30:46 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wRZ8Y-0002MK-Fj
	for mharc-libtool-commit@gnu.org; Mon, 25 May 2026 13:30:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wRZ8W-0002M8-Qs
 for libtool-commit@gnu.org; Mon, 25 May 2026 13:30:44 -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 1wRZ8W-0005Y0-Ie
 for libtool-commit@gnu.org; Mon, 25 May 2026 13:30:44 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 39A68C09BF8; Mon, 25 May 2026 13:30:44 -0400 (EDT)
Date: Mon, 25 May 2026 13:30:43 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: m4/libtool.m4: Add support for
 *-ironclad-gnu
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <177973024381.27385.14531537726475734389@vcs2.savannah.gnu.org>
Reply-To: Mintsuki <mintsuki@protonmail.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: 2dfd9132f835657f6be7a63645a8331f048370a6
X-Git-Newrev: eab6572e6362576227aa8697e03e7c00a23fb409
X-Git-Rev: eab6572e6362576227aa8697e03e7c00a23fb409
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: Mon, 25 May 2026 17:30:45 -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 eab6572e m4/libtool.m4: Add support for *-ironclad-gnu
eab6572e is described below

commit eab6572e6362576227aa8697e03e7c00a23fb409
Author: Mintsuki <mintsuki@protonmail.com>
AuthorDate: Tue May 19 05:03:33 2026 +0200

    m4/libtool.m4: Add support for *-ironclad-gnu
    
    The main Ironclad distribution, Gloire, has moved to using the
    GNU C Library as its libc. Add support for that.
    
    Reported: https://savannah.gnu.org/patch/?10571
---
 m4/libtool.m4 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 84a34a12..a600880d 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3047,7 +3047,7 @@ linux*android*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
@@ -3802,7 +3802,7 @@ irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -4629,7 +4629,7 @@ m4_if([$1], [CXX], [
 	;;
       *-mlibc)
 	;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+      linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 	case $cc_basename in
 	  KCC*)
 	    # KAI C++ Compiler
@@ -4961,7 +4961,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
       ;;
 
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
+    linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
       case $cc_basename in
       # old Intel for x86_64, which still supported -KPIC.
       ecc*)
@@ -5469,7 +5469,7 @@ _LT_EOF
 	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu)
       tmp_diet=no
       if test linux-dietlibc = "$host_os"; then
 	case $cc_basename in
@@ -7247,7 +7247,7 @@ if test yes != "$_lt_caught_CXX_error"; then
         _LT_TAGVAR(ld_shlibs, $1)=yes
 	;;
 
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+      linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
         case $cc_basename in
           KCC*)
 	    # Kuck and Associates, Inc. (KAI) C++ Compiler


From MAILER-DAEMON Fri May 29 14:21:11 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wT1pS-0006bh-VQ
	for mharc-libtool-commit@gnu.org; Fri, 29 May 2026 14:21:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wT1pK-0006au-Pw
 for libtool-commit@gnu.org; Fri, 29 May 2026 14:20:58 -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 1wT1pK-0004R7-H1
 for libtool-commit@gnu.org; Fri, 29 May 2026 14:20:58 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 2029BC09DB2; Fri, 29 May 2026 14:20:58 -0400 (EDT)
Date: Fri, 29 May 2026 14:20:57 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: Update outdated and invalid URLs
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178007885746.4817.4576492986712378635@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: eab6572e6362576227aa8697e03e7c00a23fb409
X-Git-Newrev: 83c5ef5d9681c7b24a94f165047ea9fa7bdef26e
X-Git-Rev: 83c5ef5d9681c7b24a94f165047ea9fa7bdef26e
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, 29 May 2026 18:20:59 -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 83c5ef5d Update outdated and invalid URLs
83c5ef5d is described below

commit 83c5ef5d9681c7b24a94f165047ea9fa7bdef26e
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri May 29 20:27:36 2026 +0300

    Update outdated and invalid URLs
---
 TODO                           | 2 +-
 build-aux/git-hooks/commit-msg | 2 +-
 build-aux/ltmain.in            | 6 +++---
 doc/libtool.texi               | 6 +++---
 libtoolize.in                  | 2 +-
 m4/libtool.m4                  | 2 +-
 m4/ltdl.m4                     | 1 -
 m4/m4.m4                       | 4 ++--
 tests/convenience.at           | 2 +-
 tests/darwin.at                | 2 +-
 tests/exceptions.at            | 4 ++--
 tests/lt_dlexit.at             | 4 ++--
 tests/lt_dlopenext.at          | 2 +-
 13 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/TODO b/TODO
index 69677112..9ac448ca 100644
--- a/TODO
+++ b/TODO
@@ -256,7 +256,7 @@ GNU Libtool
 * QoI for file name and path conversion functions. Currently, these are
   implemented as MxN different functions; this has quadratic complexity. If
   possible, it would be preferred to implement then as M+N functions.  However:
-    http://lists.gnu.org/archive/html/libtool-patches/2010-08/msg00224.html
+    https://lists.gnu.org/archive/html/libtool-patches/2010-08/msg00224.html
     The main issue is you don't know what the "native" (e.g. "central")
     path-type is; e.g. "from-X (to what?)" and "(from what?) to-Y". Right
     now there are only four "platforms" involved: *nix, mingw, msys, and
diff --git a/build-aux/git-hooks/commit-msg b/build-aux/git-hooks/commit-msg
index 3941dd7d..342116b4 100755
--- a/build-aux/git-hooks/commit-msg
+++ b/build-aux/git-hooks/commit-msg
@@ -19,7 +19,7 @@
 # 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 <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 
 : ${SED="sed"}
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index e874b44a..af2f7560 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -24,7 +24,7 @@
 # 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 <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 
 PROGRAM=libtool
@@ -587,8 +587,8 @@ libtool_validate_options ()
     test : = "$debug_cmd" || func_append preserve_args " --debug"
 
     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
+      # Solaris2 added to fix https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
+      # see also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
       cygwin* | mingw* | windows* | pw32* | cegcc* | solaris2* | os2* | *linux*)
         # don't eliminate duplications in $postdeps and $predeps
         opt_duplicate_compiler_generated_deps=:
diff --git a/doc/libtool.texi b/doc/libtool.texi
index b6857b72..8eb78ce5 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -2934,7 +2934,7 @@ You may want to put a small note in your package @file{README} to let
 other developers know that @option{--disable-shared} can save them time.
 The following example note is taken from the GIMP@footnote{GNU Image
 Manipulation Program, for those who haven't taken the plunge.  See
-@url{http://www.gimp.org/}.} distribution @file{README}:
+@url{https://www.gimp.org/}.} distribution @file{README}:
 
 @example
 The GIMP uses GNU Libtool to build shared libraries on a
@@ -6201,7 +6201,7 @@ single Windows instance, so Cygwin applications can be launched from a MinGW
 context, and vice versa---provided certain care is taken.  Another example
 would be if the build platform were GNU/Linux on an x86 32bit processor, and
 the host platform were MinGW.  In this situation, the
-@uref{http://www.winehq.org/, Wine} environment can be used to launch Windows
+@uref{https://www.winehq.org/, Wine} environment can be used to launch Windows
 applications from the GNU/Linux operating system; again, provided certain care
 is taken.
 
@@ -6417,7 +6417,7 @@ required. @xref{LT_CYGPATH}.
 @cindex Path Conversion - Unix to Windows
 
 
-@uref{http://www.winehq.org/, Wine} provides an interpretation environment for
+@uref{https://www.winehq.org/, Wine} provides an interpretation environment for
 some Unix platforms where Windows applications can be executed.  It provides
 a mapping between the Unix file system and a virtual Windows file system used
 by the Windows programs.  For the file name conversion to work, Wine must be
diff --git a/libtoolize.in b/libtoolize.in
index 422fa921..96f76d21 100644
--- a/libtoolize.in
+++ b/libtoolize.in
@@ -18,7 +18,7 @@
 # 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 <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 
 ## ------ ##
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index a600880d..994eb0e5 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -29,7 +29,7 @@ m4_define([_LT_COPYING], [dnl
 # 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 <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 ])
 
 # serial 66 LT_INIT
diff --git a/m4/ltdl.m4 b/m4/ltdl.m4
index ddbbb263..52953fe5 100644
--- a/m4/ltdl.m4
+++ b/m4/ltdl.m4
@@ -469,7 +469,6 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
     ;;
   darwin*)
     # Assuming the user has installed a libdl from somewhere, this is true
-    # If you are looking for one http://www.opendarwin.org/projects/dlcompat
     lt_cv_sys_dlopen_deplibs=yes
     ;;
   freebsd* | dragonfly* | midnightbsd*)
diff --git a/m4/m4.m4 b/m4/m4.m4
index 05308105..e84fd349 100644
--- a/m4/m4.m4
+++ b/m4/m4.m4
@@ -12,8 +12,8 @@
 # --------------
 # Check for GNU M4, at least 1.4.6 (all earlier versions had bugs in
 # trace support and regexp support):
-# http://lists.gnu.org/archive/html/bug-gnu-utils/2006-11/msg00096.html
-# http://lists.gnu.org/archive/html/bug-autoconf/2009-07/msg00023.html
+# https://lists.gnu.org/archive/html/bug-gnu-utils/2006-11/msg00096.html
+# https://lists.gnu.org/archive/html/bug-autoconf/2009-07/msg00023.html
 # Also, check whether --error-output (through 1.4.x) or --debugfile (2.0)
 # is supported, and AC_SUBST M4_DEBUGFILE accordingly.
 # Also avoid versions of m4 that trigger strstr bugs.
diff --git a/tests/convenience.at b/tests/convenience.at
index 83cf6d6a..a14549fc 100644
--- a/tests/convenience.at
+++ b/tests/convenience.at
@@ -257,7 +257,7 @@ public class A$i {
 };
 EOF
 
-  # Workaround http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42143
+  # Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42143
   # Some 4.3.x and 4.4.x releases of gcj insert a spurious dummy symbol
   # into every object file when compiling directly from .java to .o, so
   # we have to make .class files first, and then compile those to native
diff --git a/tests/darwin.at b/tests/darwin.at
index a9e860bf..5d5c434f 100644
--- a/tests/darwin.at
+++ b/tests/darwin.at
@@ -260,7 +260,7 @@ bindir=$prefix/bin
 mkdir $prefix $libdir $bindir
 
 # This code is copied from the Autobook:
-# <http://sources.redhat.com/autobook/autobook/autobook_169.html>
+# <https://www.sourceware.org/autobook/autobook/autobook_98.html>
 # so if it needs changes, be sure to notify the Autobook authors
 # about them.
 
diff --git a/tests/exceptions.at b/tests/exceptions.at
index e1fcc84d..b1f7408c 100644
--- a/tests/exceptions.at
+++ b/tests/exceptions.at
@@ -67,8 +67,8 @@ CPPFLAGS="$LTDLINCL $CPPFLAGS"
 # __declspec (dllimport) flags when building the DLLs and the clients.
 #
 # For more information, see these two threads:
-#   http://lists.gnu.org/archive/html/bug-libtool/2010-06/msg00069.html
-#   http://cygwin.com/ml/cygwin/2010-06/msg00392.html
+#   https://lists.gnu.org/archive/html/bug-libtool/2010-06/msg00069.html
+#   https://sourceware.org/legacy-ml/cygwin/2010-06/msg00392.html
 # To sum up: C++ is complicated.
 AT_DATA([common.h],
 [[#ifndef LIBTOOL_TEST_COMMON_HEADER
diff --git a/tests/lt_dlexit.at b/tests/lt_dlexit.at
index 0f4f50e1..fde902f9 100644
--- a/tests/lt_dlexit.at
+++ b/tests/lt_dlexit.at
@@ -29,8 +29,8 @@ AT_SETUP([lt_dlexit unloading libs])
 AT_KEYWORDS([libltdl])
 
 # Test for
-# http://lists.gnu.org/archive/html/bug-libtool/2007-01/msg00014.html
-# http://lists.gnu.org/archive/html/bug-libtool/2008-03/msg00013.html
+# https://lists.gnu.org/archive/html/bug-libtool/2007-01/msg00014.html
+# https://lists.gnu.org/archive/html/bug-libtool/2008-03/msg00013.html
 
 AT_DATA([main.c],
 [[#include <ltdl.h>
diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at
index d190c504..f51b3485 100644
--- a/tests/lt_dlopenext.at
+++ b/tests/lt_dlopenext.at
@@ -30,7 +30,7 @@ bindir=$prefix/bin
 mkdir $prefix $libdir $bindir
 
 # This code is copied from the Autobook:
-# <http://sources.redhat.com/autobook/autobook/autobook_169.html>
+# <https://www.sourceware.org/autobook/autobook/autobook_98.html>
 # so if it needs changes, be sure to notify the Autobook authors
 # about them.
 


