From MAILER-DAEMON Sun Aug 01 12:36:54 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OfbWv-000823-I2
	for mharc-libtool-commit@gnu.org; Sun, 01 Aug 2010 12:36:53 -0400
Received: from [140.186.70.92] (port=48668 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OfbWp-0001YH-SF
	for libtool-commit@gnu.org; Sun, 01 Aug 2010 12:36:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OfTpi-0000eX-Q8
	for libtool-commit@gnu.org; Sun, 01 Aug 2010 04:23:48 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:48821
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OfTpi-0000eQ-NW
	for libtool-commit@gnu.org; Sun, 01 Aug 2010 04:23:46 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OfTpi-0007nR-6k
	for libtool-commit@gnu.org; Sun, 01 Aug 2010 08:23:46 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OfTph-00084v-4r
	for libtool-commit@gnu.org; Sun, 01 Aug 2010 08:23:46 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 32a6c3b33c25177b206c0f618d7cf56c4cef4c86
X-Git-Newrev: a107f18041e458fa9fe521d33c8d316a088447c9
Message-Id: <E1OfTph-00084v-4r@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 01 Aug 2010 08:23:45 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-65-ga107f18
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2010 16:36:51 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  a107f18041e458fa9fe521d33c8d316a088447c9 (commit)
      from  32a6c3b33c25177b206c0f618d7cf56c4cef4c86 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a107f18041e458fa9fe521d33c8d316a088447c9
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Jul 28 23:55:24 2010 +0200

    fix bug in postdeps computation
    
    * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Actually concatenate
    $prev and $p.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    8 +++++++-
 libltdl/m4/libtool.m4 |    4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a5ef374..a0e0469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
+2010-08-01  Paolo Bonzini  <bonzini@gnu.org>
+
+	Fix bug in postdeps computation
+	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Actually
+	concatenate $prev and $p.
+
 2010-07-26  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Don't always skip XSI tests
-	tests/getopt-m4sh.at: Use new signature as implemented by
+	* tests/getopt-m4sh.at: Use new signature as implemented by
 	de8a0992b21b76a13c302cf48588ad5f6042595c, when determining
 	whether to test Extended-shell functions.
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 47d2558..f61be28 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -6724,7 +6724,7 @@ if AC_TRY_EVAL(ac_compile); then
   pre_test_object_deps_done=no
 
   for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
+    case ${prev}${p} in
 
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
@@ -6738,7 +6738,7 @@ if AC_TRY_EVAL(ac_compile); then
        fi
 
        if test "$pre_test_object_deps_done" = no; then
-	 case $p in
+	 case ${prev}${p} in
 	 -L* | -R*)
 	   # Internal compiler library paths should come after those
 	   # provided the user.  The postdeps already come after the


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 02 16:21:53 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Og1WC-0000nd-VM
	for mharc-libtool-commit@gnu.org; Mon, 02 Aug 2010 16:21:53 -0400
Received: from [140.186.70.92] (port=50357 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Og1WA-0000ma-RG
	for libtool-commit@gnu.org; Mon, 02 Aug 2010 16:21:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Og1W9-0008HX-Qb
	for libtool-commit@gnu.org; Mon, 02 Aug 2010 16:21:51 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:58724
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Og1W9-0008HR-PE
	for libtool-commit@gnu.org; Mon, 02 Aug 2010 16:21:49 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Og1W9-0008OD-Bp
	for libtool-commit@gnu.org; Mon, 02 Aug 2010 20:21:49 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Og1W9-0006uO-5a
	for libtool-commit@gnu.org; Mon, 02 Aug 2010 20:21:49 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a107f18041e458fa9fe521d33c8d316a088447c9
X-Git-Newrev: 5892f61de832b6ab679ac3bf5a51cc680884c739
Message-Id: <E1Og1W9-0006uO-5a@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 02 Aug 2010 20:21:49 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-66-g5892f61
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2010 20:21:52 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  5892f61de832b6ab679ac3bf5a51cc680884c739 (commit)
      from  a107f18041e458fa9fe521d33c8d316a088447c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5892f61de832b6ab679ac3bf5a51cc680884c739
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 2 22:21:05 2010 +0200

    Fix pic_flag test unportabilities.
    
    * tests/pic_flag.at (override pic_flag at configure time): Skip
    test if the compiler produces a warning containing `fpic'.
    Do not use nonportable `grep -e', for Solaris.
    Report by Charles Wilson.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    8 ++++++++
 tests/pic_flag.at |    6 ++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a0e0469..3655c07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix pic_flag test unportabilities.
+	* tests/pic_flag.at (override pic_flag at configure time): Skip
+	test if the compiler produces a warning containing `fpic'.
+	Do not use nonportable `grep -e', for Solaris.
+	Report by Charles Wilson.
+
 2010-08-01  Paolo Bonzini  <bonzini@gnu.org>
 
 	Fix bug in postdeps computation
diff --git a/tests/pic_flag.at b/tests/pic_flag.at
index a729d16..e62e1b7 100644
--- a/tests/pic_flag.at
+++ b/tests/pic_flag.at
@@ -34,7 +34,9 @@ int func(void) { return data; }
 cp foo.c foo.cpp
 C_pic_flag='-fpic -DPIC'
 AT_CHECK([$CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77],
-	 [], [ignore], [ignore])
+	 [], [stdout], [stderr])
+# The configure test for the PIC flag also checks for warnings.
+AT_CHECK([grep fpic stdout stderr && exit 77], [1])
 
 CXX_pic_flag='-fpic -DPIC'
 if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else
@@ -46,6 +48,6 @@ AT_CHECK(["$abs_top_srcdir"/configure lt_cv_prog_compiler_pic="$C_pic_flag" ]dnl
 : ${MAKE=make}
 AT_CHECK([$MAKE], [], [stdout], [ignore])
 AT_CHECK([if ./libtool --features | grep 'enable shared libraries'; then ]dnl
-	 [  grep -e -fpic stdout; else exit 77; fi], [], [ignore], [ignore])
+	 [  grep ' -fpic' stdout; else exit 77; fi], [], [ignore], [ignore])
 
 AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 03 15:52:31 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OgNXL-0002dA-LF
	for mharc-libtool-commit@gnu.org; Tue, 03 Aug 2010 15:52:31 -0400
Received: from [140.186.70.92] (port=53240 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OgNXG-0002cy-8r
	for libtool-commit@gnu.org; Tue, 03 Aug 2010 15:52:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OgNXF-0003az-0i
	for libtool-commit@gnu.org; Tue, 03 Aug 2010 15:52:26 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54664
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OgNXE-0003at-UM
	for libtool-commit@gnu.org; Tue, 03 Aug 2010 15:52:24 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OgNXE-0008PO-EW
	for libtool-commit@gnu.org; Tue, 03 Aug 2010 19:52:24 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OgNXE-0003bk-8e
	for libtool-commit@gnu.org; Tue, 03 Aug 2010 19:52:24 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 5892f61de832b6ab679ac3bf5a51cc680884c739
X-Git-Newrev: 1162eebc69e7219423b2620bcb838879c2dfb3f9
Message-Id: <E1OgNXE-0003bk-8e@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 03 Aug 2010 19:52:24 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-67-g1162eeb
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2010 19:52:30 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  1162eebc69e7219423b2620bcb838879c2dfb3f9 (commit)
      from  5892f61de832b6ab679ac3bf5a51cc680884c739 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1162eebc69e7219423b2620bcb838879c2dfb3f9
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Aug 3 21:49:10 2010 +0200

    Fix build failure with AIX sh due to shell quoting error.
    
    * libltdl/config/ltmain.m4sh (func_append_quoted): Document
    that this function inserts a separator space.
    (func_mode_compile): Do not pass extra space here.
    Fixes regression introduced in v2.2.10-49-gc13532a.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    9 +++++++++
 libltdl/config/ltmain.m4sh |    5 +++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3655c07..f8a2fc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-08-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix build failure with AIX sh due to shell quoting error.
+	* libltdl/config/ltmain.m4sh (func_append_quoted): Document
+	that this function inserts a separator space.
+	(func_mode_compile): Do not pass extra space here.
+	Fixes regression introduced in v2.2.10-49-gc13532a.
+	Report by Rainer Tammer.
+
 2010-08-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix pic_flag test unportabilities.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 897a5e8..193ff1a 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -157,7 +157,8 @@ func_append ()
 } # func_append may be replaced by extended shell implementation
 
 # func_append_quoted var value
-# Quote VALUE and append to the end of shell variable VAR.
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
 func_append_quoted ()
 {
     func_quote_for_eval "${2}"
@@ -710,7 +711,7 @@ func_mode_compile ()
 	  save_ifs="$IFS"; IFS=','
 	  for arg in $args; do
 	    IFS="$save_ifs"
-	    func_append_quoted lastarg " $arg"
+	    func_append_quoted lastarg "$arg"
 	  done
 	  IFS="$save_ifs"
 	  func_stripname ' ' '' "$lastarg"


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Aug 04 15:28:37 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ogjdk-0006vK-Mo
	for mharc-libtool-commit@gnu.org; Wed, 04 Aug 2010 15:28:36 -0400
Received: from [140.186.70.92] (port=36312 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ogjdh-0006r8-BD
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 15:28:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogjdf-0005Si-Tr
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 15:28:33 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:47045
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogjdf-0005Sb-QH
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 15:28:31 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogjdf-0008Sm-H3
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 19:28:31 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogjdf-0005P7-8I
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 19:28:31 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 1162eebc69e7219423b2620bcb838879c2dfb3f9
X-Git-Newrev: 06543b43736a9d36c447e7fa04b76d90a6b31967
Message-Id: <E1Ogjdf-0005P7-8I@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 04 Aug 2010 19:28:31 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-68-g06543b4
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2010 19:28:35 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  06543b43736a9d36c447e7fa04b76d90a6b31967 (commit)
      from  1162eebc69e7219423b2620bcb838879c2dfb3f9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 06543b43736a9d36c447e7fa04b76d90a6b31967
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Aug 3 22:27:23 2010 +0200

    Fix testsuite errors due to shell quoted parameter expansion issue.
    
    * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space
    between double-quoted and unquoted shell parameter, as bash
    4.0.28 doesn't add one in its output if the expansion of the
    second one starts with a space.
    (short option splitting, enhanced shell short option splitting)
    (long option splitting, XSI long option splitting): Add space in
    expected output.
    Fixes testsuite failures on AIX, FreeBSD, etc.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |   13 +++++++++++++
 tests/getopt-m4sh.at |   10 +++++-----
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f8a2fc7..49efb7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2010-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix testsuite errors due to shell quoted parameter expansion issue.
+	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space
+	between double-quoted and unquoted shell parameter, as bash
+	4.0.28 doesn't add one in its output if the expansion of the
+	second one starts with a space.
+	(short option splitting, enhanced shell short option splitting)
+	(long option splitting, XSI long option splitting): Add space in
+	expected output.
+	Fixes testsuite failures on AIX, FreeBSD, etc.
+	Report by Rainer Tammer.
+
 2010-08-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix build failure with AIX sh due to shell quoting error.
diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index ca5d5b8..768d595 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -44,7 +44,7 @@ M4SH_GETOPTS(
   [i],	[--install],	[],	[options="$options install"],
   [v],	[--verbose],	[],	[options="$options verbose"],
   [!],	[--ltdl],	[false],[options="$options ltdl=$optarg"],
-[echo "$list"$options])
+[echo "$list" $options])
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])
@@ -87,7 +87,7 @@ rm -f options && mv options.tmp options])
 AT_SETUP([short option splitting])
 
 AT_DATA(expout,
-[[force verbose install
+[[ force verbose install
 ]])
 
 _LT_AT_GETOPT_M4SH_SETUP
@@ -103,7 +103,7 @@ AT_SETUP([enhanced shell short option splitting])
 AT_CHECK([fgrep '# Extended-shell func_split_short_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
-[[force verbose install
+[[ force verbose install
 ]])
 
 _LT_AT_GETOPT_M4SH_SETUP
@@ -121,7 +121,7 @@ AT_CLEANUP
 AT_SETUP([long option splitting])
 
 AT_DATA(expout,
-[[ltdl=long
+[[ ltdl=long
 ]])
 
 _LT_AT_GETOPT_M4SH_SETUP
@@ -137,7 +137,7 @@ AT_SETUP([XSI long option splitting])
 AT_CHECK([fgrep '# Extended-shell func_split_long_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
-[[ltdl=long
+[[ ltdl=long
 ]])
 
 _LT_AT_GETOPT_M4SH_SETUP


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Aug 04 16:34:07 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ogkf9-0002xF-9t
	for mharc-libtool-commit@gnu.org; Wed, 04 Aug 2010 16:34:07 -0400
Received: from [140.186.70.92] (port=33649 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ogkf6-0002wO-Pm
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 16:34:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogkf4-0006lJ-Kg
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 16:34:04 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:60145
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogkf4-0006l6-J6
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 16:34:02 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogkf3-0000pK-VQ
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 20:34:01 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ogkf3-00015c-Ra
	for libtool-commit@gnu.org; Wed, 04 Aug 2010 20:34:01 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 06543b43736a9d36c447e7fa04b76d90a6b31967
X-Git-Newrev: 21cffd15fbf2adbf7bd948260be0ac95b12bd510
Message-Id: <E1Ogkf3-00015c-Ra@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 04 Aug 2010 20:34:01 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-70-g21cffd1
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2010 20:34:06 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  21cffd15fbf2adbf7bd948260be0ac95b12bd510 (commit)
       via  10f650c428d16805132088510b04a853c73b98fa (commit)
      from  06543b43736a9d36c447e7fa04b76d90a6b31967 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 21cffd15fbf2adbf7bd948260be0ac95b12bd510
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Aug 4 22:30:48 2010 +0200

    Let `libtool' without arguments point to `--help' again.
    
    * libltdl/config/ltmain.m4sh (func_check_version_match):
    Remove duplicate and wrong error check.
    * tests/help.at (standard command line options): Extend test.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 10f650c428d16805132088510b04a853c73b98fa
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Aug 4 22:30:01 2010 +0200

    Avoid syntax error due to shift of nonexistent parameter.
    
    * libltdl/config/ltmain.m4sh <command-line handling>: Only shift
    if there is a positional parameter to shift.  Fixes `libtool
    --help' when dash is used.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   12 ++++++++++++
 libltdl/config/ltmain.m4sh |    7 ++++---
 tests/help.at              |    6 +++++-
 3 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 49efb7b..a435d6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2010-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Let `libtool' without arguments point to `--help' again.
+	* libltdl/config/ltmain.m4sh (func_check_version_match):
+	Remove duplicate and wrong error check.
+	* tests/help.at (standard command line options): Extend test.
+	Report by Rainer Tammer.
+
+	Avoid syntax error due to shift of nonexistent parameter.
+	* libltdl/config/ltmain.m4sh <command-line handling>: Only shift
+	if there is a positional parameter to shift.  Fixes `libtool
+	--help' when dash is used.
+	Report by Rainer Tammer.
+
 	Fix testsuite errors due to shell quoted parameter expansion issue.
 	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space
 	between double-quoted and unquoted shell parameter, as bash
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 193ff1a..32a41c7 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -387,7 +387,10 @@ M4SH_GETOPTS(
 	func_enable_tag "$optarg"],
 [
   # save first non-option argument
-  nonopt="$opt"; shift
+  if test "$[]#" -gt 0; then
+    nonopt="$opt"
+    shift
+  fi
 
   # preserve --debug
   $opt_debug && func_append preserve_args " --debug"
@@ -410,8 +413,6 @@ M4SH_GETOPTS(
       func_fatal_configuration "not configured to build any kind of library"
     fi
 
-    test -z "$opt_mode" && func_fatal_error "error: you must specify a MODE."
-
     # Darwin sucks
     eval std_shrext=\"$shrext_cmds\"
 
diff --git a/tests/help.at b/tests/help.at
index 3460a2b..e1bcbf5 100644
--- a/tests/help.at
+++ b/tests/help.at
@@ -1,6 +1,6 @@
 # help.at -- standard command line options          -*- Autotest -*-
 #
-#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #
 #   This file is part of GNU Libtool.
 #
@@ -35,6 +35,10 @@ AT_CHECK([$LIBTOOL --help-all], [], [ignore])
 AT_CHECK([$LIBTOOL --version], [], [stdout])
 AT_CHECK([grep 'Copyright.*Free Software Foundation' stdout], [], [ignore])
 
+AT_CHECK([$LIBTOOL], [1], [ignore], [stderr])
+AT_CHECK([grep 'specify a MODE' stderr], [], [ignore])
+AT_CHECK([grep ' --help' stderr], [], [ignore])
+
 AT_CLEANUP
 
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Aug 06 15:45:19 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OhSr1-0002tG-Ai
	for mharc-libtool-commit@gnu.org; Fri, 06 Aug 2010 15:45:19 -0400
Received: from [140.186.70.92] (port=40131 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OhSqn-0001BU-Mt
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 15:45:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhSnL-0000wd-GU
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 15:41:32 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:55537
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhSnL-0000wP-Eg
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 15:41:31 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhSnL-0001S6-2U
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 19:41:31 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhSnK-0004ul-Rj
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 19:41:31 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 21cffd15fbf2adbf7bd948260be0ac95b12bd510
X-Git-Newrev: 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9
Message-Id: <E1OhSnK-0004ul-Rj@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 06 Aug 2010 19:41:30 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-71-g3e68aa1
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2010 19:45:18 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (commit)
      from  21cffd15fbf2adbf7bd948260be0ac95b12bd510 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 6 21:41:11 2010 +0200

    Fix ltdl-libdir test for C++ compilers.
    
    * tests/ltdl-libdir.at (libdir of installed modules): Declare
    module function as extern "C".
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    6 ++++++
 tests/ltdl-libdir.at |    4 +++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a435d6d..d2634e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix ltdl-libdir test for C++ compilers.
+	* tests/ltdl-libdir.at (libdir of installed modules): Declare
+	module function as extern "C".
+
 2010-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Let `libtool' without arguments point to `--help' again.
diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at
index 432d18e..f5dc33c 100644
--- a/tests/ltdl-libdir.at
+++ b/tests/ltdl-libdir.at
@@ -38,7 +38,9 @@ bindir=$prefix/bin
 mkdir $prefix $libdir $bindir
 
 AT_DATA([a.c],
-[[
+[[#ifdef __cplusplus
+extern "C"
+#endif
 int f (void)
 {
   return 42;


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Aug 06 16:05:29 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OhTAW-0000so-Il
	for mharc-libtool-commit@gnu.org; Fri, 06 Aug 2010 16:05:28 -0400
Received: from [140.186.70.92] (port=60281 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OhTAT-0000qm-Mv
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 16:05:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhTAS-0004DF-8l
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 16:05:25 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:47968
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhTAS-0004D9-5k
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 16:05:24 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhTAR-0001ks-Vs
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 20:05:24 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhTAR-0006V8-Bq
	for libtool-commit@gnu.org; Fri, 06 Aug 2010 20:05:23 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9
X-Git-Newrev: 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb
Message-Id: <E1OhTAR-0006V8-Bq@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 06 Aug 2010 20:05:23 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-72-g2fc264a
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2010 20:05:27 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb (commit)
      from  3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 6 22:03:19 2010 +0200

    Fix AC_NO_EXECUTABLES test failure on AIX.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link
    test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath.
    * tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to
    avoid link test.
    Bug report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    7 +++++++
 libltdl/m4/libtool.m4   |   13 ++++++++-----
 tests/no-executables.at |    4 ++--
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d2634e9..27e8a3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-08-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix AC_NO_EXECUTABLES test failure on AIX.
+	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link
+	test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath.
+	* tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to
+	avoid link test.
+	Bug report by Rainer Tammer.
+
 	Fix ltdl-libdir test for C++ compilers.
 	* tests/ltdl-libdir.at (libdir of installed modules): Declare
 	module function as extern "C".
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index f61be28..d8d6aeb 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1081,7 +1081,8 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
 # to the aix ld manual.
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+AC_CACHE_VAL([lt_cv_aix_libpath],
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 lt_aix_libpath_sed='
     /Import File Strings/,/^$/ {
 	/^0/ {
@@ -1089,12 +1090,14 @@ lt_aix_libpath_sed='
 	    p
 	}
     }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+lt_cv_aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 # Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+if test -z "$lt_cv_aix_libpath"; then
+  lt_cv_aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 fi],[])
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+if test -z "$lt_cv_aix_libpath"; then lt_cv_aix_libpath="/usr/lib:/lib"; fi
+])
+aix_libpath=$lt_cv_aix_libpath
 ])# _LT_SYS_MODULE_PATH_AIX
 
 
diff --git a/tests/no-executables.at b/tests/no-executables.at
index e9e229a..75b92ef 100644
--- a/tests/no-executables.at
+++ b/tests/no-executables.at
@@ -1,7 +1,6 @@
 # no-executables.at -- Libtool usage in GCC        -*- Autotest -*-
 
-#   Copyright (C) 2008 Free Software Foundation, Inc.
-#   Written by Ralf Wildenhues, 2008
+#   Copyright (C) 2008, 2010 Free Software Foundation, Inc.
 #
 #   This file is part of GNU Libtool.
 #
@@ -52,6 +51,7 @@ lt_cv_archive_cmds_need_lc=no
 lt_cv_cc_needs_belf=no
 lt_cv_ld_exported_symbols_list=no
 lt_cv_prog_compiler_static_works=no
+lt_cv_aix_libpath="/usr/lib:/lib"
 
 # Deal with AC_LIBTOOL_DLOPEN in one of two possible ways:
 # - do not execute it at all in the ac_no_link case


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 07 01:43:56 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OhcCK-0003g2-Aa
	for mharc-libtool-commit@gnu.org; Sat, 07 Aug 2010 01:43:56 -0400
Received: from [140.186.70.92] (port=40027 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OhcCG-0003er-Aw
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 01:43:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhcC5-0007oe-PY
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 01:43:43 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:57356
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhcC5-0007oa-JS
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 01:43:41 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhcC5-0000Dg-1t
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 05:43:41 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhcC4-0004Z7-Ub
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 05:43:41 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb
X-Git-Newrev: 3078821c7fc0a7b2eafba35408fd43b44a3e0cd3
Message-Id: <E1OhcC4-0004Z7-Ub@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 07 Aug 2010 05:43:40 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-73-g3078821
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Aug 2010 05:43:53 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  3078821c7fc0a7b2eafba35408fd43b44a3e0cd3 (commit)
      from  2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3078821c7fc0a7b2eafba35408fd43b44a3e0cd3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 7 07:41:12 2010 +0200

    Ensure not to reverse preserving of --debug for relinking/finish.
    
    * libltdl/config/ltmain.m4sh (func_check_version_match): Only
    preserve '--debug' switch if $opt_debug is not equal to ':'.
    * tests/help.at (debug tracing): New test group.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    8 ++++
 libltdl/config/ltmain.m4sh |    2 +-
 tests/help.at              |   97 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 106 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 27e8a3d..8f6cb65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Ensure not to reverse preserving of --debug for relinking/finish.
+	* libltdl/config/ltmain.m4sh (func_check_version_match): Only
+	preserve '--debug' switch if $opt_debug is not equal to ':'.
+	* tests/help.at (debug tracing): New test group.
+	Report by Rainer Tammer.
+
 2010-08-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix AC_NO_EXECUTABLES test failure on AIX.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 32a41c7..fad2e64 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -393,7 +393,7 @@ M4SH_GETOPTS(
   fi
 
   # preserve --debug
-  $opt_debug && func_append preserve_args " --debug"
+  test "$opt_debug" = : || func_append preserve_args " --debug"
 
   case $host in
     *cygwin* | *mingw* | *pw32* | *cegcc*)
diff --git a/tests/help.at b/tests/help.at
index e1bcbf5..c4eaa87 100644
--- a/tests/help.at
+++ b/tests/help.at
@@ -92,3 +92,100 @@ AT_CHECK([$LIBTOOL cl liba.la],
 	 [], [ignore], [ignore])
 
 AT_CLEANUP
+
+
+AT_SETUP([debug tracing])
+
+AT_DATA([a.c],
+[[int a () { return 0; }
+]])
+
+AT_DATA([b.c],
+[[extern int a ();
+int b () { return a (); }
+]])
+
+AT_DATA([main.c],
+[[extern int b ();
+int main () { return b (); }
+]])
+
+inst=`pwd`/inst
+libdir=$inst/lib
+bindir=$inst/bin
+mkdir $inst $libdir $bindir
+
+# This test will not work correctly if --debug is passed.
+AT_CHECK([case "$LIBTOOL $CC $CPPFLAGS $CFLAGS $LDFLAGS " in ]dnl
+	 [  *\ --debug\ *) exit 77;; *) :;; esac])
+
+check_trace ()
+{
+  if test "X$trace" = X--debug; then
+    AT_CHECK([grep 'enabling shell trace mode' stdout stderr], [0], [ignore])
+    AT_CHECK([grep ' --mode' stderr], [0], [ignore])
+  else
+    AT_CHECK([grep 'enabling shell trace mode' stdout stderr], [1])
+    AT_CHECK([grep ' --mode' stderr], [1])
+  fi
+}
+
+orig_LIBTOOL=$LIBTOOL
+for trace in '' --debug; do
+  LIBTOOL="$orig_LIBTOOL $trace"
+
+  # Hypothesis: debug output should happen if (and only if) --debug is
+  # passed, for compile, link, install, uninstall, and clean modes.
+  AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c],
+	   [], [stdout], [stderr])
+  check_trace
+  AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c b.c],
+	   [], [stdout], [stderr])
+  check_trace
+  AT_CHECK([$CC $CPPFLAGS $CFLAGS -c main.c], [], [ignore], [ignore])
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo ]dnl
+	   [ -no-undefined -rpath $libdir], [], [stdout], [stderr])
+  check_trace
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o libb.la b.lo ]dnl
+	   [ -no-undefined -rpath $libdir liba.la], [], [stdout], [stderr])
+  check_trace
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT ]dnl
+	   [libb.la], [], [stdout], [stderr])
+  check_trace
+  LT_AT_NOINST_EXEC_CHECK([./main], [], [], [stdout], [stderr])
+  check_trace
+
+  AT_CHECK([$LIBTOOL --mode=install cp liba.la libb.la $libdir],
+	   [], [stdout], [stderr])
+  check_trace
+
+  # Hypothesis: --debug should be passed to relink mode if (and only if)
+  # it was passed at link mode.
+  AT_CHECK([$orig_LIBTOOL --mode=install cp liba.la libb.la $libdir],
+	   [], [stdout], [stderr])
+  if grep ': relinking ' stdout stderr; then
+    if test "X$trace" = X--debug; then
+      AT_CHECK([grep ' --mode=relink' stdout stderr | grep ' --debug '],
+	       [0], [ignore])
+    else
+      AT_CHECK([grep ' --mode=relink' stdout stderr | grep ' --debug '],
+	       [1])
+    fi
+  fi
+
+  AT_CHECK([$LIBTOOL --mode=install cp main$EXEEXT $bindir],
+	   [], [stdout], [stderr])
+  check_trace
+  AT_CHECK([$LIBTOOL --mode=finish $bindir], [], [stdout], [stderr])
+  check_trace
+
+  AT_CHECK([$LIBTOOL --mode=uninstall rm -f $bindir/main$EXEEXT ]dnl
+	   [$libdir/libb.la $libdir/liba.la], [], [stdout], [stderr])
+  check_trace
+  AT_CHECK([$LIBTOOL --mode=clean rm -f $bindir/main$EXEEXT ]dnl
+	   [$libdir/libb.la $libdir/liba.la], [], [stdout], [stderr])
+  check_trace
+
+done
+
+AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 08 13:17:30 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oi9V3-0006Mj-Hk
	for mharc-libtool-commit@gnu.org; Sun, 08 Aug 2010 13:17:29 -0400
Received: from [140.186.70.92] (port=53049 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9Ur-0001Ld-0G
	for libtool-commit@gnu.org; Sun, 08 Aug 2010 13:17:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ohn5H-0007Od-6a
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 13:21:24 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49146
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ohn5H-0007OZ-2r
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 13:21:23 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ohn5G-0000CS-RQ
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 17:21:22 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ohn5G-0003P7-MA
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 17:21:22 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3936d01df5d11a861710ecd58a9f9604a49fee08
X-Git-Newrev: b7b0e70e9863d4ddc2654614173d6a6d01556805
Message-Id: <E1Ohn5G-0003P7-MA@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 07 Aug 2010 17:21:22 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-77-gb7b0e70
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Aug 2010 17:17:28 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  b7b0e70e9863d4ddc2654614173d6a6d01556805 (commit)
       via  4246f026cb93c6f86271fbe717c27b443b07b389 (commit)
      from  3936d01df5d11a861710ecd58a9f9604a49fee08 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b7b0e70e9863d4ddc2654614173d6a6d01556805
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 7 19:16:35 2010 +0200

    Avoid unwanted error message in configure output.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print
    in subshell, so eventual `print: not found' is hidden reliably.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 4246f026cb93c6f86271fbe717c27b443b07b389
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 7 19:16:23 2010 +0200

    Fix compilation of program sources on AIX.
    
    * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not
    use $LIBTOOL when compiling plain object, AIX by default does
    not enable static archives.
    * tests/ltdl-libdir.at (libdir of installed modules): Likewise.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   11 +++++++++++
 libltdl/m4/libtool.m4 |    2 +-
 tests/lt_dlopenext.at |    4 ++--
 tests/ltdl-libdir.at  |    2 +-
 4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0eecbab..6d765d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Avoid unwanted error message in configure output.
+	* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print
+	in subshell, so eventual `print: not found' is hidden reliably.
+
+	Fix compilation of program sources on AIX.
+	* tests/lt_dlopenext.at (lt_dlopenext error messages): Do not
+	use $LIBTOOL when compiling plain object, AIX by default does
+	not enable static archives.
+	* tests/ltdl-libdir.at (libdir of installed modules): Likewise.
+	Report by Rainer Tammer.
+
 	Do not call toplevel configure in non-VPATH build.
 	* tests/deplibs-mingw.at (deplibs without file command): Use
 	LT_AT_CONFIGURE for consistency, update comment about why it
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index d8d6aeb..c36a6b4 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1122,7 +1122,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
 AC_MSG_CHECKING([how to print strings])
 # Test print first, because it will be a builtin if present.
-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   ECHO='print -r --'
 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at
index 26a2b24..6631124 100644
--- a/tests/lt_dlopenext.at
+++ b/tests/lt_dlopenext.at
@@ -1,6 +1,6 @@
 # lt_dlopenext.at -- test libltdl functionality             -*- Autotest -*-
 #
-#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #   This file is part of GNU Libtool.
 #
 # GNU Libtool is free software; you can redistribute it and/or
@@ -197,7 +197,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c simple-module.c],
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o simple-module.la ]dnl
 	 [simple-module.lo -rpath $libdir -module -avoid-version],
 	 [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c ltdl-loader.c],
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c ltdl-loader.c],
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ]dnl
 	 [ltdl-loader.$OBJEXT -dlopen self $LIBLTDL],
diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at
index f5dc33c..7065c5b 100644
--- a/tests/ltdl-libdir.at
+++ b/tests/ltdl-libdir.at
@@ -101,7 +101,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c],
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a.la ]dnl
 	 [a.lo -rpath $libdir -module -shared -avoid-version],
 	 [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c m.c],
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c],
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT ]dnl
 	 [m.$OBJEXT $LIBLTDL],


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 08 13:26:43 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oi9dz-0004wa-7I
	for mharc-libtool-commit@gnu.org; Sun, 08 Aug 2010 13:26:43 -0400
Received: from [140.186.70.92] (port=50929 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9ds-0001oB-M4
	for libtool-commit@gnu.org; Sun, 08 Aug 2010 13:26:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhhIE-0004xW-QZ
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 07:10:24 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:56199
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhhIE-0004xR-O0
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 07:10:22 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhhIE-0004DW-3Y
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 11:10:22 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OhhID-0006j8-TH
	for libtool-commit@gnu.org; Sat, 07 Aug 2010 11:10:22 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3078821c7fc0a7b2eafba35408fd43b44a3e0cd3
X-Git-Newrev: 3936d01df5d11a861710ecd58a9f9604a49fee08
Message-Id: <E1OhhID-0006j8-TH@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 07 Aug 2010 11:10:22 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-75-g3936d01
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Aug 2010 17:26:41 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  3936d01df5d11a861710ecd58a9f9604a49fee08 (commit)
       via  4055972b1cb63285ddf43652205a5e4bf36eb12e (commit)
      from  3078821c7fc0a7b2eafba35408fd43b44a3e0cd3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3936d01df5d11a861710ecd58a9f9604a49fee08
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 7 13:07:42 2010 +0200

    Do not call toplevel configure in non-VPATH build.
    
    * tests/deplibs-mingw.at (deplibs without file command): Use
    LT_AT_CONFIGURE for consistency, update comment about why it
    might fail.
    * tests/pic_flag.at (override pic_flag at configure time): Skip
    test if we are building in-tree.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 4055972b1cb63285ddf43652205a5e4bf36eb12e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 7 13:03:37 2010 +0200

    Allow running pic_flag test with different shell.
    
    * tests/testsuite.at (LT_AT_CONFIGURE): Accept optional second
    argument specifying the configure script to run.
    * tests/pic_flag.at (override pic_flag at configure time):
    Use LT_AT_CONFIGURE.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog              |   14 ++++++++++++++
 tests/deplibs-mingw.at |    5 +++--
 tests/pic_flag.at      |    6 ++++--
 tests/testsuite.at     |    8 +++++---
 4 files changed, 26 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8f6cb65..0eecbab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Do not call toplevel configure in non-VPATH build.
+	* tests/deplibs-mingw.at (deplibs without file command): Use
+	LT_AT_CONFIGURE for consistency, update comment about why it
+	might fail.
+	* tests/pic_flag.at (override pic_flag at configure time): Skip
+	test if we are building in-tree.
+	Report by Rainer Tammer.
+
+	Allow running pic_flag test with different shell.
+	* tests/testsuite.at (LT_AT_CONFIGURE): Accept optional second
+	argument specifying the configure script to run.
+	* tests/pic_flag.at (override pic_flag at configure time):
+	Use LT_AT_CONFIGURE.
+
 	Ensure not to reverse preserving of --debug for relinking/finish.
 	* libltdl/config/ltmain.m4sh (func_check_version_match): Only
 	preserve '--debug' switch if $opt_debug is not equal to ':'.
diff --git a/tests/deplibs-mingw.at b/tests/deplibs-mingw.at
index 68e8386..45aa032 100644
--- a/tests/deplibs-mingw.at
+++ b/tests/deplibs-mingw.at
@@ -74,8 +74,9 @@ EOF
       chmod +x bin/file
       PATH=`pwd`/bin${PATH_SEPARATOR-:}$PATH
       cd new-libtool
-      AT_CHECK(["$abs_top_srcdir"/configure $configure_options || exit 77],
-	       [], [ignore], [ignore])
+      # configure might fail due to in-tree build of toplevel, or
+      # missing configure flags and other reasons.
+      LT_AT_CONFIGURE([|| exit 77], ["$abs_top_srcdir"/configure])
       cd ..
       LIBTOOL=new-libtool/libtool
       export LIBTOOL
diff --git a/tests/pic_flag.at b/tests/pic_flag.at
index e62e1b7..ffad842 100644
--- a/tests/pic_flag.at
+++ b/tests/pic_flag.at
@@ -43,8 +43,10 @@ if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else
   CXX_pic_flag=
 fi
 
-AT_CHECK(["$abs_top_srcdir"/configure lt_cv_prog_compiler_pic="$C_pic_flag" ]dnl
-	 [lt_cv_prog_compiler_pic_CXX="$CXX_pic_flag"], [], [ignore], [ignore])
+AT_CHECK([test "$at_srcdir" != . || exit 77])
+LT_AT_CONFIGURE([lt_cv_prog_compiler_pic="$C_pic_flag" ]dnl
+		[lt_cv_prog_compiler_pic_CXX="$CXX_pic_flag"],
+		["$abs_top_srcdir"/configure])
 : ${MAKE=make}
 AT_CHECK([$MAKE], [], [stdout], [ignore])
 AT_CHECK([if ./libtool --features | grep 'enable shared libraries'; then ]dnl
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 3935962..35b920b 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -146,11 +146,13 @@ AT_KEYWORDS([autoconf automake])
 ])
 
 
-# LT_AT_CONFIGURE([OPTIONS])
-# --------------------------
+# LT_AT_CONFIGURE([OPTIONS], [CONFIGURE-SCRIPT])
+# ----------------------------------------------
+# Configure CONFIGURE-SCRIPT, defaulting to ./configure, with
+# additional OPTIONS.
 m4_define([LT_AT_CONFIGURE],
 [AT_CHECK([: ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL; ]dnl
-	  [$CONFIG_SHELL ./configure $configure_options $1],
+	  [$CONFIG_SHELL m4_default([$2], [./configure]) $configure_options $1],
 	  [0], [ignore], [ignore])
 ])
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 09 16:51:41 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OiZJt-0006kd-5Y
	for mharc-libtool-commit@gnu.org; Mon, 09 Aug 2010 16:51:41 -0400
Received: from [140.186.70.92] (port=57450 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OiZJq-0006kY-80
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 16:51:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZJo-0008GU-Vp
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 16:51:38 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:50471
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZJo-0008GO-Ry
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 16:51:36 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZJo-000418-BN
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 20:51:36 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZJo-0001WY-4O
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 20:51:36 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: b7b0e70e9863d4ddc2654614173d6a6d01556805
X-Git-Newrev: 0f87df7fa6ab6b5d3f7c7cb7218a4880881f9d71
Message-Id: <E1OiZJo-0001WY-4O@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 09 Aug 2010 20:51:36 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-78-g0f87df7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 20:51:39 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  0f87df7fa6ab6b5d3f7c7cb7218a4880881f9d71 (commit)
      from  b7b0e70e9863d4ddc2654614173d6a6d01556805 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0f87df7fa6ab6b5d3f7c7cb7218a4880881f9d71
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 9 22:50:45 2010 +0200

    Fix another typo on "Add func_append_quoted and do..."
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Fix regression in
    computation of finalize_rpath introduced in v2.2.10-40-g0da7d80,
    fixing several testsuite failures on AIX.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    8 ++++++++
 libltdl/config/ltmain.m4sh |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6d765d2..869897b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix another typo on "Add func_append_quoted and do..."
+	* libltdl/config/ltmain.m4sh (func_mode_link): Fix regression in
+	computation of finalize_rpath introduced in v2.2.10-40-g0da7d80,
+	fixing several testsuite failures on AIX.
+	Report by Rainer Tammer.
+
 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Avoid unwanted error message in configure output.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index fad2e64..e5065fb 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7568,7 +7568,7 @@ EOF
 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		;;
 	      *)
-		func_append hardcode_libdirs "_libdirs$hardcode_libdir_separator$libdir"
+		func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
 		;;
 	      esac
 	    fi


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 09 17:19:16 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OiZkZ-0005T1-SP
	for mharc-libtool-commit@gnu.org; Mon, 09 Aug 2010 17:19:15 -0400
Received: from [140.186.70.92] (port=51372 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OiZkY-0005Se-1K
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 17:19:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZkX-0004Gl-1y
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 17:19:13 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:53970
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZkW-0004Ge-WB
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 17:19:13 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZkW-0004KF-GM
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 21:19:12 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OiZkW-0002qB-BO
	for libtool-commit@gnu.org; Mon, 09 Aug 2010 21:19:12 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0f87df7fa6ab6b5d3f7c7cb7218a4880881f9d71
X-Git-Newrev: 3c1027fe214c4b0c72f905defcda38faf9e94bf3
Message-Id: <E1OiZkW-0002qB-BO@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 09 Aug 2010 21:19:12 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-79-g3c1027f
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 21:19:15 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  3c1027fe214c4b0c72f905defcda38faf9e94bf3 (commit)
      from  0f87df7fa6ab6b5d3f7c7cb7218a4880881f9d71 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3c1027fe214c4b0c72f905defcda38faf9e94bf3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 9 23:16:12 2010 +0200

    Fix more problematic code from "Add func_append_quoted and do..."
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Revert back
    func_append instances that as assignments relied on the shell
    not performing word splitting on the right hand side of the
    assignment.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    6 ++++++
 libltdl/config/ltmain.m4sh |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 869897b..b71c668 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix more problematic code from "Add func_append_quoted and do..."
+	* libltdl/config/ltmain.m4sh (func_mode_link): Revert back
+	func_append instances that as assignments relied on the shell
+	not performing word splitting on the right hand side of the
+	assignment.
+
 	Fix another typo on "Add func_append_quoted and do..."
 	* libltdl/config/ltmain.m4sh (func_mode_link): Fix regression in
 	computation of finalize_rpath introduced in v2.2.10-40-g0da7d80,
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index e5065fb..d677529 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2464,7 +2464,7 @@ func_extract_archives ()
         func_extract_an_archive "$my_xdir" "$my_xabs"
 	;;
       esac
-      func_append my_oldobjs " "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
     done
 
     func_extract_archives_result="$my_oldobjs"
@@ -5854,7 +5854,7 @@ func_mode_link ()
 	  compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
 	  finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
 	else
-	  func_append compiler_flags " "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	fi
       fi
       dependency_libs="$newdependency_libs"


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 10 05:43:43 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OilN1-0001ev-0i
	for mharc-libtool-commit@gnu.org; Tue, 10 Aug 2010 05:43:43 -0400
Received: from [140.186.70.92] (port=38294 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OilMy-0001ep-IU
	for libtool-commit@gnu.org; Tue, 10 Aug 2010 05:43:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OilMx-0003uL-Fq
	for libtool-commit@gnu.org; Tue, 10 Aug 2010 05:43:40 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:56225
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OilMx-0003uH-Ak
	for libtool-commit@gnu.org; Tue, 10 Aug 2010 05:43:39 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OilMx-0004wx-1M
	for libtool-commit@gnu.org; Tue, 10 Aug 2010 09:43:39 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OilMw-0001Nl-Tk
	for libtool-commit@gnu.org; Tue, 10 Aug 2010 09:43:39 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3c1027fe214c4b0c72f905defcda38faf9e94bf3
X-Git-Newrev: 9b4ec3cd97aa37c6764d48933267792c9947b5ba
Message-Id: <E1OilMw-0001Nl-Tk@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 10 Aug 2010 09:43:38 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-80-g9b4ec3c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Aug 2010 09:43:42 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  9b4ec3cd97aa37c6764d48933267792c9947b5ba (commit)
      from  3c1027fe214c4b0c72f905defcda38faf9e94bf3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9b4ec3cd97aa37c6764d48933267792c9947b5ba
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Tue Aug 10 16:38:03 2010 +0700

    Make testsuite compatible with Autoconf 2.62 again.
    
    * tests/getopt-m4sh.at (AT_CHECK): Autotest 2.62 chokes on unquoted
    '#' in AT_CHECK, so replace all uses with '@%:@' quadrigraph.
    Suggested by Eric Blake <eblake@redhat.com>
    Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    8 ++++++++
 tests/getopt-m4sh.at |    6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b71c668..ce4c9db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-10  Gary V. Vaughan  <gary@gnu.org>  (tiny change)
+
+	Make testsuite compatible with Autoconf 2.62 again.
+	* tests/getopt-m4sh.at (AT_CHECK): Autotest 2.62 chokes on unquoted
+	'#' in AT_CHECK, so replace all uses with '@%:@' quadrigraph.
+	Suggested by Eric Blake <eblake@redhat.com>
+	Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
 2010-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix more problematic code from "Add func_append_quoted and do..."
diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index 768d595..3e58db1 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -100,7 +100,7 @@ AT_CLEANUP
 AT_SETUP([enhanced shell short option splitting])
 
 # Don't bother with additional XSI checks unless functions were substituted
-AT_CHECK([fgrep '# Extended-shell func_split_short_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
+AT_CHECK([fgrep '@%:@ Extended-shell func_split_short_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
 [[ force verbose install
@@ -134,7 +134,7 @@ AT_CLEANUP
 AT_SETUP([XSI long option splitting])
 
 # Don't bother with additional XSI checks unless functions were substituted
-AT_CHECK([fgrep '# Extended-shell func_split_long_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
+AT_CHECK([fgrep '@%:@ Extended-shell func_split_long_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
 [[ ltdl=long
@@ -171,7 +171,7 @@ AT_CLEANUP
 AT_SETUP([enhanced shell option appending])
 
 # Don't bother with additional += check unless functions were substituted
-AT_CHECK([fgrep '# Extended-shell func_append ' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
+AT_CHECK([fgrep '@%:@ Extended-shell func_append ' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
 [[first   --append second


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Aug 12 00:09:07 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OjP6J-0006fQ-3e
	for mharc-libtool-commit@gnu.org; Thu, 12 Aug 2010 00:09:07 -0400
Received: from [140.186.70.92] (port=55685 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OjP6F-0006fG-CT
	for libtool-commit@gnu.org; Thu, 12 Aug 2010 00:09:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjP6E-0007aY-0Q
	for libtool-commit@gnu.org; Thu, 12 Aug 2010 00:09:03 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:35612
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjP6D-0007aT-P2
	for libtool-commit@gnu.org; Thu, 12 Aug 2010 00:09:01 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjP6D-0002I6-JB
	for libtool-commit@gnu.org; Thu, 12 Aug 2010 04:09:01 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjP6C-00082E-VR
	for libtool-commit@gnu.org; Thu, 12 Aug 2010 04:09:01 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 8f2fcb912f57135270ee7969dc5e56bca77925fe
Message-Id: <E1OjP6C-00082E-VR@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 12 Aug 2010 04:09:01 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, created. v2.2.10-88-g8f2fcb9
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Aug 2010 04:09:05 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been created
        at  8f2fcb912f57135270ee7969dc5e56bca77925fe (commit)

- Log -----------------------------------------------------------------
commit 8f2fcb912f57135270ee7969dc5e56bca77925fe
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Jul 29 00:36:21 2010 +0200

    initial version of the NEWS entry
    
    * NEWS: Document sysroot support.

commit 3f6731bd3fd9ce2b5fe022441105e186a9dd15e2
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Jul 28 23:56:28 2010 +0200

    add sysroot test
    
    * Makefile.am (TESTSUITE_AT): Add tests/sysroot.at.
    * tests/sysroot.at: New.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

commit a3cff76611dc8e7681835946b4f9184d09684ef3
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Jul 29 00:02:59 2010 +0200

    emit sysrooted paths when installing .la files
    
    * libltdl/config/ltmain.m4sh (func_replace_sysroot): New.
    (func_mode_link): Prepend paths in $libdir with the sysroot.  Further,
    replace the sysroot with = (using func_replace_sysroot) whenever
    such a path is written in a .la file.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

commit d77a3a512406a429ca3e1f6aa8894552818d89c5
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Jul 29 00:02:15 2010 +0200

    process postdeps to include sysrooted paths
    
    * libltdl/m4/libtool.m4 (_LT_FUNC_STRIPNAME_CNF): New (from Charles Wilson).
    (_LT_SYS_HIDDEN_LIBDEPS): Require it.  Use func_stripname_cnf to convert
    sysroot (-L= and -R=) usage in postdeps.  Adjust the code because -L, -R
    and -l flags will now always be separated from the rest of the argument.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

commit adb8f844f3327b2b8f6f92945f539e4df7aec24d
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Jul 29 00:00:12 2010 +0200

    handle sysrooted paths when reading dependencies to la files
    
    * libltdl/config/ltmain.m4sh (func_mode_execute, func_mode_install,
    func_mode_link): Whenever a .la file occurs in another .la file,
    expand the sysroot path in it.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>

commit c45a28813427ec5e25414d2a0db754eb9bbd970b
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Jul 28 23:59:30 2010 +0200

    teach libtool -L= and -R=
    
    * libltdl/config/ltmain.m4sh (func_resolve_sysroot): New.
    (func_mode_link): Always pass result of stripping -L and -R to
    func_resolve_sysroot before using it.  Remove absolute path expansion
    when func_resolve_sysroot subsumes it.  Expand sysroot in -rpath.
    When processing dependent libraries also resolve sysroot paths there.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

commit 3334f7ed5851ef1e96b052f2984c4acdbf39e20c
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Jul 28 23:55:47 2010 +0200

    add --with-sysroot
    
    * libltdl/m4/libtool.m4 (_LT_HOST_NONCANONICAL, _LT_WITH_SYSROOT): New.
    (LT_SETUP): Require _LT_WITH_SYSROOT.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>

commit a8f549c1348c0bdedf3c01e6bed6c1e1aa5e8855
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Jul 28 23:53:19 2010 +0200

    handle sysroot flags
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Recognize --sysroot
    option.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Aug 13 07:17:13 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OjsG9-0002oG-1c
	for mharc-libtool-commit@gnu.org; Fri, 13 Aug 2010 07:17:13 -0400
Received: from [140.186.70.92] (port=46947 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OjsG6-0002mp-JK
	for libtool-commit@gnu.org; Fri, 13 Aug 2010 07:17:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjsG4-0005Xu-FE
	for libtool-commit@gnu.org; Fri, 13 Aug 2010 07:17:10 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:53243
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjsG4-0005Xp-DP
	for libtool-commit@gnu.org; Fri, 13 Aug 2010 07:17:08 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjsG4-0000DI-2e
	for libtool-commit@gnu.org; Fri, 13 Aug 2010 11:17:08 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OjsG2-0002CF-By
	for libtool-commit@gnu.org; Fri, 13 Aug 2010 11:17:08 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9b4ec3cd97aa37c6764d48933267792c9947b5ba
X-Git-Newrev: 66ce911b33bb43c2079dd701aa099df709387f48
Message-Id: <E1OjsG2-0002CF-By@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 13 Aug 2010 11:17:07 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-81-g66ce911
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Aug 2010 11:17:12 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  66ce911b33bb43c2079dd701aa099df709387f48 (commit)
      from  9b4ec3cd97aa37c6764d48933267792c9947b5ba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 66ce911b33bb43c2079dd701aa099df709387f48
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Aug 13 13:11:54 2010 +0200

    Allow the use of a listing file if the archiver supports it.
    
    * libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Move detection
    of a suitable archiver...
    (_LT_PROG_AR): ...to here. New macro, also detect if the
    archiver supports a listing file with the new variable
    archiver_list_spec.
    * libltdl/config/ltmain.m4sh: If the archiver supports a listing
    file, use it when max_cmd_len is exceeded.  This is needed for
    tool chains such as MSVC which do not support piece by piece
    linking (-r -o).
    * doc/libtool.texi (libtool script contents): Update with
    archiver_list_spec description.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   15 +++++++++++++++
 doc/libtool.texi           |    4 ++++
 libltdl/config/ltmain.m4sh |    8 ++++++++
 libltdl/m4/libtool.m4      |   38 +++++++++++++++++++++++++++++++++-----
 4 files changed, 60 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ce4c9db..59e94e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-08-13  Peter Rosin  <peda@lysator.liu.se>
+
+	Allow the use of a listing file if the archiver supports it.
+	* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Move detection
+	of a suitable archiver...
+	(_LT_PROG_AR): ...to here. New macro, also detect if the
+	archiver supports a listing file with the new variable
+	archiver_list_spec.
+	* libltdl/config/ltmain.m4sh: If the archiver supports a listing
+	file, use it when max_cmd_len is exceeded.  This is needed for
+	tool chains such as MSVC which do not support piece by piece
+	linking (-r -o).
+	* doc/libtool.texi (libtool script contents): Update with
+	archiver_list_spec description.
+
 2010-08-10  Gary V. Vaughan  <gary@gnu.org>  (tiny change)
 
 	Make testsuite compatible with Autoconf 2.62 again.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 914bd1d..606b232 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -5875,6 +5875,10 @@ Commands used to create shared libraries, shared libraries with
 @option{-export-symbols} and static libraries, respectively.
 @end defvar
 
+@defvar archiver_list_spec
+Specify filename containing input files for @code{AR}.
+@end defvar
+
 @defvar old_archive_from_new_cmds
 If the shared library depends on a static library,
 @samp{old_archive_from_new_cmds} contains the commands used to create that
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d677529..d334b65 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7900,6 +7900,14 @@ EOF
 	len=$func_len_result
 	if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
 	  cmds=$old_archive_cmds
+	elif test -n "$archiver_list_spec"; then
+	  func_verbose "using command file archive linking..."
+	  for obj in $oldobjs
+	  do
+	    $ECHO "$obj"
+	  done > $output_objdir/$libname.libcmd
+	  oldobjs=" $archiver_list_spec$output_objdir/$libname.libcmd"
+	  cmds=$old_archive_cmds
 	else
 	  # the command line is too long to link in one step, link in parts
 	  func_verbose "using piecewise archive linking..."
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index c36a6b4..891a9f8 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1312,14 +1312,42 @@ need_locks="$enable_libtool_lock"
 ])# _LT_ENABLE_LOCK
 
 
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+  [lt_cv_ar_at_file=no
+   AC_COMPILE_IFELSE([[int some_variable = 0;]],
+     [echo conftest.$ac_objext > conftest.lst
+      am_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
+      AC_TRY_EVAL([am_ar_try])
+      if test "$ac_status" -eq 0; then
+        lt_cv_ar_at_file=@
+      fi
+      rm -f conftest.* libconftest.a
+     ])
+  ])
+
+if test "x$lt_cv_ar_at_file" = xno; then
+  archiver_list_spec=
+else
+  archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+  [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
 # _LT_CMD_OLD_ARCHIVE
 # -------------------
 m4_defun([_LT_CMD_OLD_ARCHIVE],
-[AC_CHECK_TOOL(AR, ar, false)
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1])
+[_LT_PROG_AR
 
 AC_CHECK_TOOL(STRIP, strip, :)
 test -z "$STRIP" && STRIP=:


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 15 12:49:09 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OkgOT-00036v-0c
	for mharc-libtool-commit@gnu.org; Sun, 15 Aug 2010 12:49:09 -0400
Received: from [140.186.70.92] (port=52994 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OkgOL-00034e-1Q
	for libtool-commit@gnu.org; Sun, 15 Aug 2010 12:49:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OkgOF-0003Qp-IK
	for libtool-commit@gnu.org; Sun, 15 Aug 2010 12:49:00 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54255
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OkgOF-0003Ql-FX
	for libtool-commit@gnu.org; Sun, 15 Aug 2010 12:48:55 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OkgOF-00051j-1N
	for libtool-commit@gnu.org; Sun, 15 Aug 2010 16:48:55 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OkgOE-0001Sb-LR
	for libtool-commit@gnu.org; Sun, 15 Aug 2010 16:48:54 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: 8f2fcb912f57135270ee7969dc5e56bca77925fe
X-Git-Newrev: d32c96ccd6dacf2c60504a6b847e3d82400adfac
Message-Id: <E1OkgOE-0001Sb-LR@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 15 Aug 2010 16:48:54 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, updated. v2.2.10-92-gd32c96c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Aug 2010 16:49:07 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been updated
       via  d32c96ccd6dacf2c60504a6b847e3d82400adfac (commit)
       via  55e986b8b4a3582998946c1a13e411d3122a7610 (commit)
       via  09a695acf973319b218665d7a3c37f4630c190c6 (commit)
       via  5735d4b16d9efb5e6348f7cd2eb348a38395f1fc (commit)
      from  8f2fcb912f57135270ee7969dc5e56bca77925fe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d32c96ccd6dacf2c60504a6b847e3d82400adfac
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Aug 11 15:35:54 2010 -0400

    add libtool --mode=finish mode for sysroot
    
    * doc/libtool.texi (Finish mode): Document behavior when *.la files
    are passed.
    * libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot
    or `=' signs representing it from files in $libs.
    * tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot
    references before running libtool --mode=finish, and for absence
    afterwards.

commit 55e986b8b4a3582998946c1a13e411d3122a7610
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Wed Aug 11 15:10:50 2010 -0400

    reorganize parsing of --mode=finish arguments
    
    * libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for
    directories and *.la files.

commit 09a695acf973319b218665d7a3c37f4630c190c6
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Aug 12 12:06:07 2010 -0400

    fix sysroot handling for deplibs of preopened libtool libs
    
    * libltdl/config/ltmain.m4sh: Pass $dependency_libs of preopened libtool
    through func_resolve_sysroot.

commit 5735d4b16d9efb5e6348f7cd2eb348a38395f1fc
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Aug 12 21:04:06 2010 -0400

    fix sysroot tests to pass on Fedora 13
    
    * tests/sysroot.at: Link $prefix/include into the sysroot as well, as
    required by newer GCC.

-----------------------------------------------------------------------

Summary of changes:
 doc/libtool.texi           |   18 ++++--
 libltdl/config/ltmain.m4sh |  131 ++++++++++++++++++++++++++++----------------
 tests/sysroot.at           |    5 +-
 3 files changed, 100 insertions(+), 54 deletions(-)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index 914bd1d..4b256bf 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1721,12 +1721,18 @@ commands are also completed.
 @cindex finish mode
 @cindex mode, finish
 
-@dfn{Finish} mode helps system administrators install libtool libraries
-so that they can be located and linked into user programs.
-
-Each @var{mode-arg} is interpreted as the name of a library directory.
-Running this command may require superuser privileges, so the
-@option{--dry-run} option may be useful.
+@dfn{Finish} mode has two functions.  One is to help system administrators
+install libtool libraries so that they can be located and linked into
+user programs.  To invoke this functionality, pass the name of a library
+directory as @var{mode-arg}.  Running this command may require superuser
+privileges, and the @option{--dry-run} option may be useful.
+
+The second is to facilitate transferring libtool libraries to a native
+compilation environment after they were built in a cross-compilation
+environment.  Cross-compilation environments may rely on recent libtool
+features, and running libtool in finish mode will make it easier to
+work with older versions of libtool.  This task is performed whenever
+the @var{mode-arg} is a @samp{.la} file.
 
 @node Uninstall mode
 @section Uninstall mode
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 3888cb0..d29fd5d 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1397,15 +1397,49 @@ test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
 func_mode_finish ()
 {
     $opt_debug
-    libdirs="$nonopt"
+    libs=
+    libdirs=
     admincmds=
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      for dir
-      do
-	func_append libdirs " $dir"
+    for opt in "$nonopt" ${1+"$@"}
+    do
+      if test -d "$opt"; then
+	func_append libdirs " $opt"
+
+      elif test -f "$opt"; then
+	if func_lalib_unsafe_p "$opt"; then
+	  func_append libs " $opt"
+	else
+	  func_warning "\`$opt' is not a valid libtool archive"
+	fi
+
+      else
+	func_fatal_error "invalid argument \`$opt'"
+      fi
+    done
+
+    if test -n "$libs"; then
+      tmpdir=`func_mktempdir`
+      if test -n "$lt_sysroot"; then
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED 's/[].[^$\\*|]/\\\\&/g'`
+        sysroot_cmd="s|\([ ']\)$sysroot_regex|\1|g;"
+      else
+        sysroot_cmd=
+      fi
+
+      # Remove sysroot references
+      for lib in $libs; do
+	$opt_dry_run || {
+	  sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+	    > $tmpdir/tmp-la
+	  mv -f $tmpdir/tmp-la $lib
+	}
+	file="$outputname"
       done
+      $opt_dry_run || ${RM}r "$tmpdir"
+    fi
 
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
       for libdir in $libdirs; do
 	if test -n "$finish_cmds"; then
 	  # Do each command in the finish commands.
@@ -1424,49 +1458,51 @@ func_mode_finish ()
     # Exit here if they wanted silent mode.
     $opt_silent && exit $EXIT_SUCCESS
 
-    echo "----------------------------------------------------------------------"
-    echo "Libraries have been installed in:"
-    for libdir in $libdirs; do
-      $ECHO "   $libdir"
-    done
-    echo
-    echo "If you ever happen to want to link against installed libraries"
-    echo "in a given directory, LIBDIR, you must either use libtool, and"
-    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
-    echo "flag during linking and do at least one of the following:"
-    if test -n "$shlibpath_var"; then
-      echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
-      echo "     during execution"
-    fi
-    if test -n "$runpath_var"; then
-      echo "   - add LIBDIR to the \`$runpath_var' environment variable"
-      echo "     during linking"
-    fi
-    if test -n "$hardcode_libdir_flag_spec"; then
-      libdir=LIBDIR
-      eval flag=\"$hardcode_libdir_flag_spec\"
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+      echo "----------------------------------------------------------------------"
+      echo "Libraries have been installed in:"
+      for libdir in $libdirs; do
+	$ECHO "   $libdir"
+      done
+      echo
+      echo "If you ever happen to want to link against installed libraries"
+      echo "in a given directory, LIBDIR, you must either use libtool, and"
+      echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+      echo "flag during linking and do at least one of the following:"
+      if test -n "$shlibpath_var"; then
+	echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+	echo "     during execution"
+      fi
+      if test -n "$runpath_var"; then
+	echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+	echo "     during linking"
+      fi
+      if test -n "$hardcode_libdir_flag_spec"; then
+	libdir=LIBDIR
+	eval flag=\"$hardcode_libdir_flag_spec\"
 
-      $ECHO "   - use the \`$flag' linker flag"
-    fi
-    if test -n "$admincmds"; then
-      $ECHO "   - have your system administrator run these commands:$admincmds"
-    fi
-    if test -f /etc/ld.so.conf; then
-      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
-    fi
-    echo
+	$ECHO "   - use the \`$flag' linker flag"
+      fi
+      if test -n "$admincmds"; then
+	$ECHO "   - have your system administrator run these commands:$admincmds"
+      fi
+      if test -f /etc/ld.so.conf; then
+	echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+      fi
+      echo
 
-    echo "See any operating system documentation about shared libraries for"
-    case $host in
-      solaris2.[6789]|solaris2.1[0-9])
-        echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
-	echo "pages."
-	;;
-      *)
-        echo "more information, such as the ld(1) and ld.so(8) manual pages."
-        ;;
-    esac
-    echo "----------------------------------------------------------------------"
+      echo "See any operating system documentation about shared libraries for"
+      case $host in
+	solaris2.[6789]|solaris2.1[0-9])
+	  echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+	  echo "pages."
+	  ;;
+	*)
+	  echo "more information, such as the ld(1) and ld.so(8) manual pages."
+	  ;;
+      esac
+      echo "----------------------------------------------------------------------"
+    fi
     exit $EXIT_SUCCESS
 }
 
@@ -4964,8 +5000,9 @@ func_mode_link ()
 	for lib in $dlprefiles; do
 	  # Ignore non-libtool-libs
 	  dependency_libs=
+	  func_resolve_sysroot "$lib"
 	  case $lib in
-	  *.la)	func_source "$lib" ;;
+	  *.la)	func_source "$func_resolve_sysroot_result" ;;
 	  esac
 
 	  # Collect preopened libtool deplibs, except any this library
diff --git a/tests/sysroot.at b/tests/sysroot.at
index 850e0cd..c0ac6d1 100644
--- a/tests/sysroot.at
+++ b/tests/sysroot.at
@@ -54,7 +54,7 @@ local_dirname() {
 }
 
 AT_CHECK([
-(cd "$gcc_sysroot" && find ".$prefix/bin" ".$prefix/lib" \! -type d) | \
+(cd "$gcc_sysroot" && find ".$prefix/bin" ".$prefix/include" ".$prefix/lib" \! -type d) | \
 while read file; do
   dir=`local_dirname "$sysroot/$file"`
   test -d "$dir" || mkdir -p "$dir"
@@ -186,6 +186,9 @@ LT_AT_BOOTSTRAP([], [-I $abs_top_srcdir/libltdl/m4], [ignore],
 AT_CHECK([$MAKE install DESTDIR=$sysroot], [0], [ignore], [ignore])
 AT_CHECK([test -f $sysroot/$prefix/bin/prog$EXEEXT])
 AT_CHECK([grep -F "$sysroot" "$sysroot/$prefix/bin/prog$EXEEXT"], [1])
+AT_CHECK([grep "'.*=" $sysroot/$prefix/lib/lib2.la], [0], [ignore])
+AT_CHECK([./libtool --mode=finish $sysroot/$prefix/lib/lib@<:@12@:>@.la], [0], [ignore])
+AT_CHECK([grep "'.*=" $sysroot/$prefix/lib/lib@<:@12@:>@.la], [1])
 
 # missing tests
 # 1) pass absolute .la files


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Aug 20 01:08:30 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OmJqA-0001IL-N9
	for mharc-libtool-commit@gnu.org; Fri, 20 Aug 2010 01:08:30 -0400
Received: from [140.186.70.92] (port=50664 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OmJq7-0001IA-Sg
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 01:08:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJq6-0007Kk-Q5
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 01:08:27 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:50661
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJq6-0007Kf-Oe
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 01:08:26 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJq6-0007MN-4T
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 05:08:26 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJq6-0000Nv-17
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 05:08:26 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 5e6462542639b3939e6daa46395260a9ae8b451e
X-Git-Newrev: 275dd5d0634199a4acb51c627c8f2786c1c5ccb5
Message-Id: <E1OmJq6-0000Nv-17@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 20 Aug 2010 05:08:26 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-83-g275dd5d
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2010 05:08:29 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  275dd5d0634199a4acb51c627c8f2786c1c5ccb5 (commit)
      from  5e6462542639b3939e6daa46395260a9ae8b451e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 275dd5d0634199a4acb51c627c8f2786c1c5ccb5
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 20 07:06:58 2010 +0200

    Remove superfluous dependency in Makefile.am.
    
    * Makefile.am (tests/demo-conf.test): Remove dependency on
    libtool, this test is a primary source and not generated.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog   |    4 ++++
 Makefile.am |    2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9f8f135..ec311e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Remove superfluous dependency in Makefile.am.
+	* Makefile.am (tests/demo-conf.test): Remove dependency on
+	libtool, this test is a primary source and not generated.
+
 	Bump copyright years in manual.
 	* doc/libtool.texi: Bump copyright years.
 
diff --git a/Makefile.am b/Makefile.am
index ef3c984..d689e09 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -690,8 +690,6 @@ if HAVE_FC
 TESTS += $(FC_TESTS)
 endif
 
-tests/demo-conf.test: libtool
-
 EXTRA_DIST     += $(srcdir)/tests/defs.in tests/defs.m4sh \
 		  $(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) $(FC_TESTS)
 DIST_SUBDIRS   += $(CONF_SUBDIRS)


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Aug 20 01:08:53 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OmJqW-0001Rk-R0
	for mharc-libtool-commit@gnu.org; Fri, 20 Aug 2010 01:08:52 -0400
Received: from [140.186.70.92] (port=50799 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OmJqT-0001Nm-F7
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 01:08:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJk0-0006Yg-MG
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 01:02:09 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:36498
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJk0-0006Yb-Kv
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 01:02:08 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJk0-0007J4-C7
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 05:02:08 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmJk0-00009M-76
	for libtool-commit@gnu.org; Fri, 20 Aug 2010 05:02:08 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 66ce911b33bb43c2079dd701aa099df709387f48
X-Git-Newrev: 5e6462542639b3939e6daa46395260a9ae8b451e
Message-Id: <E1OmJk0-00009M-76@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 20 Aug 2010 05:02:08 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-82-g5e64625
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2010 05:08:50 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  5e6462542639b3939e6daa46395260a9ae8b451e (commit)
      from  66ce911b33bb43c2079dd701aa099df709387f48 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5e6462542639b3939e6daa46395260a9ae8b451e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 20 07:01:20 2010 +0200

    Bump copyright years in manual.
    
    * doc/libtool.texi: Bump copyright years.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    5 +++++
 doc/libtool.texi |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 59e94e4..9f8f135 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Bump copyright years in manual.
+	* doc/libtool.texi: Bump copyright years.
+
 2010-08-13  Peter Rosin  <peda@lysator.liu.se>
 
 	Allow the use of a listing file if the archiver supports it.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 606b232..3f356c3 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -26,7 +26,7 @@
 @ifnottex
 This file documents GNU Libtool @value{VERSION}
 
-Copyright (C) 1996-2009 Free Software Foundation, Inc.
+Copyright (C) 1996-2010 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3
@@ -53,7 +53,7 @@ identical to this one except for the removal of this paragraph
 
 @page
 @vskip 0pt plus 1filll
-Copyright @copyright{} 2009 Free Software Foundation, Inc.
+Copyright @copyright{} 2010 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3
@@ -6343,7 +6343,7 @@ trick$ chmod +x libtool
 trick$ libtool --version
 ltmain.sh (GNU @@PACKAGE@@@@TIMESTAMP@@) @@VERSION@@
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2010 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 trick$


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 21 04:17:15 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OmjGM-0006HB-UB
	for mharc-libtool-commit@gnu.org; Sat, 21 Aug 2010 04:17:14 -0400
Received: from [140.186.70.92] (port=50574 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OmjGK-0006H2-5C
	for libtool-commit@gnu.org; Sat, 21 Aug 2010 04:17:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmjGI-0007MX-6n
	for libtool-commit@gnu.org; Sat, 21 Aug 2010 04:17:12 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:37746
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmjGI-0007MN-1d
	for libtool-commit@gnu.org; Sat, 21 Aug 2010 04:17:10 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmjGH-0001fu-OR
	for libtool-commit@gnu.org; Sat, 21 Aug 2010 08:17:09 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OmjGG-0003RC-D3
	for libtool-commit@gnu.org; Sat, 21 Aug 2010 08:17:09 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 275dd5d0634199a4acb51c627c8f2786c1c5ccb5
X-Git-Newrev: c9ee137683c618c9c1f2fedbb4b9e970615dfc99
Message-Id: <E1OmjGG-0003RC-D3@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 21 Aug 2010 08:17:09 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-87-gc9ee137
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Aug 2010 08:17:13 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  c9ee137683c618c9c1f2fedbb4b9e970615dfc99 (commit)
       via  7406192d816ba37437c6463011fec47147c9aee3 (commit)
       via  a31a28281b1a3ed046238b2629f792583eda21dc (commit)
       via  69c0031a576a27e861a4d85b687a0d9f569192f6 (commit)
      from  275dd5d0634199a4acb51c627c8f2786c1c5ccb5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9ee137683c618c9c1f2fedbb4b9e970615dfc99
Author: Rainer Tammer <tammer@tammer.net>
Date:   Sat Aug 21 10:02:29 2010 +0200

    Avoid issues with AIX resident shared libraries in old testsuite.
    
    * tests/defs.m4sh [aix]: Remove file mode permission for others,
    so shared libraries are not kept in memory after execution.
    Fixes failures of repeated mdemo-inst.test with on AIX 5.3.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 7406192d816ba37437c6463011fec47147c9aee3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 7 00:23:22 2010 +0200

    Skip part of versioning test on AIX.
    
    * tests/versioning.at (versioning): The AIX linker always
    records the unversioned library name, even with runtimelinking,
    so skip the execution test for the incompatibly upgraded
    library.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit a31a28281b1a3ed046238b2629f792583eda21dc
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 6 23:45:23 2010 +0200

    Remove dead code from versioning test.
    
    * tests/versioning.at (versioning): No need to build unused
    prog3.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 69c0031a576a27e861a4d85b687a0d9f569192f6
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 20 07:02:46 2010 +0200

    Don't hide the table of contents in the manual.
    
    * doc/libtool.texi: Move the table of contents to the beginning.
    Prompted by patch from Bruno Haible against Automake.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |   24 ++++++++++++++++++++++++
 doc/libtool.texi    |    4 ++--
 tests/defs.m4sh     |   10 ++++++++++
 tests/versioning.at |   17 +++++++----------
 4 files changed, 43 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ec311e8..0d5840f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,29 @@
+2010-08-21  Rainer Tammer <tammer@tammer.net>  (tiny change)
+
+	Avoid issues with AIX resident shared libraries in old testsuite.
+	* tests/defs.m4sh [aix]: Remove file mode permission for others,
+	so shared libraries are not kept in memory after execution.
+	Fixes failures of repeated mdemo-inst.test with on AIX 5.3.
+
+2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Skip part of versioning test on AIX.
+	* tests/versioning.at (versioning): The AIX linker always
+	records the unversioned library name, even with runtimelinking,
+	so skip the execution test for the incompatibly upgraded
+	library.
+	Report by Rainer Tammer.
+
+	Remove dead code from versioning test.
+	* tests/versioning.at (versioning): No need to build unused
+	prog3.
+
 2010-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Don't hide the table of contents in the manual.
+	* doc/libtool.texi: Move the table of contents to the beginning.
+	Prompted by patch from Bruno Haible against Automake.
+
 	Remove superfluous dependency in Makefile.am.
 	* Makefile.am (tests/demo-conf.test): Remove dependency on
 	libtool, this test is a primary source and not generated.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 3f356c3..d0eaec4 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -70,6 +70,8 @@ the section entitled "GNU Free Documentation License".
 @syncodeindex tp cp
 @synindex pg cp
 
+@contents
+
 @ifnottex
 @node Top, Introduction, (dir), (dir)
 @comment  node-name,  next,  previous,  up
@@ -6368,6 +6370,4 @@ order to test new changes without having to rerun @code{configure}.
 
 @printindex cp
 
-@c summarycontents
-@contents
 @bye
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 1230555..183783e 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -130,6 +130,7 @@ func_get_config "objext
 objdir
 CC
 host
+host_os
 host_alias
 build
 build_alias" "$LIBTOOL --config" ": fatal"
@@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4
 auxdir=$srcdir/libltdl/config
 scripts="$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh"
 
+# On AIX, shared libraries remain loaded in memory after use if they
+# are world-readable, until root issues slibclean.  On NFS, this causes
+# a testsuite rerun to fail to clean up test group directories.  Avoid
+# this with a suitable umask.  Do not do this on other systems, for
+# example HP-UX suffers unless shared libraries are mode 555.
+case $host_os in
+aix*) umask o-rwx ;;
+esac
+
 func_msg "Running $progname"
 
 # Local Variables:
diff --git a/tests/versioning.at b/tests/versioning.at
index 69bf731..1d75f62 100644
--- a/tests/versioning.at
+++ b/tests/versioning.at
@@ -24,7 +24,7 @@
 AT_SETUP([versioning])
 AT_KEYWORDS([libtool])
 
-eval "`$LIBTOOL --config | $EGREP '^(objdir)='`"
+eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
 
 # Setup some library and program sources:
 # a library (a1), a new revision (a2), a compatible update (a3),
@@ -91,14 +91,6 @@ int main (void)
 }
 ]])
 
-AT_DATA([prog3.c], [[
-extern int a (void), internal_detail;
-int main (void)
-{
-  return a () + internal_detail - 42;
-}
-]])
-
 
 inst=`pwd`/inst
 libdir=$inst/lib
@@ -109,7 +101,7 @@ mkdir $inst $libdir $bindir
 for file in liba1.c liba2.c liba3.c liba4.c libb.c; do
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file
 done
-for file in prog1.c prog2.c prog3.c; do
+for file in prog1.c prog2.c; do
   $CC $CPPFLAGS $CFLAGS -c $file
 done
 
@@ -235,6 +227,11 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba4.lo ]dnl
 # available, so test_uninstalled will not necessarily work here any more.
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+
+# This test does not work on AIX, not even with runtimelinking, because
+# the linker always records the unversioned name as dependency.
+AT_CHECK([:; case $host_os in aix*) exit 77;; esac])
+
 test_installed
 
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 03:27:27 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1On4xi-0006Qv-P2
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:26 -0400
Received: from [140.186.70.92] (port=46161 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1On4xg-0006QX-7r
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xf-0007Mg-83
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:24 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49703
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xf-0007MY-5J
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:23 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xe-0001Tl-H0
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:27:22 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xe-00039T-6v
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:27:22 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: d32c96ccd6dacf2c60504a6b847e3d82400adfac
X-Git-Newrev: b9accaaa3b3e4d3cc1a72d5366e5526b65819026
Message-Id: <E1On4xe-00039T-6v@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 07:27:22 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, updated. v2.2.10-93-gb9accaa
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 07:27:25 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been updated
       via  b9accaaa3b3e4d3cc1a72d5366e5526b65819026 (commit)
      from  d32c96ccd6dacf2c60504a6b847e3d82400adfac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b9accaaa3b3e4d3cc1a72d5366e5526b65819026
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Sun Aug 15 18:54:02 2010 +0200

    improve code for sysroot --mode=finish
    
    * libltdl/config/ltmain.m4sh (func_mode_finish): Change sysroot_regex
    and sysroot_cmd delimiter from pipe to slash.  Wrap the entire for
    loop with "if $opt_dry_run...fi" and print an explanatory message
    for the --dry-run case.

-----------------------------------------------------------------------

Summary of changes:
 libltdl/config/ltmain.m4sh |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d29fd5d..4e922ac 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1419,24 +1419,27 @@ func_mode_finish ()
     done
 
     if test -n "$libs"; then
-      tmpdir=`func_mktempdir`
       if test -n "$lt_sysroot"; then
-        sysroot_regex=`$ECHO "$lt_sysroot" | $SED 's/[].[^$\\*|]/\\\\&/g'`
-        sysroot_cmd="s|\([ ']\)$sysroot_regex|\1|g;"
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED 's/[].[^$\\*/]/\\\\&/g'`
+        sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
       else
         sysroot_cmd=
       fi
 
       # Remove sysroot references
-      for lib in $libs; do
-	$opt_dry_run || {
+      if $opt_dry_run; then
+        tmpdir=`func_mktempdir`
+        for lib in $libs; do
 	  sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
 	    > $tmpdir/tmp-la
 	  mv -f $tmpdir/tmp-la $lib
-	}
-	file="$outputname"
-      done
-      $opt_dry_run || ${RM}r "$tmpdir"
+	done
+        ${RM}r "$tmpdir"
+      else
+        for lib in $libs; do
+          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+        done
+      fi
     fi
 
     if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 03:27:28 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1On4xk-0006RN-B4
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:28 -0400
Received: from [140.186.70.92] (port=46163 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1On4xg-0006QY-DE
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xf-0007Ml-7D
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:24 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49702
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xf-0007MV-5H
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:27:23 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xe-0001Ti-74
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:27:22 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1On4xd-00038x-WA
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:27:22 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: c9ee137683c618c9c1f2fedbb4b9e970615dfc99
X-Git-Newrev: d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1
Message-Id: <E1On4xd-00038x-WA@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 07:27:22 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-88-gd7ed1f8
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 07:27:25 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1 (commit)
      from  c9ee137683c618c9c1f2fedbb4b9e970615dfc99 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Sun Aug 15 19:04:08 2010 +0200

    Factor the sed command used to make a regex from a literal.
    
    * libltdl/config/general.m4sh (sed_make_literal_regex): New.
    * libltdl/config/ltmain.m4sh (func_generate_dlsyms,
    func_cygming_dll_for_implib_fallback_core): Use it.  Suggested
    by Ralf Wildenhues.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    8 ++++++++
 libltdl/config/general.m4sh |    4 ++++
 libltdl/config/ltmain.m4sh  |    2 +-
 3 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0d5840f..9892427 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
+
+	Factor the sed command used to make a regex from a literal.
+	* libltdl/config/general.m4sh (sed_make_literal_regex): New.
+	* libltdl/config/ltmain.m4sh
+	(func_cygming_dll_for_implib_fallback_core): Use it.  Suggested
+	by Ralf Wildenhues.
+
 2010-08-21  Rainer Tammer <tammer@tammer.net>  (tiny change)
 
 	Avoid issues with AIX resident shared libraries in old testsuite.
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 1245fe5..1ccb9b0 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -315,6 +315,10 @@ sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
 # Same as above, but do not quote variable references.
 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s,[].[^$\\*/],\\\\&,g'
+
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
 # in input to double_quote_subst, that '$' was protected from expansion.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d334b65..c6671a0 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2265,7 +2265,7 @@ func_cygming_dll_for_implib ()
 func_cygming_dll_for_implib_fallback_core ()
 {
   $opt_debug
-  match_literal=`$ECHO "$1" | $SED 's/[].[^$\\*|]/\\\\&/g'`
+  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
   $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
     $SED '/^Contents of section '"$match_literal"':/{
       # Place marker at beginning of archive member dllname section


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 03:41:59 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1On5Bm-00007F-Vj
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 03:41:59 -0400
Received: from [140.186.70.92] (port=59418 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1On5Bj-000076-DO
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:41:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Bh-0000Sh-0T
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:41:55 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:53520
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Bg-0000Sd-Tv
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:41:52 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Bg-0001fj-Mj
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:41:52 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Bg-0003rc-Fz
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:41:52 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: b9accaaa3b3e4d3cc1a72d5366e5526b65819026
X-Git-Newrev: 2bde23f84fd69c2b135ef53f43a22a90c14e7e8c
Message-Id: <E1On5Bg-0003rc-Fz@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 07:41:52 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, updated. v2.2.10-103-g2bde23f
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 07:41:57 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been updated
       via  2bde23f84fd69c2b135ef53f43a22a90c14e7e8c (commit)
       via  5dca3212e16b8cd502a74f7c8e0a18187e36a03c (commit)
       via  d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1 (commit)
       via  c9ee137683c618c9c1f2fedbb4b9e970615dfc99 (commit)
       via  7406192d816ba37437c6463011fec47147c9aee3 (commit)
       via  a31a28281b1a3ed046238b2629f792583eda21dc (commit)
       via  69c0031a576a27e861a4d85b687a0d9f569192f6 (commit)
       via  275dd5d0634199a4acb51c627c8f2786c1c5ccb5 (commit)
       via  5e6462542639b3939e6daa46395260a9ae8b451e (commit)
       via  66ce911b33bb43c2079dd701aa099df709387f48 (commit)
      from  b9accaaa3b3e4d3cc1a72d5366e5526b65819026 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2bde23f84fd69c2b135ef53f43a22a90c14e7e8c
Merge: 5dca321 d7ed1f8
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Sun Aug 22 09:29:24 2010 +0200

    Merge remote branch 'origin/master' into sysroot
    
    * libltdl/config/ltmain.m4sh (func_mode_finish): Use sed_make_literal_regex.

commit 5dca3212e16b8cd502a74f7c8e0a18187e36a03c
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sun Aug 22 09:39:21 2010 +0200

    fix --mode=finish
    
    * libltdl/config/ltmain.m4sh (func_mode_finish): Invert then/else
    blocks of the "if $opt_dry_run" conditional.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |   56 +++++++++++++++++++++++++++++++++++++++++++
 Makefile.am                 |    2 -
 doc/libtool.texi            |   14 +++++++----
 libltdl/config/general.m4sh |    4 +++
 libltdl/config/ltmain.m4sh  |   20 ++++++++++----
 libltdl/m4/libtool.m4       |   38 +++++++++++++++++++++++++----
 tests/defs.m4sh             |   10 +++++++
 tests/versioning.at         |   17 +++++-------
 8 files changed, 133 insertions(+), 28 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ce4c9db..9892427 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,59 @@
+2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
+
+	Factor the sed command used to make a regex from a literal.
+	* libltdl/config/general.m4sh (sed_make_literal_regex): New.
+	* libltdl/config/ltmain.m4sh
+	(func_cygming_dll_for_implib_fallback_core): Use it.  Suggested
+	by Ralf Wildenhues.
+
+2010-08-21  Rainer Tammer <tammer@tammer.net>  (tiny change)
+
+	Avoid issues with AIX resident shared libraries in old testsuite.
+	* tests/defs.m4sh [aix]: Remove file mode permission for others,
+	so shared libraries are not kept in memory after execution.
+	Fixes failures of repeated mdemo-inst.test with on AIX 5.3.
+
+2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Skip part of versioning test on AIX.
+	* tests/versioning.at (versioning): The AIX linker always
+	records the unversioned library name, even with runtimelinking,
+	so skip the execution test for the incompatibly upgraded
+	library.
+	Report by Rainer Tammer.
+
+	Remove dead code from versioning test.
+	* tests/versioning.at (versioning): No need to build unused
+	prog3.
+
+2010-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Don't hide the table of contents in the manual.
+	* doc/libtool.texi: Move the table of contents to the beginning.
+	Prompted by patch from Bruno Haible against Automake.
+
+	Remove superfluous dependency in Makefile.am.
+	* Makefile.am (tests/demo-conf.test): Remove dependency on
+	libtool, this test is a primary source and not generated.
+
+	Bump copyright years in manual.
+	* doc/libtool.texi: Bump copyright years.
+
+2010-08-13  Peter Rosin  <peda@lysator.liu.se>
+
+	Allow the use of a listing file if the archiver supports it.
+	* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Move detection
+	of a suitable archiver...
+	(_LT_PROG_AR): ...to here. New macro, also detect if the
+	archiver supports a listing file with the new variable
+	archiver_list_spec.
+	* libltdl/config/ltmain.m4sh: If the archiver supports a listing
+	file, use it when max_cmd_len is exceeded.  This is needed for
+	tool chains such as MSVC which do not support piece by piece
+	linking (-r -o).
+	* doc/libtool.texi (libtool script contents): Update with
+	archiver_list_spec description.
+
 2010-08-10  Gary V. Vaughan  <gary@gnu.org>  (tiny change)
 
 	Make testsuite compatible with Autoconf 2.62 again.
diff --git a/Makefile.am b/Makefile.am
index c2928a5..201f370 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -691,8 +691,6 @@ if HAVE_FC
 TESTS += $(FC_TESTS)
 endif
 
-tests/demo-conf.test: libtool
-
 EXTRA_DIST     += $(srcdir)/tests/defs.in tests/defs.m4sh \
 		  $(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) $(FC_TESTS)
 DIST_SUBDIRS   += $(CONF_SUBDIRS)
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 4b256bf..3b0081a 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -26,7 +26,7 @@
 @ifnottex
 This file documents GNU Libtool @value{VERSION}
 
-Copyright (C) 1996-2009 Free Software Foundation, Inc.
+Copyright (C) 1996-2010 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3
@@ -53,7 +53,7 @@ identical to this one except for the removal of this paragraph
 
 @page
 @vskip 0pt plus 1filll
-Copyright @copyright{} 2009 Free Software Foundation, Inc.
+Copyright @copyright{} 2010 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3
@@ -70,6 +70,8 @@ the section entitled "GNU Free Documentation License".
 @syncodeindex tp cp
 @synindex pg cp
 
+@contents
+
 @ifnottex
 @node Top, Introduction, (dir), (dir)
 @comment  node-name,  next,  previous,  up
@@ -5881,6 +5883,10 @@ Commands used to create shared libraries, shared libraries with
 @option{-export-symbols} and static libraries, respectively.
 @end defvar
 
+@defvar archiver_list_spec
+Specify filename containing input files for @code{AR}.
+@end defvar
+
 @defvar old_archive_from_new_cmds
 If the shared library depends on a static library,
 @samp{old_archive_from_new_cmds} contains the commands used to create that
@@ -6345,7 +6351,7 @@ trick$ chmod +x libtool
 trick$ libtool --version
 ltmain.sh (GNU @@PACKAGE@@@@TIMESTAMP@@) @@VERSION@@
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2010 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 trick$
@@ -6370,6 +6376,4 @@ order to test new changes without having to rerun @code{configure}.
 
 @printindex cp
 
-@c summarycontents
-@contents
 @bye
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 1245fe5..1ccb9b0 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -315,6 +315,10 @@ sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
 # Same as above, but do not quote variable references.
 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s,[].[^$\\*/],\\\\&,g'
+
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
 # in input to double_quote_subst, that '$' was protected from expansion.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 4e922ac..460897c 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1420,7 +1420,7 @@ func_mode_finish ()
 
     if test -n "$libs"; then
       if test -n "$lt_sysroot"; then
-        sysroot_regex=`$ECHO "$lt_sysroot" | $SED 's/[].[^$\\*/]/\\\\&/g'`
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
         sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
       else
         sysroot_cmd=
@@ -1428,6 +1428,10 @@ func_mode_finish ()
 
       # Remove sysroot references
       if $opt_dry_run; then
+        for lib in $libs; do
+          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+        done
+      else
         tmpdir=`func_mktempdir`
         for lib in $libs; do
 	  sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
@@ -1435,10 +1439,6 @@ func_mode_finish ()
 	  mv -f $tmpdir/tmp-la $lib
 	done
         ${RM}r "$tmpdir"
-      else
-        for lib in $libs; do
-          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
-        done
       fi
     fi
 
@@ -2356,7 +2356,7 @@ func_cygming_dll_for_implib ()
 func_cygming_dll_for_implib_fallback_core ()
 {
   $opt_debug
-  match_literal=`$ECHO "$1" | $SED 's/[].[^$\\*|]/\\\\&/g'`
+  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
   $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
     $SED '/^Contents of section '"$match_literal"':/{
       # Place marker at beginning of archive member dllname section
@@ -8013,6 +8013,14 @@ EOF
 	len=$func_len_result
 	if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
 	  cmds=$old_archive_cmds
+	elif test -n "$archiver_list_spec"; then
+	  func_verbose "using command file archive linking..."
+	  for obj in $oldobjs
+	  do
+	    $ECHO "$obj"
+	  done > $output_objdir/$libname.libcmd
+	  oldobjs=" $archiver_list_spec$output_objdir/$libname.libcmd"
+	  cmds=$old_archive_cmds
 	else
 	  # the command line is too long to link in one step, link in parts
 	  func_verbose "using piecewise archive linking..."
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 715f411..5bf28b7 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1346,14 +1346,42 @@ need_locks="$enable_libtool_lock"
 ])# _LT_ENABLE_LOCK
 
 
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+  [lt_cv_ar_at_file=no
+   AC_COMPILE_IFELSE([[int some_variable = 0;]],
+     [echo conftest.$ac_objext > conftest.lst
+      am_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
+      AC_TRY_EVAL([am_ar_try])
+      if test "$ac_status" -eq 0; then
+        lt_cv_ar_at_file=@
+      fi
+      rm -f conftest.* libconftest.a
+     ])
+  ])
+
+if test "x$lt_cv_ar_at_file" = xno; then
+  archiver_list_spec=
+else
+  archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+  [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
 # _LT_CMD_OLD_ARCHIVE
 # -------------------
 m4_defun([_LT_CMD_OLD_ARCHIVE],
-[AC_CHECK_TOOL(AR, ar, false)
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1])
+[_LT_PROG_AR
 
 AC_CHECK_TOOL(STRIP, strip, :)
 test -z "$STRIP" && STRIP=:
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 1230555..183783e 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -130,6 +130,7 @@ func_get_config "objext
 objdir
 CC
 host
+host_os
 host_alias
 build
 build_alias" "$LIBTOOL --config" ": fatal"
@@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4
 auxdir=$srcdir/libltdl/config
 scripts="$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh"
 
+# On AIX, shared libraries remain loaded in memory after use if they
+# are world-readable, until root issues slibclean.  On NFS, this causes
+# a testsuite rerun to fail to clean up test group directories.  Avoid
+# this with a suitable umask.  Do not do this on other systems, for
+# example HP-UX suffers unless shared libraries are mode 555.
+case $host_os in
+aix*) umask o-rwx ;;
+esac
+
 func_msg "Running $progname"
 
 # Local Variables:
diff --git a/tests/versioning.at b/tests/versioning.at
index 69bf731..1d75f62 100644
--- a/tests/versioning.at
+++ b/tests/versioning.at
@@ -24,7 +24,7 @@
 AT_SETUP([versioning])
 AT_KEYWORDS([libtool])
 
-eval "`$LIBTOOL --config | $EGREP '^(objdir)='`"
+eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
 
 # Setup some library and program sources:
 # a library (a1), a new revision (a2), a compatible update (a3),
@@ -91,14 +91,6 @@ int main (void)
 }
 ]])
 
-AT_DATA([prog3.c], [[
-extern int a (void), internal_detail;
-int main (void)
-{
-  return a () + internal_detail - 42;
-}
-]])
-
 
 inst=`pwd`/inst
 libdir=$inst/lib
@@ -109,7 +101,7 @@ mkdir $inst $libdir $bindir
 for file in liba1.c liba2.c liba3.c liba4.c libb.c; do
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file
 done
-for file in prog1.c prog2.c prog3.c; do
+for file in prog1.c prog2.c; do
   $CC $CPPFLAGS $CFLAGS -c $file
 done
 
@@ -235,6 +227,11 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba4.lo ]dnl
 # available, so test_uninstalled will not necessarily work here any more.
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+
+# This test does not work on AIX, not even with runtimelinking, because
+# the linker always records the unversioned name as dependency.
+AT_CHECK([:; case $host_os in aix*) exit 77;; esac])
+
 test_installed
 
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 03:58:39 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1On5Rv-0003ae-Nv
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:39 -0400
Received: from [140.186.70.92] (port=44060 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1On5Rt-0003aU-5P
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-000262-OD
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:37 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39563
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-00025q-Lw
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:35 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-0001px-8d
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:58:35 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-0004WO-1T
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:58:35 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: 2bde23f84fd69c2b135ef53f43a22a90c14e7e8c
X-Git-Newrev: 75b9ac5fa27c4940141d719a42a07f4397e14c60
Message-Id: <E1On5Rr-0004WO-1T@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 07:58:35 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, updated. v2.2.10-106-g75b9ac5
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 07:58:38 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been updated
       via  75b9ac5fa27c4940141d719a42a07f4397e14c60 (commit)
       via  a662d7c46eb9a5734e6356049ccc82e28dbffbf4 (commit)
       via  a1d74f242cae77a941fbaa0505badf488d85f618 (commit)
      from  2bde23f84fd69c2b135ef53f43a22a90c14e7e8c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 75b9ac5fa27c4940141d719a42a07f4397e14c60
Merge: a1d74f2 a662d7c
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Sun Aug 22 09:54:55 2010 +0200

    Merge branch 'master' into sysroot

commit a1d74f242cae77a941fbaa0505badf488d85f618
Author: Ralf Wildenhues <ralf.wildenues@gmx.de>
Date:   Sun Aug 22 09:42:51 2010 +0200

    fix AIX testsuite regression
    
    * libltdl/config/ltmain.m4sh (func_resolve_sysroot): Partly
    revert v2.2.10-83-gc45a288: Do not absolutize path here, only do
    sysroot replacement.
    (func_mode_link): Adjust.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    6 ++++++
 libltdl/config/general.m4sh |    2 +-
 libltdl/config/ltmain.m4sh  |   29 ++++++++++++-----------------
 3 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9892427..5f5e23a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-22  Paolo Bonzini  <bonzini@gnu.org>
+
+	Fix sed_make_literal_regex.
+	* libltdl/config/general.m4sh (sed_make_literal_regex): Fix
+	definition.
+
 2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
 
 	Factor the sed command used to make a regex from a literal.
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 1ccb9b0..595c57a 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -317,7 +317,7 @@ double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
 # Sed substitution that turns a string into a regex matching for the
 # string literally.
-sed_make_literal_regex='s,[].[^$\\*/],\\\\&,g'
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
 
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 460897c..f23878e 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -547,31 +547,16 @@ func_source ()
 
 
 # func_resolve_sysroot PATH
-# Change PATH to an absolute path or replace a leading = with a
-# sysroot.  Store the result into func_resolve_sysroot_result
+# Replace a leading = in PATH with a sysroot.  Store the result into
+# func_resolve_sysroot_result
 func_resolve_sysroot ()
 {
   func_resolve_sysroot_result=$1
   case $func_resolve_sysroot_result in
-  [\\/]* | [A-Za-z]:[\\/]*) ;;
   =*)
     func_stripname '=' '' "$func_resolve_sysroot_result"
     func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
     ;;
-  *)
-    if test -d "$1"; then
-      absdir=`cd "$1" && pwd`
-      test -z "$absdir" && \
-        func_fatal_error "cannot determine absolute directory name of \`$dir'"
-      func_resolve_sysroot_result=`cd "$dir" && pwd`
-    else
-      func_dirname_and_basename "$1" "" "."
-      absdir=`cd "$func_dirname_result" && pwd`
-      test -z "$absdir" && \
-        func_fatal_error "cannot determine absolute directory name of \`$func_dirname_result'"
-      func_resolve_sysroot_result="$absdir/$func_basename_result"
-    fi
-    ;;
   esac
 }
 
@@ -4443,6 +4428,16 @@ func_mode_link ()
 	fi
 	func_resolve_sysroot "$func_stripname_result"
 	dir=$func_resolve_sysroot_result
+	# We need an absolute path.
+	case $dir in
+	[\\/]* | [A-Za-z]:[\\/]*) ;;
+	*)
+	  absdir=`cd "$dir" && pwd`
+	  test -z "$absdir" && \
+	    func_fatal_error "cannot determine absolute directory name of \`$dir'"
+	  dir="$absdir"
+	  ;;
+	esac
 	case "$deplibs " in
 	*" -L$dir "* | *" $arg "*)
 	  # Will only happen for absolute or sysroot arguments


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 03:58:40 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1On5Rv-0003ak-US
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:39 -0400
Received: from [140.186.70.92] (port=44058 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1On5Rt-0003aT-1z
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-00025x-Ny
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:36 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39562
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-00025p-Lv
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 03:58:35 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rr-0001pv-0G
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:58:35 +0000
Received: from bonzini by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5Rq-0004Vn-OY
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 07:58:34 +0000
From: "Paolo Bonzini" <bonzini@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1
X-Git-Newrev: a662d7c46eb9a5734e6356049ccc82e28dbffbf4
Message-Id: <E1On5Rq-0004Vn-OY@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 07:58:34 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-89-ga662d7c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 07:58:38 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  a662d7c46eb9a5734e6356049ccc82e28dbffbf4 (commit)
      from  d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    6 ++++++
 libltdl/config/general.m4sh |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9892427..5f5e23a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-22  Paolo Bonzini  <bonzini@gnu.org>
+
+	Fix sed_make_literal_regex.
+	* libltdl/config/general.m4sh (sed_make_literal_regex): Fix
+	definition.
+
 2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
 
 	Factor the sed command used to make a regex from a literal.
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 1ccb9b0..595c57a 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -317,7 +317,7 @@ double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
 # Sed substitution that turns a string into a regex matching for the
 # string literally.
-sed_make_literal_regex='s,[].[^$\\*/],\\\\&,g'
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
 
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 04:18:02 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1On5kg-0006Lx-Jf
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 04:18:02 -0400
Received: from [140.186.70.92] (port=53658 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1On5kd-0006Lo-6j
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 04:18:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5kb-0003wi-Tj
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 04:17:59 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41412
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5kb-0003wc-SN
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 04:17:57 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5kb-00025V-L6
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 08:17:57 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1On5kb-0005S4-Ei
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 08:17:57 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a662d7c46eb9a5734e6356049ccc82e28dbffbf4
X-Git-Newrev: 10c6cb25e5f8e5212e1c770568017184a7575122
Message-Id: <E1On5kb-0005S4-Ei@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 08:17:57 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-90-g10c6cb2
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 08:18:01 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  10c6cb25e5f8e5212e1c770568017184a7575122 (commit)
      from  a662d7c46eb9a5734e6356049ccc82e28dbffbf4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 10c6cb25e5f8e5212e1c770568017184a7575122
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:14:06 2010 +0200

    Tidy and fix clean and distclean rules for old testsuite.
    
    * Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead
    of hard-coding the list of test directories.  Use
    $(AM_MAKEFLAGS).
    (fake-distclean-legacy): New phony rule, to create fake Makefile
    files if needed so that the automake-generated
    distclean-recursive rule can work properly.
    (distclean_recursive): New helper variable.
    (distclean-recursive): Depend on fake-distclean-legacy.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog   |   12 ++++++++++++
 Makefile.am |   22 ++++++++++++++++++----
 2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f5e23a..6b8767f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Tidy and fix clean and distclean rules for old testsuite.
+	* Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead
+	of hard-coding the list of test directories.  Use
+	$(AM_MAKEFLAGS).
+	(fake-distclean-legacy): New phony rule, to create fake Makefile
+	files if needed so that the automake-generated
+	distclean-recursive rule can work properly.
+	(distclean_recursive): New helper variable.
+	(distclean-recursive): Depend on fake-distclean-legacy.
+
 2010-08-22  Paolo Bonzini  <bonzini@gnu.org>
 
 	Fix sed_make_literal_regex.
diff --git a/Makefile.am b/Makefile.am
index d689e09..2c4a3db 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -712,12 +712,26 @@ $(srcdir)/tests/defs.in: $(auxdir)/general.m4sh tests/defs.m4sh Makefile.am
 
 # We need to remove any files that the above tests created.
 clean-local-legacy:
-	-cd tests; \
-	for dir in cdemo demo depdemo f77demo fcdemo mdemo mdemo2 pdemo tagdemo; \
-	do \
-	    test -f $$dir/Makefile && ( cd $$dir && $(MAKE) distclean; ); \
+	-for dir in $(CONF_SUBDIRS); do \
+	  if test -f $$dir/Makefile; then \
+	    (cd $$dir && $(MAKE) $(AM_MAKEFLAGS) distclean); \
+	  else :; fi; \
 	done
 	rm -rf _inst
 
+# For distclean, we may have to fake Makefiles in the test directories
+# so that descending in DIST_SUBDIRS works.
+# Hide the additional dependency from automake so it still outputs the rule.
+distclean_recursive = distclean-recursive
+$(distclean_recursive): fake-distclean-legacy
+.PHONY: fake-distclean-legacy
+fake-distclean-legacy:
+	-for dir in $(CONF_SUBDIRS); do \
+	  if test ! -f $$dir/Makefile; then \
+	    $(mkinstalldirs) $$dir; \
+	    echo 'distclean: ; rm -f Makefile' > $$dir/Makefile; \
+	  else :; fi; \
+	done
+
 $(TESTS): tests/defs
 DISTCLEANFILES += tests/defs


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 10:18:54 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OnBNu-0003H6-O4
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 10:18:54 -0400
Received: from [140.186.70.92] (port=42696 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OnBNs-0003Gz-Gl
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 10:18:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnBNr-0000DU-Dy
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 10:18:52 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:42043
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnBNr-0000DQ-A4
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 10:18:51 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnBNr-0006Nk-1A
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 14:18:51 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnBNq-0003Eu-R7
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 14:18:50 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/parallel-tests
X-Git-Reftype: branch
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: b92d7e795871f8d22a13107b92427ae02bf32146
Message-Id: <E1OnBNq-0003Eu-R7@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 14:18:50 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, parallel-tests,
	created. v2.2.10-93-gb92d7e7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 14:18:54 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, parallel-tests has been created
        at  b92d7e795871f8d22a13107b92427ae02bf32146 (commit)

- Log -----------------------------------------------------------------
commit b92d7e795871f8d22a13107b92427ae02bf32146
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:32:39 2010 +0200

    check-interactive and check-noninteractive for both testsuites.
    
    * Makefile.am (COMMON_TESTS, TESTS): Split into ...
    (NONINTERACTIVE_TESTS, INTERACTIVE_TESTS): ... these new
    variables.
    (check-interactive-new): Rename from check-interactive.
    (check-noninteractive-new): Rename from check-noninteractive.
    (check-interactive-old, check-noninteractive-old): New targets.
    (check-interactive, check-noninteractive): Depend on the
    respective targets for the old and the new test suites.
    * doc/libtool.texi (Test descriptions): Simplify description
    about check-interactive and check-noninteractive.  Add index
    entries.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 36bdc6089b33bcd7262bbb279ddf04b69768a6ac
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:31:27 2010 +0200

    Adjust docs for renaming and for parallel-tests.
    
    * README: Update example TESTS setting.
    * README.alpha: Likewise.
    * NEWS: Update.
    * doc/libtool.texi (Test descriptions): Update for test renaming,
    adjust descriptions accordingly.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 939f3864c572e19a0b0f57c61c387b986010d9df
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:30:25 2010 +0200

    Update VERBOSE handling for parallel-tests driver.
    
    * tests/defs.m4sh: Default to verbose output, drop now-unneeded
    handling of 'VERBOSE=no'.
    * README: Update example usage.
    * README.alpha: Likewise.
    * doc/libtool.texi (Test descriptions, When tests fail): Remove
    unneeded VERBOSE recommendations.  Point to per-test log files
    and test-suite.log summary file.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 4c099630e2a46d13fea8533225a77673b643ce67
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:29:41 2010 +0200

    Enable parallel-tests test driver for the old testsuite.
    
    * configure.ac: New configure test to find out whether `make'
    supports order-only prerequisites; set @ORDER@ accordingly.
    (AM_INIT_AUTOMAKE): Enable parallel-tests option.
    * tests/defs.m4sh (prefix): Derive install prefix for tests
    from the test name, to avoid clashes.
    * Makefile.am (CXX_TESTS, F77_TESTS, FC_TESTS, COMMON_TESTS):
    Reformat.  Adjust for renamed tests.  Add dependencies between
    the respective log files of the tests, to ensure proper ordering.
    Use order-only dependencies if possible, between test groups that
    use the same directory.
    (clean-local-legacy): Remove `_inst-*' directories as well.
    Prompted by suggestion from Bob Friesenhahn.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit dcca98eb81bd99b1f659875428fac70918199447
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:28:30 2010 +0200

    New alias scripts for old tests run more than once.
    
    * tests/cdemo-shared-exec.test, tests/cdemo-shared-make.test,
    tests/cdemo-static-exec.test, tests/cdemo-static-make.test,
    tests/cdemo-undef-exec.test, tests/cdemo-undef-make.test,
    tests/demo-nofast-exec.test, tests/demo-nofast-inst.test,
    tests/demo-nofast-make.test, tests/demo-nofast-unst.test,
    tests/demo-nopic-exec.test, tests/demo-nopic-make.test,
    tests/demo-pic-exec.test, tests/demo-pic-make.test,
    tests/demo-shared-exec.test, tests/demo-shared-inst.test,
    tests/demo-shared-make.test, tests/demo-shared-unst.test,
    tests/demo-static-exec.test, tests/demo-static-inst.test,
    tests/demo-static-make.test, tests/demo-static-unst.test,
    tests/depdemo-nofast-exec.test, tests/depdemo-nofast-inst.test,
    tests/depdemo-nofast-make.test, tests/depdemo-nofast-unst.test,
    tests/depdemo-shared-exec.test, tests/depdemo-shared-inst.test,
    tests/depdemo-shared-make.test, tests/depdemo-shared-unst.test,
    tests/depdemo-static-exec.test, tests/depdemo-static-inst.test,
    tests/depdemo-static-make.test, tests/depdemo-static-unst.test,
    tests/f77demo-shared-exec.test, tests/f77demo-shared-make.test,
    tests/f77demo-static-exec.test, tests/f77demo-static-make.test,
    tests/fcdemo-shared-exec.test, tests/fcdemo-shared-make.test,
    tests/fcdemo-static-exec.test, tests/fcdemo-static-make.test,
    tests/mdemo-shared-exec.test, tests/mdemo-shared-inst.test,
    tests/mdemo-shared-make.test, tests/mdemo-shared-unst.test,
    tests/mdemo-static-exec.test, tests/mdemo-static-inst.test,
    tests/mdemo-static-make.test, tests/mdemo-static-unst.test,
    tests/tagdemo-shared-exec.test, tests/tagdemo-shared-make.test,
    tests/tagdemo-static-exec.test, tests/tagdemo-static-make.test,
    tests/tagdemo-undef-exec.test, tests/tagdemo-undef-make.test:
    New files.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit afdb46486a089d47d3b49f9d350097a97a51891e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 06:26:50 2010 +0200

    Require Automake 1.11.1 for Libtool, enable color-tests.
    
    * configure.ac (AM_INIT_AUTOMAKE): Require 1.11.1.  Enable
    color-tests.
    (LTDL_SUBDIR_LIBOBJS): Remove now-obsolete conditional and
    feature test for Autoconf 2.59 and Automake 1.9.x workaround.
    * Makefile.am: Simplify accordingly.
    * bootstrap: Remove obsolete WORKING_LIBOBJ_SUPPORT workarounds
    for Autoconf 2.59 and Automake 1.9.6.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 22 11:18:17 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OnCJM-00069S-U2
	for mharc-libtool-commit@gnu.org; Sun, 22 Aug 2010 11:18:16 -0400
Received: from [140.186.70.92] (port=35716 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OnCJL-00068m-F7
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 11:18:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnCJK-00074e-0H
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 11:18:15 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:34362
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnCJJ-00074a-Uo
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 11:18:13 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnCJJ-00076c-TS
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 15:18:13 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnCJJ-0006Q0-PN
	for libtool-commit@gnu.org; Sun, 22 Aug 2010 15:18:13 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 10c6cb25e5f8e5212e1c770568017184a7575122
X-Git-Newrev: 3160ead1712bbe567d30defd2a65cfe03f34406d
Message-Id: <E1OnCJJ-0006Q0-PN@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 22 Aug 2010 15:18:13 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-91-g3160ead
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 15:18:16 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  3160ead1712bbe567d30defd2a65cfe03f34406d (commit)
      from  10c6cb25e5f8e5212e1c770568017184a7575122 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3160ead1712bbe567d30defd2a65cfe03f34406d
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 21 06:56:37 2010 +0200

    Fix getopt tests to skip with Autoconf < 2.61.
    
    * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
    if 'autom4te --language=m4sh' exits 63 because version 2.61 is
    required.  Allows the testsuite to complete successfully with
    Autoconf 2.59 and Automake 1.9.6.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    6 ++++++
 tests/getopt-m4sh.at |    9 +++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6b8767f..843f942 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix getopt tests to skip with Autoconf < 2.61.
+	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
+	if 'autom4te --language=m4sh' exits 63 because version 2.61 is
+	required.  Allows the testsuite to complete successfully with
+	Autoconf 2.59 and Automake 1.9.6.
+
 	Tidy and fix clean and distclean rules for old testsuite.
 	* Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead
 	of hard-coding the list of test directories.  Use
diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index 3e58db1..d2df827 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -48,12 +48,9 @@ M4SH_GETOPTS(
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])
-
-$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh \
-    | $SED \
-	-e "s,@LN_S\@,$LN_S,g" \
-	-e "s,@SED\@,$SED,g" \
-    > options
+AT_CHECK([$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh > t-options],
+	 [], [], [], [AT_CHECK([test $at_status -eq 63 && exit 77])])
+$SED "s,@LN_S\@,$LN_S,g;s,@SED\@,$SED,g" t-options > options
 ])# _LT_AT_GETOPT_M4SH_SETUP
 
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 23 00:33:58 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OnOjO-0004s7-G5
	for mharc-libtool-commit@gnu.org; Mon, 23 Aug 2010 00:33:58 -0400
Received: from [140.186.70.92] (port=60276 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OnOjL-0004ru-6K
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 00:33:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnOjH-00041z-LH
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 00:33:52 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46201
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnOjH-00041t-Ic
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 00:33:51 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnOjH-0008D0-5U
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 04:33:51 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnOjH-0004ZR-1T
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 04:33:51 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3160ead1712bbe567d30defd2a65cfe03f34406d
X-Git-Newrev: 92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3
Message-Id: <E1OnOjH-0004ZR-1T@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 23 Aug 2010 04:33:51 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-92-g92d24b3
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2010 04:33:56 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3 (commit)
      from  3160ead1712bbe567d30defd2a65cfe03f34406d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 22 20:33:49 2010 +0200

    configure: use Autobuild AB_INIT if available.
    
    * configure.ac: Call AB_INIT if it is defined, with
    $autobuild_mode as argument, to be set at configure time.
    Set AB_VERSION to the Libtool version string.
    * HACKING: Update.
    * libltdl/m4/.gitignore: Ignore autobuild.m4.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    6 ++++++
 HACKING               |    8 +++++---
 configure.ac          |   13 +++++++++++++
 libltdl/m4/.gitignore |    1 +
 4 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 843f942..4994023 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	configure: use Autobuild AB_INIT if available.
+	* configure.ac: Call AB_INIT if it is defined, with
+	$autobuild_mode as argument, to be set at configure time.
+	Set AB_VERSION to the Libtool version string.
+	* HACKING: Update.
+
 	Fix getopt tests to skip with Autoconf < 2.61.
 	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
 	if 'autom4te --language=m4sh' exits 63 because version 2.61 is
diff --git a/HACKING b/HACKING
index 7ea1818..19b4b66 100644
--- a/HACKING
+++ b/HACKING
@@ -601,7 +601,9 @@ or obtained by writing to the Free Software Foundation, Inc.,
   (esp. bug-libtool) for outstanding bug reports also in the list of
   pending moderation requests.
 
-* Make sure you have wget and lzma installed.
+* Make sure you have wget, lzma, and autobuild installed.  aclocal should be
+  able to find autobuild.m4; or you can install it into the tree with
+         aclocal -I libltdl/m4 --install
 
 * Make sure your locale is sane, e.g. by exporting LC_ALL=C.
 
@@ -717,8 +719,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
   which will automatically propogate to http://planet.gnu.org.
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
-  Inc.
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Free Software
+  Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
   This file is part of GNU Libtool.
diff --git a/configure.ac b/configure.ac
index 35c79f1..9690a05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,6 +127,19 @@ dnl These are bootstrap requirements! Once built, libtool may work with
 dnl much older releases of autoconf and automake.  See release notes.
 AM_INIT_AUTOMAKE([1.10.1 gnu subdir-objects dist-lzma])
 
+
+## ------------------------- ##
+## Autobuild initialisation. ##
+## ------------------------- ##
+
+# You can set autobuild_mode at configure time to specify a "unique"
+# string for this build.
+: ${autobuild_mode=default}
+AB_VERSION="AC_PACKAGE_VERSION ($TIMESTAMP)"
+m4_ifdef([AB_INIT],
+	 [AB_INIT([$autobuild_mode])])
+
+
 dnl We use m4sh to generate libtool's portable shell scripts
 AC_SUBST([M4SH], ['$(AUTOM4TE) --language=m4sh'])
 
diff --git a/libltdl/m4/.gitignore b/libltdl/m4/.gitignore
index 0b52c5c..81a1059 100644
--- a/libltdl/m4/.gitignore
+++ b/libltdl/m4/.gitignore
@@ -1 +1,2 @@
 ltversion.m4
+autobuild.m4


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 23 02:01:36 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OnQ6B-0004Dx-S6
	for mharc-libtool-commit@gnu.org; Mon, 23 Aug 2010 02:01:35 -0400
Received: from [140.186.70.92] (port=51628 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OnQ62-0002Xh-QP
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 02:01:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnPyW-0002tk-BQ
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 01:53:41 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:57854
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnPyW-0002tg-A5
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 01:53:40 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnPyV-0000fx-UL
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 05:53:39 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OnPyV-0000ks-Q0
	for libtool-commit@gnu.org; Mon, 23 Aug 2010 05:53:39 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3
X-Git-Newrev: f8640925f846162590d494e36406e1e04a4f48e8
Message-Id: <E1OnPyV-0000ks-Q0@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 23 Aug 2010 05:53:39 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-93-gf864092
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2010 06:01:34 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  f8640925f846162590d494e36406e1e04a4f48e8 (commit)
      from  92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f8640925f846162590d494e36406e1e04a4f48e8
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Mon Aug 23 01:18:18 2010 -0400

    Fix syntax for cygwin-cross
    
    libltdl/m4/argz.m4: Add quotes around variable, which
    may contain the multiword value 'guessing no'.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    6 ++++++
 libltdl/m4/argz.m4 |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4994023..4f11204 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-23  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Fix syntax for cygwin-cross
+	libltdl/m4/argz.m4: Add quotes around variable, which
+	may contain the multiword value 'guessing no'.
+
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	configure: use Autobuild AB_INIT if available.
diff --git a/libltdl/m4/argz.m4 b/libltdl/m4/argz.m4
index 37c1b11..d1f4ec5 100644
--- a/libltdl/m4/argz.m4
+++ b/libltdl/m4/argz.m4
@@ -66,7 +66,7 @@ AS_IF([test -z "$ARGZ_H"],
 	   ;; #(
 	 *) lt_cv_sys_argz_works=yes ;;
 	 esac]])
-     AS_IF([test $lt_cv_sys_argz_works = yes],
+     AS_IF([test "$lt_cv_sys_argz_works" = yes],
         [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
                    [This value is set to 1 to indicate that the system argz facility works])],
         [ARGZ_H=argz.h


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Aug 27 01:36:41 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OorcG-0008S4-RQ
	for mharc-libtool-commit@gnu.org; Fri, 27 Aug 2010 01:36:41 -0400
Received: from [140.186.70.92] (port=32919 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oorc6-0008Rp-HC
	for libtool-commit@gnu.org; Fri, 27 Aug 2010 01:36:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oorby-0001xG-JP
	for libtool-commit@gnu.org; Fri, 27 Aug 2010 01:36:30 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49836
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oorby-0001xC-Ff
	for libtool-commit@gnu.org; Fri, 27 Aug 2010 01:36:22 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oorby-0003Y2-1E
	for libtool-commit@gnu.org; Fri, 27 Aug 2010 05:36:22 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oorbw-0005ug-NJ
	for libtool-commit@gnu.org; Fri, 27 Aug 2010 05:36:22 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f8640925f846162590d494e36406e1e04a4f48e8
X-Git-Newrev: d1b98fd5399457b8d83daedb3eb4174d42480240
Message-Id: <E1Oorbw-0005ug-NJ@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 27 Aug 2010 05:36:20 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-100-gd1b98fd
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Aug 2010 05:36:39 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  d1b98fd5399457b8d83daedb3eb4174d42480240 (commit)
       via  b92d7e795871f8d22a13107b92427ae02bf32146 (commit)
       via  36bdc6089b33bcd7262bbb279ddf04b69768a6ac (commit)
       via  939f3864c572e19a0b0f57c61c387b986010d9df (commit)
       via  4c099630e2a46d13fea8533225a77673b643ce67 (commit)
       via  dcca98eb81bd99b1f659875428fac70918199447 (commit)
       via  afdb46486a089d47d3b49f9d350097a97a51891e (commit)
      from  f8640925f846162590d494e36406e1e04a4f48e8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1b98fd5399457b8d83daedb3eb4174d42480240
Merge: f864092 b92d7e7
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 27 07:31:49 2010 +0200

    Merge branch 'parallel-tests'
    
    * parallel-tests:
      check-interactive and check-noninteractive for both testsuites.
      Adjust docs for renaming and for parallel-tests.
      Update VERBOSE handling for parallel-tests driver.
      Enable parallel-tests test driver for the old testsuite.
      New alias scripts for old tests run more than once.
      Require Automake 1.11.1 for Libtool, enable color-tests.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |   84 ++++++++++
 Makefile.am                    |  337 +++++++++++++++++++++++++++++++---------
 NEWS                           |   15 ++
 README                         |   18 +--
 README.alpha                   |   18 +--
 bootstrap                      |   14 --
 configure.ac                   |   38 ++++-
 doc/libtool.texi               |  204 ++++++++++++++++++-------
 tests/cdemo-shared-exec.test   |    3 +
 tests/cdemo-shared-make.test   |    3 +
 tests/cdemo-static-exec.test   |    3 +
 tests/cdemo-static-make.test   |    3 +
 tests/cdemo-undef-exec.test    |    3 +
 tests/cdemo-undef-make.test    |    3 +
 tests/defs.m4sh                |   11 +-
 tests/demo-nofast-exec.test    |    3 +
 tests/demo-nofast-inst.test    |    3 +
 tests/demo-nofast-make.test    |    3 +
 tests/demo-nofast-unst.test    |    3 +
 tests/demo-nopic-exec.test     |    3 +
 tests/demo-nopic-make.test     |    3 +
 tests/demo-pic-exec.test       |    3 +
 tests/demo-pic-make.test       |    3 +
 tests/demo-shared-exec.test    |    3 +
 tests/demo-shared-inst.test    |    3 +
 tests/demo-shared-make.test    |    3 +
 tests/demo-shared-unst.test    |    3 +
 tests/demo-static-exec.test    |    3 +
 tests/demo-static-inst.test    |    3 +
 tests/demo-static-make.test    |    3 +
 tests/demo-static-unst.test    |    3 +
 tests/depdemo-nofast-exec.test |    3 +
 tests/depdemo-nofast-inst.test |    3 +
 tests/depdemo-nofast-make.test |    3 +
 tests/depdemo-nofast-unst.test |    3 +
 tests/depdemo-shared-exec.test |    3 +
 tests/depdemo-shared-inst.test |    3 +
 tests/depdemo-shared-make.test |    3 +
 tests/depdemo-shared-unst.test |    3 +
 tests/depdemo-static-exec.test |    3 +
 tests/depdemo-static-inst.test |    3 +
 tests/depdemo-static-make.test |    3 +
 tests/depdemo-static-unst.test |    3 +
 tests/f77demo-shared-exec.test |    3 +
 tests/f77demo-shared-make.test |    3 +
 tests/f77demo-static-exec.test |    3 +
 tests/f77demo-static-make.test |    3 +
 tests/fcdemo-shared-exec.test  |    3 +
 tests/fcdemo-shared-make.test  |    3 +
 tests/fcdemo-static-exec.test  |    3 +
 tests/fcdemo-static-make.test  |    3 +
 tests/mdemo-shared-exec.test   |    3 +
 tests/mdemo-shared-inst.test   |    3 +
 tests/mdemo-shared-make.test   |    3 +
 tests/mdemo-shared-unst.test   |    3 +
 tests/mdemo-static-exec.test   |    3 +
 tests/mdemo-static-inst.test   |    3 +
 tests/mdemo-static-make.test   |    3 +
 tests/mdemo-static-unst.test   |    3 +
 tests/tagdemo-shared-exec.test |    3 +
 tests/tagdemo-shared-make.test |    3 +
 tests/tagdemo-static-exec.test |    3 +
 tests/tagdemo-static-make.test |    3 +
 tests/tagdemo-undef-exec.test  |    3 +
 tests/tagdemo-undef-make.test  |    3 +
 65 files changed, 729 insertions(+), 178 deletions(-)
 create mode 100755 tests/cdemo-shared-exec.test
 create mode 100755 tests/cdemo-shared-make.test
 create mode 100755 tests/cdemo-static-exec.test
 create mode 100755 tests/cdemo-static-make.test
 create mode 100755 tests/cdemo-undef-exec.test
 create mode 100755 tests/cdemo-undef-make.test
 create mode 100755 tests/demo-nofast-exec.test
 create mode 100755 tests/demo-nofast-inst.test
 create mode 100755 tests/demo-nofast-make.test
 create mode 100755 tests/demo-nofast-unst.test
 create mode 100755 tests/demo-nopic-exec.test
 create mode 100755 tests/demo-nopic-make.test
 create mode 100755 tests/demo-pic-exec.test
 create mode 100755 tests/demo-pic-make.test
 create mode 100755 tests/demo-shared-exec.test
 create mode 100755 tests/demo-shared-inst.test
 create mode 100755 tests/demo-shared-make.test
 create mode 100755 tests/demo-shared-unst.test
 create mode 100755 tests/demo-static-exec.test
 create mode 100755 tests/demo-static-inst.test
 create mode 100755 tests/demo-static-make.test
 create mode 100755 tests/demo-static-unst.test
 create mode 100755 tests/depdemo-nofast-exec.test
 create mode 100755 tests/depdemo-nofast-inst.test
 create mode 100755 tests/depdemo-nofast-make.test
 create mode 100755 tests/depdemo-nofast-unst.test
 create mode 100755 tests/depdemo-shared-exec.test
 create mode 100755 tests/depdemo-shared-inst.test
 create mode 100755 tests/depdemo-shared-make.test
 create mode 100755 tests/depdemo-shared-unst.test
 create mode 100755 tests/depdemo-static-exec.test
 create mode 100755 tests/depdemo-static-inst.test
 create mode 100755 tests/depdemo-static-make.test
 create mode 100755 tests/depdemo-static-unst.test
 create mode 100755 tests/f77demo-shared-exec.test
 create mode 100755 tests/f77demo-shared-make.test
 create mode 100755 tests/f77demo-static-exec.test
 create mode 100755 tests/f77demo-static-make.test
 create mode 100755 tests/fcdemo-shared-exec.test
 create mode 100755 tests/fcdemo-shared-make.test
 create mode 100755 tests/fcdemo-static-exec.test
 create mode 100755 tests/fcdemo-static-make.test
 create mode 100755 tests/mdemo-shared-exec.test
 create mode 100755 tests/mdemo-shared-inst.test
 create mode 100755 tests/mdemo-shared-make.test
 create mode 100755 tests/mdemo-shared-unst.test
 create mode 100755 tests/mdemo-static-exec.test
 create mode 100755 tests/mdemo-static-inst.test
 create mode 100755 tests/mdemo-static-make.test
 create mode 100755 tests/mdemo-static-unst.test
 create mode 100755 tests/tagdemo-shared-exec.test
 create mode 100755 tests/tagdemo-shared-make.test
 create mode 100755 tests/tagdemo-static-exec.test
 create mode 100755 tests/tagdemo-static-make.test
 create mode 100755 tests/tagdemo-undef-exec.test
 create mode 100755 tests/tagdemo-undef-make.test

diff --git a/ChangeLog b/ChangeLog
index 4f11204..99bc5aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,87 @@
+2010-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	check-interactive and check-noninteractive for both testsuites.
+	* Makefile.am (COMMON_TESTS, TESTS): Split into ...
+	(NONINTERACTIVE_TESTS, INTERACTIVE_TESTS): ... these new
+	variables.
+	(check-interactive-new): Rename from check-interactive.
+	(check-noninteractive-new): Rename from check-noninteractive.
+	(check-interactive-old, check-noninteractive-old): New targets.
+	(check-interactive, check-noninteractive): Depend on the
+	respective targets for the old and the new test suites.
+	* doc/libtool.texi (Test descriptions): Simplify description
+	about check-interactive and check-noninteractive.  Add index
+	entries.
+
+	Adjust docs for renaming and for parallel-tests.
+	* README: Update example TESTS setting.
+	* README.alpha: Likewise.
+	* doc/libtool.texi (Test descriptions): Update for test renaming,
+	adjust descriptions accordingly.
+
+	Update VERBOSE handling for parallel-tests driver.
+	* tests/defs.m4sh: Default to verbose output, drop now-unneeded
+	handling of 'VERBOSE=no'.
+	* README: Update example usage.
+	* README.alpha: Likewise.
+	* doc/libtool.texi (Test descriptions, When tests fail): Remove
+	unneeded VERBOSE recommendations.  Point to per-test log files
+	and test-suite.log summary file.
+
+	Enable parallel-tests test driver for the old testsuite.
+	* configure.ac: New configure test to find out whether `make'
+	supports order-only prerequisites; set @ORDER@ accordingly.
+	(AM_INIT_AUTOMAKE): Enable parallel-tests option.
+	* tests/defs.m4sh (prefix): Derive install prefix for tests
+	from the test name, to avoid clashes.
+	* Makefile.am (CXX_TESTS, F77_TESTS, FC_TESTS, COMMON_TESTS):
+	Reformat.  Adjust for renamed tests.  Add dependencies between
+	the respective log files of the tests, to ensure proper ordering.
+	Use order-only dependencies if possible, between test groups that
+	use the same directory.
+	(clean-local-legacy): Remove `_inst-*' directories as well.
+	Prompted by suggestion from Bob Friesenhahn.
+
+	New alias scripts for old tests run more than once.
+	* tests/cdemo-shared-exec.test, tests/cdemo-shared-make.test,
+	tests/cdemo-static-exec.test, tests/cdemo-static-make.test,
+	tests/cdemo-undef-exec.test, tests/cdemo-undef-make.test,
+	tests/demo-nofast-exec.test, tests/demo-nofast-inst.test,
+	tests/demo-nofast-make.test, tests/demo-nofast-unst.test,
+	tests/demo-nopic-exec.test, tests/demo-nopic-make.test,
+	tests/demo-pic-exec.test, tests/demo-pic-make.test,
+	tests/demo-shared-exec.test, tests/demo-shared-inst.test,
+	tests/demo-shared-make.test, tests/demo-shared-unst.test,
+	tests/demo-static-exec.test, tests/demo-static-inst.test,
+	tests/demo-static-make.test, tests/demo-static-unst.test,
+	tests/depdemo-nofast-exec.test, tests/depdemo-nofast-inst.test,
+	tests/depdemo-nofast-make.test, tests/depdemo-nofast-unst.test,
+	tests/depdemo-shared-exec.test, tests/depdemo-shared-inst.test,
+	tests/depdemo-shared-make.test, tests/depdemo-shared-unst.test,
+	tests/depdemo-static-exec.test, tests/depdemo-static-inst.test,
+	tests/depdemo-static-make.test, tests/depdemo-static-unst.test,
+	tests/f77demo-shared-exec.test, tests/f77demo-shared-make.test,
+	tests/f77demo-static-exec.test, tests/f77demo-static-make.test,
+	tests/fcdemo-shared-exec.test, tests/fcdemo-shared-make.test,
+	tests/fcdemo-static-exec.test, tests/fcdemo-static-make.test,
+	tests/mdemo-shared-exec.test, tests/mdemo-shared-inst.test,
+	tests/mdemo-shared-make.test, tests/mdemo-shared-unst.test,
+	tests/mdemo-static-exec.test, tests/mdemo-static-inst.test,
+	tests/mdemo-static-make.test, tests/mdemo-static-unst.test,
+	tests/tagdemo-shared-exec.test, tests/tagdemo-shared-make.test,
+	tests/tagdemo-static-exec.test, tests/tagdemo-static-make.test,
+	tests/tagdemo-undef-exec.test, tests/tagdemo-undef-make.test:
+	New files.
+
+	Require Automake 1.11.1 for Libtool, enable color-tests.
+	* configure.ac (AM_INIT_AUTOMAKE): Require 1.11.1.  Enable
+	color-tests.
+	(LTDL_SUBDIR_LIBOBJS): Remove now-obsolete conditional and
+	feature test for Autoconf 2.59 and Automake 1.9.x workaround.
+	* Makefile.am: Simplify accordingly.
+	* bootstrap: Remove obsolete WORKING_LIBOBJ_SUPPORT workarounds
+	for Autoconf 2.59 and Automake 1.9.6.
+
 2010-08-23  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Fix syntax for cygwin-cross
diff --git a/Makefile.am b/Makefile.am
index 2c4a3db..85bad6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -307,15 +307,6 @@ $(srcdir)/libltdl/config-h.in: $(sub_configure_deps)
 
 include libltdl/Makefile.inc
 
-if ! LTDL_SUBDIR_LIBOBJS
-## workaround for Autoconf 2.59, Automake 1.9.6:
-## we include these files twice, because of missing LIBOBJDIR support.
-EXTRA_DIST += \
-	argz.c libltdl/argz.c \
-	lt__dirent.c libltdl/lt__dirent.c \
-	lt__strl.c libltdl/lt__strl.c
-endif
-
 
 ## -------------- ##
 ## Documentation. ##
@@ -584,8 +575,13 @@ installcheck-local: $(testsuite_deps)
 	  $(TESTS_ENVIRONMENT) $(INSTALLCHECK_ENVIRONMENT) $(TESTSUITEFLAGS) \
 	  AUTOTEST_PATH="$(exec_prefix)/bin"
 
+check-noninteractive-old:
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS TESTS='$(NONINTERACTIVE_TESTS)'
+check-interactive-old:
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS TESTS='$(INTERACTIVE_TESTS)'
+
 # Run only noninteractive parts of the new testsuite.
-check-noninteractive: $(testsuite_deps_uninstalled)
+check-noninteractive-new: $(testsuite_deps_uninstalled)
 	$(CD_TESTDIR); \
 	CONFIG_SHELL="$(SHELL)" $(SHELL) $$abs_srcdir/$(TESTSUITE) \
 	  $(TESTS_ENVIRONMENT) $(BUILDCHECK_ENVIRONMENT) \
@@ -593,13 +589,16 @@ check-noninteractive: $(testsuite_deps_uninstalled)
 	  $(TESTSUITEFLAGS)
 
 # Run only interactive parts of the new testsuite.
-check-interactive: $(testsuite_deps_uninstalled)
+check-interactive-new: $(testsuite_deps_uninstalled)
 	$(CD_TESTDIR); \
 	CONFIG_SHELL="$(SHELL)" $(SHELL) $$abs_srcdir/$(TESTSUITE) \
 	  $(TESTS_ENVIRONMENT) $(BUILDCHECK_ENVIRONMENT) \
 	  -k interactive -k recursive INNER_TESTSUITEFLAGS=",interactive" \
 	  $(TESTSUITEFLAGS)
 
+check-interactive: check-interactive-old check-interactive-new
+check-noninteractive: check-noninteractive-old check-noninteractive-new
+
 # We need to remove any file droppings left behind by testsuite
 clean-local: clean-local-legacy
 	-$(CD_TESTDIR); \
@@ -617,81 +616,277 @@ clean-local: clean-local-legacy
 #           complete this section should be removed.
 
 CXX_TESTS = \
-	tests/tagdemo-static.test tests/tagdemo-make.test \
-	tests/tagdemo-exec.test tests/tagdemo-conf.test \
-	tests/tagdemo-make.test tests/tagdemo-exec.test \
-	tests/tagdemo-shared.test tests/tagdemo-make.test \
-	tests/tagdemo-exec.test tests/tagdemo-undef.test \
-	tests/tagdemo-make.test tests/tagdemo-exec.test
+	tests/tagdemo-static.test \
+	tests/tagdemo-static-make.test \
+	tests/tagdemo-static-exec.test \
+	tests/tagdemo-conf.test \
+	tests/tagdemo-make.test \
+	tests/tagdemo-exec.test \
+	tests/tagdemo-shared.test \
+	tests/tagdemo-shared-make.test \
+	tests/tagdemo-shared-exec.test \
+	tests/tagdemo-undef.test \
+	tests/tagdemo-undef-make.test \
+	tests/tagdemo-undef-exec.test
+
+tests/tagdemo-undef-exec.log:	tests/tagdemo-undef-make.log
+tests/tagdemo-undef-make.log:	tests/tagdemo-undef.log
+tests/tagdemo-undef.log:	tests/tagdemo-shared-exec.log
+tests/tagdemo-shared-exec.log:	tests/tagdemo-shared-make.log
+tests/tagdemo-shared-make.log:	tests/tagdemo-shared.log
+tests/tagdemo-shared.log:	tests/tagdemo-exec.log
+tests/tagdemo-exec.log:		tests/tagdemo-make.log
+tests/tagdemo-make.log:		tests/tagdemo-conf.log
+tests/tagdemo-conf.log:		tests/tagdemo-static-exec.log
+tests/tagdemo-static-exec.log:	tests/tagdemo-static-make.log
+tests/tagdemo-static-make.log:	tests/tagdemo-static.log
 
 F77_TESTS = \
-	tests/f77demo-static.test tests/f77demo-make.test \
-	tests/f77demo-exec.test tests/f77demo-conf.test \
-	tests/f77demo-make.test tests/f77demo-exec.test \
-	tests/f77demo-shared.test tests/f77demo-make.test \
-	tests/f77demo-exec.test
+	tests/f77demo-static.test \
+	tests/f77demo-static-make.test \
+	tests/f77demo-static-exec.test \
+	tests/f77demo-conf.test \
+	tests/f77demo-make.test \
+	tests/f77demo-exec.test \
+	tests/f77demo-shared.test \
+	tests/f77demo-shared-make.test \
+	tests/f77demo-shared-exec.test
+
+tests/f77demo-shared-exec.log:	tests/f77demo-shared-make.log
+tests/f77demo-shared-make.log:	tests/f77demo-shared.log
+tests/f77demo-shared.log:	tests/f77demo-exec.log
+tests/f77demo-exec.log:		tests/f77demo-make.log
+tests/f77demo-make.log:		tests/f77demo-conf.log
+tests/f77demo-conf.log:		tests/f77demo-static-exec.log
+tests/f77demo-static-exec.log:	tests/f77demo-static-make.log
+tests/f77demo-static-make.log:	tests/f77demo-static.log
 
 FC_TESTS = \
-	tests/fcdemo-static.test tests/fcdemo-make.test \
-	tests/fcdemo-exec.test tests/fcdemo-conf.test \
-	tests/fcdemo-make.test tests/fcdemo-exec.test \
-	tests/fcdemo-shared.test tests/fcdemo-make.test \
-	tests/fcdemo-exec.test
+	tests/fcdemo-static.test \
+	tests/fcdemo-static-make.test \
+	tests/fcdemo-static-exec.test \
+	tests/fcdemo-conf.test \
+	tests/fcdemo-make.test \
+	tests/fcdemo-exec.test \
+	tests/fcdemo-shared.test \
+	tests/fcdemo-shared-make.test \
+	tests/fcdemo-shared-exec.test
+
+tests/fcdemo-shared-exec.log:	tests/fcdemo-shared-make.log
+tests/fcdemo-shared-make.log:	tests/fcdemo-shared.log
+tests/fcdemo-shared.log:	tests/fcdemo-exec.log
+tests/fcdemo-exec.log:		tests/fcdemo-make.log
+tests/fcdemo-make.log:		tests/fcdemo-conf.log
+tests/fcdemo-conf.log:		tests/fcdemo-static-exec.log
+tests/fcdemo-static-exec.log:	tests/fcdemo-static-make.log
+tests/fcdemo-static-make.log:	tests/fcdemo-static.log
 
 COMMON_TESTS = \
-	tests/link.test tests/link-2.test tests/nomode.test \
-	tests/objectlist.test tests/quote.test tests/sh.test \
-	tests/suffix.test tests/tagtrace.test \
-	tests/cdemo-static.test tests/cdemo-make.test tests/cdemo-exec.test \
-	tests/demo-static.test tests/demo-make.test tests/demo-exec.test \
-	tests/demo-inst.test tests/demo-unst.test \
-	tests/depdemo-static.test tests/depdemo-make.test \
-	tests/depdemo-exec.test tests/depdemo-inst.test \
-	tests/depdemo-unst.test \
-	tests/mdemo-static.test tests/mdemo-make.test tests/mdemo-exec.test \
-	tests/mdemo-inst.test tests/mdemo-unst.test \
-	tests/cdemo-conf.test tests/cdemo-make.test tests/cdemo-exec.test \
-	tests/demo-conf.test tests/demo-make.test tests/demo-exec.test \
-	tests/demo-inst.test tests/demo-unst.test tests/demo-deplibs.test \
-	tests/depdemo-conf.test tests/depdemo-make.test \
-	tests/depdemo-exec.test tests/depdemo-inst.test \
+	tests/link.test \
+	tests/link-2.test \
+	tests/nomode.test \
+	tests/objectlist.test \
+	tests/quote.test \
+	tests/sh.test \
+	tests/suffix.test \
+	tests/tagtrace.test \
+	tests/cdemo-static.test \
+	tests/cdemo-static-make.test \
+	tests/cdemo-static-exec.test \
+	tests/demo-static.test \
+	tests/demo-static-make.test \
+	tests/demo-static-exec.test \
+	tests/demo-static-inst.test \
+	tests/demo-static-unst.test \
+	tests/depdemo-static.test \
+	tests/depdemo-static-make.test \
+	tests/depdemo-static-exec.test \
+	tests/depdemo-static-inst.test \
+	tests/depdemo-static-unst.test \
+	tests/mdemo-static.test \
+	tests/mdemo-static-make.test \
+	tests/mdemo-static-exec.test \
+	tests/mdemo-static-inst.test \
+	tests/mdemo-static-unst.test \
+	tests/cdemo-conf.test \
+	tests/cdemo-make.test \
+	tests/cdemo-exec.test \
+	tests/demo-conf.test \
+	tests/demo-make.test \
+	tests/demo-exec.test \
+	tests/demo-inst.test \
+	tests/demo-unst.test \
+	tests/demo-deplibs.test \
+	tests/depdemo-conf.test \
+	tests/depdemo-make.test \
+	tests/depdemo-exec.test \
+	tests/depdemo-inst.test \
 	tests/depdemo-unst.test \
-	tests/mdemo-conf.test tests/mdemo-make.test tests/mdemo-exec.test \
-	tests/mdemo-inst.test tests/mdemo-unst.test tests/mdemo-dryrun.test \
-	tests/mdemo2-conf.test tests/mdemo2-make.test tests/mdemo2-exec.test \
-	tests/pdemo-conf.test tests/pdemo-make.test tests/pdemo-exec.test \
+	tests/mdemo-conf.test \
+	tests/mdemo-make.test \
+	tests/mdemo-exec.test \
+	tests/mdemo-inst.test \
+	tests/mdemo-unst.test \
+	tests/mdemo-dryrun.test \
+	tests/mdemo2-conf.test \
+	tests/mdemo2-make.test \
+	tests/mdemo2-exec.test \
+	tests/pdemo-conf.test \
+	tests/pdemo-make.test \
+	tests/pdemo-exec.test \
 	tests/pdemo-inst.test \
-	tests/demo-nofast.test tests/demo-make.test tests/demo-exec.test \
-	tests/demo-inst.test tests/demo-unst.test \
-	tests/depdemo-nofast.test tests/depdemo-make.test \
-	tests/depdemo-exec.test tests/depdemo-inst.test \
-	tests/depdemo-unst.test \
-	tests/demo-pic.test tests/demo-make.test tests/demo-exec.test \
-	tests/demo-nopic.test tests/demo-make.test tests/demo-exec.test \
-	tests/cdemo-shared.test tests/cdemo-make.test tests/cdemo-exec.test \
-	tests/demo-shared.test tests/demo-make.test tests/demo-exec.test \
-	tests/demo-inst.test tests/demo-hardcode.test tests/demo-relink.test \
-	tests/demo-noinst-link.test tests/demo-unst.test \
-	tests/depdemo-shared.test tests/depdemo-make.test \
-	tests/depdemo-exec.test tests/depdemo-inst.test \
-	tests/depdemo-relink.test tests/depdemo-unst.test \
-	tests/mdemo-shared.test tests/mdemo-make.test tests/mdemo-exec.test \
-	tests/mdemo-inst.test tests/mdemo-unst.test \
-	tests/cdemo-undef.test tests/cdemo-make.test tests/cdemo-exec.test
-
-TESTS = $(COMMON_TESTS)
+	tests/demo-nofast.test \
+	tests/demo-nofast-make.test \
+	tests/demo-nofast-exec.test \
+	tests/demo-nofast-inst.test \
+	tests/demo-nofast-unst.test \
+	tests/depdemo-nofast.test \
+	tests/depdemo-nofast-make.test \
+	tests/depdemo-nofast-exec.test \
+	tests/depdemo-nofast-inst.test \
+	tests/depdemo-nofast-unst.test \
+	tests/demo-pic.test \
+	tests/demo-pic-make.test \
+	tests/demo-pic-exec.test \
+	tests/demo-nopic.test \
+	tests/demo-nopic-make.test \
+	tests/demo-nopic-exec.test \
+	tests/cdemo-shared.test \
+	tests/cdemo-shared-make.test \
+	tests/cdemo-shared-exec.test \
+	tests/mdemo-shared.test \
+	tests/mdemo-shared-make.test \
+	tests/mdemo-shared-exec.test \
+	tests/mdemo-shared-inst.test \
+	tests/mdemo-shared-unst.test \
+	tests/cdemo-undef.test \
+	tests/cdemo-undef-make.test \
+	tests/cdemo-undef-exec.test
+
+# Actually, only demo-relink and depdemo-relink require interaction,
+# but they depend on the other tests being run beforehand.
+INTERACTIVE_TESTS = \
+	tests/demo-shared.test \
+	tests/demo-shared-make.test \
+	tests/demo-shared-exec.test \
+	tests/demo-shared-inst.test \
+	tests/demo-hardcode.test \
+	tests/demo-relink.test \
+	tests/demo-noinst-link.test \
+	tests/demo-shared-unst.test \
+	tests/depdemo-shared.test \
+	tests/depdemo-shared-make.test \
+	tests/depdemo-shared-exec.test \
+	tests/depdemo-shared-inst.test \
+	tests/depdemo-relink.test \
+	tests/depdemo-shared-unst.test
+
+tests/cdemo-undef-exec.log:	tests/cdemo-undef-make.log
+tests/cdemo-undef-make.log:	tests/cdemo-undef.log
+tests/cdemo-undef.log: @ORDER@	tests/cdemo-shared-exec.log
+tests/cdemo-shared-exec.log:	tests/cdemo-shared-make.log
+tests/cdemo-shared-make.log:	tests/cdemo-shared.log
+tests/cdemo-shared.log: @ORDER@	tests/cdemo-exec.log
+tests/cdemo-exec.log:		tests/cdemo-make.log
+tests/cdemo-make.log:		tests/cdemo-conf.log
+tests/cdemo-conf.log: @ORDER@	tests/cdemo-static-exec.log
+tests/cdemo-static-exec.log:	tests/cdemo-static-make.log
+tests/cdemo-static-make.log:	tests/cdemo-static.log
+
+tests/demo-shared-unst.log:	tests/demo-noinst-link.log
+tests/demo-noinst-link.log:	tests/demo-relink.log
+tests/demo-relink.log:		tests/demo-hardcode.log
+tests/demo-hardcode.log:	tests/demo-shared-inst.log
+tests/demo-shared-inst.log:	tests/demo-shared-exec.log
+tests/demo-shared-exec.log:	tests/demo-shared-make.log
+tests/demo-shared-make.log:	tests/demo-shared.log
+tests/demo-shared.log: @ORDER@	tests/demo-nopic-exec.log
+tests/demo-nopic-exec.log:	tests/demo-nopic-make.log
+tests/demo-nopic-make.log:	tests/demo-nopic.log
+tests/demo-nopic.log: @ORDER@	tests/demo-pic-exec.log
+tests/demo-pic-exec.log:	tests/demo-pic-make.log
+tests/demo-pic-make.log:	tests/demo-pic.log
+tests/demo-pic.log: @ORDER@	tests/demo-nofast-unst.log
+tests/demo-nofast-unst.log:	tests/demo-nofast-inst.log
+tests/demo-nofast-inst.log:	tests/demo-nofast-exec.log
+tests/demo-nofast-exec.log:	tests/demo-nofast-make.log
+tests/demo-nofast-make.log:	tests/demo-nofast.log
+tests/demo-nofast.log: @ORDER@	tests/demo-deplibs.log
+tests/demo-deplibs.log:		tests/demo-unst.log
+tests/demo-unst.log:		tests/demo-inst.log
+tests/demo-inst.log:		tests/demo-exec.log
+tests/demo-exec.log:		tests/demo-make.log
+tests/demo-make.log:		tests/demo-conf.log
+tests/demo-conf.log: @ORDER@	tests/demo-static-unst.log
+tests/demo-static-unst.log:	tests/demo-static-inst.log
+tests/demo-static-inst.log:	tests/demo-static-exec.log
+tests/demo-static-exec.log:	tests/demo-static-make.log
+tests/demo-static-make.log:	tests/demo-static.log
+
+tests/depdemo-shared-unst.log:	tests/depdemo-relink.log
+tests/depdemo-relink.log:	tests/depdemo-shared-inst.log
+tests/depdemo-shared-inst.log:	tests/depdemo-shared-exec.log
+tests/depdemo-shared-exec.log:	tests/depdemo-shared-make.log
+tests/depdemo-shared-make.log:	tests/depdemo-shared.log
+tests/depdemo-shared.log: @ORDER@ tests/depdemo-nofast-unst.log
+tests/depdemo-nofast-unst.log:	tests/depdemo-nofast-inst.log
+tests/depdemo-nofast-inst.log:	tests/depdemo-nofast-exec.log
+tests/depdemo-nofast-exec.log:	tests/depdemo-nofast-make.log
+tests/depdemo-nofast-make.log:	tests/depdemo-nofast.log
+tests/depdemo-nofast.log: @ORDER@ tests/depdemo-unst.log
+tests/depdemo-unst.log:		tests/depdemo-inst.log
+tests/depdemo-inst.log:		tests/depdemo-exec.log
+tests/depdemo-exec.log:		tests/depdemo-make.log
+tests/depdemo-make.log:		tests/depdemo-conf.log
+tests/depdemo-conf.log: @ORDER@	tests/depdemo-static-unst.log
+tests/depdemo-static-unst.log:	tests/depdemo-static-inst.log
+tests/depdemo-static-inst.log:	tests/depdemo-static-exec.log
+tests/depdemo-static-exec.log:	tests/depdemo-static-make.log
+tests/depdemo-static-make.log:	tests/depdemo-static.log
+
+tests/mdemo-shared-unst.log:	tests/mdemo-shared-inst.log
+tests/mdemo-shared-inst.log:	tests/mdemo-shared-exec.log
+tests/mdemo-shared-exec.log:	tests/mdemo-shared-make.log
+tests/mdemo-shared-make.log:	tests/mdemo-shared.log
+tests/mdemo-shared.log: @ORDER@	tests/mdemo-dryrun.log \
+				tests/mdemo2-exec.log
+
+tests/mdemo-dryrun.log:		tests/mdemo-unst.log
+tests/mdemo-unst.log:		tests/mdemo-inst.log
+tests/mdemo-inst.log:		tests/mdemo-exec.log
+tests/mdemo-exec.log:		tests/mdemo-make.log
+tests/mdemo-make.log:		tests/mdemo-conf.log
+tests/mdemo-conf.log: @ORDER@	tests/mdemo-static-unst.log
+tests/mdemo-static-unst.log:	tests/mdemo-static-inst.log
+tests/mdemo-static-inst.log:	tests/mdemo-static-exec.log
+tests/mdemo-static-exec.log:	tests/mdemo-static-make.log
+tests/mdemo-static-make.log:	tests/mdemo-static.log
+
+tests/mdemo2-exec.log:		tests/mdemo2-make.log
+tests/mdemo2-make.log:		tests/mdemo2-conf.log \
+				tests/mdemo-dryrun.log
+
+tests/pdemo-inst.log:		tests/pdemo-exec.log
+tests/pdemo-exec.log:		tests/pdemo-make.log
+tests/pdemo-make.log:		tests/pdemo-conf.log
+
+
+NONINTERACTIVE_TESTS = $(COMMON_TESTS)
 if HAVE_CXX
-TESTS += $(CXX_TESTS)
+NONINTERACTIVE_TESTS += $(CXX_TESTS)
 endif
 if HAVE_F77
-TESTS += $(F77_TESTS)
+# f77demo-static-exec.test might be interactive on MSYS.
+INTERACTIVE_TESTS += $(F77_TESTS)
 endif
 if HAVE_FC
-TESTS += $(FC_TESTS)
+NONINTERACTIVE_TESTS += $(FC_TESTS)
 endif
+TESTS = $(NONINTERACTIVE_TESTS) $(INTERACTIVE_TESTS)
 
 EXTRA_DIST     += $(srcdir)/tests/defs.in tests/defs.m4sh \
-		  $(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) $(FC_TESTS)
+		  $(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) $(FC_TESTS) \
+		  $(INTERACTIVE_TESTS)
 DIST_SUBDIRS   += $(CONF_SUBDIRS)
 
 # The defs script shouldn't be recreated whenever the Makefile is
@@ -717,7 +912,7 @@ clean-local-legacy:
 	    (cd $$dir && $(MAKE) $(AM_MAKEFLAGS) distclean); \
 	  else :; fi; \
 	done
-	rm -rf _inst
+	rm -rf _inst _inst-*
 
 # For distclean, we may have to fake Makefiles in the test directories
 # so that descending in DIST_SUBDIRS works.
diff --git a/NEWS b/NEWS
index 95fa97d..2357a8e 100644
--- a/NEWS
+++ b/NEWS
@@ -6,13 +6,28 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
 
   - On non-cygwin Windows systems, we now lookup potential library
     file names without regard to file name case.
+  - The old testsuite now uses the `parallel-tests' Automake test driver
+    now for more concurrency and better test logging.  For this, tests are
+    run in verbose mode by default now.
+
+* Important incompatible changes:
+
+  - Autoconf 2.62 and Automake 1.11.1 or newer are now required for building
+    Libtool.  For using Libtool in your own projects, Autoconf 2.59 and
+    Automake 1.9.6 should still work.
 
 * Changes in supported systems or compilers:
+
   - Initial support for the Microsoft C/C++ Compiler, with help from
     the compile script in unreleased Automake 1.12. Override the manifest
     tool used to embed the manifest resource through the environment
     variable MANIFEST_TOOL.
 
+* Bug fixes:
+
+  - The `check-interactive' and `check-noninteractive' convenience make
+    targets now also work for the old testsuite.
+
 New in 2.2.10 2010-06-10: git version 2.2.9a, Libtool team:
 
 * New features:
diff --git a/README b/README
index 0a9317f..0c13518 100644
--- a/README
+++ b/README
@@ -64,8 +64,8 @@ To run a test group of the old test suite in isolation (say, you think
 you have fixed a bug, but don't want to rerun the entire suite), you can
 do it like this:
 
-  gmake check TESTS="tests/cdemo-static.test tests/cdemo-make.test \
-                     tests/cdemo-exec.test" \
+  gmake check TESTS="tests/cdemo-static.test tests/cdemo-static-make.test \
+                     tests/cdemo-static-exec.test" \
               TESTSUITEFLAGS=-V
 
 Providing that you have a FAIL from the most recent group from a
@@ -76,15 +76,11 @@ If you wish to report a test group failure to the libtool list, you need
 to send the verbose output of the FAILing group, along with the
 information from the end of `$(top_builddir)/libtool --help' to the bug
 report mailing list, <bug-libtool@gnu.org> with a subject line that
-includes the string `[TEST FAILURE]'.  From a Bourne compatible shell,
-you can generate verbose test output like this:
+includes the string `[TEST FAILURE]'.  The file test-suite.log contains
+the verbose output from all failed tests.
 
-  VERBOSE=yes gmake check \
-  TESTS="tests/cdemo-static.test tests/cdemo-make.test tests/cdemo-exec.test" \
-  TESTSUITEFLAGS=-V | tee cdemo-static-group.log
-
-In order to enable debug shell tracing, use VERBOSE=debug instead of
-VERBOSE=yes.
+In order to enable debug shell tracing, you can set VERBOSE=debug when
+running the old test suite.
 
 
 In the long run, Libtool will move to using only the new,
@@ -174,7 +170,7 @@ For more details about version numbers, see:
     http://www.gnu.org/software/libtool/contribute.html
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009  Free Software
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
diff --git a/README.alpha b/README.alpha
index a785a7b..2632e75 100644
--- a/README.alpha
+++ b/README.alpha
@@ -69,8 +69,8 @@ To run a test group of the old test suite in isolation (say, you think
 you have fixed a bug, but don't want to rerun the entire suite), you can
 do it like this:
 
-  gmake check TESTS="tests/cdemo-static.test tests/cdemo-make.test \
-                     tests/cdemo-exec.test" \
+  gmake check TESTS="tests/cdemo-static.test tests/cdemo-static-make.test \
+                     tests/cdemo-static-exec.test" \
 	      TESTSUITEFLAGS=-V
 
 Providing that you have a FAIL from the most recent group from a
@@ -81,15 +81,11 @@ If you wish to report a test group failure to the libtool list, you need
 to send the verbose output of the FAILing group, along with the
 information from the end of `$(top_builddir)/libtool --help' to the bug
 report mailing list, <bug-libtool@gnu.org> with a subject line that
-includes the string `[TEST FAILURE]'.  From a Bourne compatible shell,
-you can generate verbose test output like this:
+includes the string `[TEST FAILURE]'.  The file test-suite.log contains
+the verbose output from all failed tests.
 
-  VERBOSE=yes gmake check \
-  TESTS="tests/cdemo-static.test tests/cdemo-make.test tests/cdemo-exec.test" \
-  TESTSUITEFLAGS=-V | tee cdemo-static-group.log
-
-In order to enable debug shell tracing, use VERBOSE=debug instead of
-VERBOSE=yes.
+In order to enable debug shell tracing, you can set VERBOSE=debug when
+running the old test suite.
 
 
 In the long run, Libtool will move to using only the new,
@@ -114,7 +110,7 @@ send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009  Free Software
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
diff --git a/bootstrap b/bootstrap
index 410c983..7ad0979 100755
--- a/bootstrap
+++ b/bootstrap
@@ -46,7 +46,6 @@ export SHELL
 : ${SED=sed}
 : ${LN_S='ln -s'}
 : ${MAKEINFO=makeinfo}
-: ${WORKING_LIBOBJ_SUPPORT=false}
 
 case $1 in
 --help|-h*)
@@ -54,8 +53,6 @@ case $1 in
 `echo $0 | sed 's,^.*/,,g'`: This script is designed to bootstrap a fresh repository checkout
 of Libtool.  Useful environment variable settings:
   reconfdirs='. libltdl'     Do not bootstrap the old test suite.
-  WORKING_LIBOBJ_SUPPORT=:   Declare that you have fixed LIBOBJDIR support
-                             in autoconf (> 2.59) and automake (> 1.9.6).
 EOF
   exit
   ;;
@@ -97,19 +94,8 @@ find . -depth \( -name autom4te.cache -o -name libtool \) -print \
 # Delete stale files from previous libtool versions.
 rm -f acinclude.m4 libltdl/config.h
 
-# Workaround for missing LIBOBJDIR support in Autoconf 2.59, Automake 1.9.6:
-# Have symlinks of the libobj files in top source dir.
-# Set WORKING_LIBOBJ_SUPPORT=: when calling bootstrap if you have fixed tools.
-case `($AUTOCONF --version) 2>/dev/null` in
-  *\ 2.59[c-z]* | *\ 2.[6-9][0-9]* | *\ [3-9].[0-9]*)
-  case `($AUTOMAKE --version) 2>/dev/null` in
-    *\ 1.9[a-z]* | *\ 1.1[0-9]* | *\ 1.[2-9][0-9]* | *\ [2-9].[0-9]*)
-      WORKING_LIBOBJ_SUPPORT=: ;;
-  esac ;;
-esac
 for file in argz.c lt__dirent.c lt__strl.c; do
   rm -f $file
-  $WORKING_LIBOBJ_SUPPORT || $LN_S libltdl/$file $file
 done
 
 if test -z "$reconfdirs"; then
diff --git a/configure.ac b/configure.ac
index 9690a05..1a0db91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,7 +125,8 @@ AC_SUBST([package_revision])
 
 dnl These are bootstrap requirements! Once built, libtool may work with
 dnl much older releases of autoconf and automake.  See release notes.
-AM_INIT_AUTOMAKE([1.10.1 gnu subdir-objects dist-lzma])
+dnl 1.11 is needed for color-tests, 1.11.1 fixes a security issue.
+AM_INIT_AUTOMAKE([1.11.1 gnu subdir-objects dist-lzma color-tests parallel-tests])
 
 
 ## ------------------------- ##
@@ -146,13 +147,6 @@ AC_SUBST([M4SH], ['$(AUTOM4TE) --language=m4sh'])
 dnl Make sure config.status is regenerated when the version timestamp changes
 AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/ChangeLog'])
 
-dnl when installed libtool is used with automake-1.9.x or autoconf-2.59,
-dnl subdir libobjs don't work without a little extra help
-AC_MSG_CHECKING([whether subdir libobjs are useable])
-test -f $srcdir/argz.c || sublibobjs_supported=yes
-AM_CONDITIONAL([LTDL_SUBDIR_LIBOBJS], test x"${sublibobjs_supported-no}" != xno)
-AC_MSG_RESULT([${sublibobjs_supported-no}])
-
 
 ## ------------------------------- ##
 ## Libtool specific configuration. ##
@@ -215,6 +209,34 @@ AM_CONDITIONAL(HAVE_FC,[test -n "[$]_LT_TAGVAR(compiler, FC)"])
 AM_CONDITIONAL(HAVE_GCJ, [test -n "[$]_LT_TAGVAR(compiler, GCJ)"])
 AM_CONDITIONAL(HAVE_RC, [test -n "[$]_LT_TAGVAR(compiler, RC)"])
 
+## Whether `make' supports order-only prerequisites.
+AC_CACHE_CHECK([whether ${MAKE-make} supports order-only prerequisites],
+  [lt_cv_make_order_only],
+  [mkdir conftest.dir
+   cd conftest.dir
+   touch b
+   touch a
+cat >confmk << 'END'
+a: b | c
+a b c:
+	touch $[]@
+END
+   touch c
+   if ${MAKE-make} -s -q -f confmk 2>/dev/null; then
+     lt_cv_make_order_only=yes
+   else
+     lt_cv_make_order_only=no
+   fi
+   cd ..
+   rm -rf conftest.dir
+])
+if test $lt_cv_make_order_only = yes; then
+  ORDER='|'
+else
+  ORDER=''
+fi
+AC_SUBST([ORDER])
+
 ## ------------- ##
 ## Documentation ##
 ## ------------- ##
diff --git a/doc/libtool.texi b/doc/libtool.texi
index d0eaec4..f042a78 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -5032,17 +5032,29 @@ they test for:
 @table @file
 
 @item cdemo-conf.test
-@itemx cdemo-exec.test
 @itemx cdemo-make.test
+@itemx cdemo-exec.test
 @itemx cdemo-static.test
+@itemx cdemo-static-make.test
+@itemx cdemo-static-exec.test
 @itemx cdemo-shared.test
+@itemx cdemo-shared-make.test
+@itemx cdemo-shared-exec.test
 @itemx cdemo-undef.test
+@itemx cdemo-undef-make.test
+@itemx cdemo-undef-exec.test
 @pindex cdemo-conf.test
-@pindex cdemo-exec.test
 @pindex cdemo-make.test
+@pindex cdemo-exec.test
 @pindex cdemo-static.test
+@pindex cdemo-static-make.test
+@pindex cdemo-static-exec.test
 @pindex cdemo-shared.test
+@pindex cdemo-shared-make.test
+@pindex cdemo-shared-exec.test
 @pindex cdemo-undef.test
+@pindex cdemo-undef-make.test
+@pindex cdemo-undef-exec.test
 These programs check to see that the @file{tests/cdemo} subdirectory of
 the libtool distribution can be configured and built correctly.
 
@@ -5051,8 +5063,8 @@ convenience libraries, a mechanism that allows build-time static
 libraries to be created, in a way that their components can be later
 linked into programs or other libraries, even shared ones.
 
-The tests @file{cdemo-make.test} and @file{cdemo-exec.test} are executed
-three times, under three different libtool configurations:
+The tests matching @file{cdemo-*make.test} and @file{cdemo-*exec.test}
+are executed three times, under three different libtool configurations:
 @file{cdemo-conf.test} configures @file{cdemo/libtool} to build both
 static and shared libraries (the default for platforms that support
 both), @file{cdemo-static.test} builds only static libraries
@@ -5063,33 +5075,65 @@ The test @file{cdemo-undef.test} tests the generation of shared
 libraries with undefined symbols on systems that allow this.
 
 @item demo-conf.test
+@itemx demo-make.test
 @itemx demo-exec.test
 @itemx demo-inst.test
-@itemx demo-make.test
 @itemx demo-unst.test
 @itemx demo-static.test
+@itemx demo-static-make.test
+@itemx demo-static-exec.test
+@itemx demo-static-inst.test
+@itemx demo-static-unst.test
 @itemx demo-shared.test
+@itemx demo-shared-make.test
+@itemx demo-shared-exec.test
+@itemx demo-shared-inst.test
+@itemx demo-shared-unst.test
 @itemx demo-nofast.test
+@itemx demo-nofast-make.test
+@itemx demo-nofast-exec.test
+@itemx demo-nofast-inst.test
+@itemx demo-nofast-unst.test
 @itemx demo-pic.test
+@itemx demo-pic-make.test
+@itemx demo-pic-exec.test
 @itemx demo-nopic.test
+@itemx demo-nopic-make.test
+@itemx demo-nopic-exec.test
 @pindex demo-conf.test
+@pindex demo-make.test
 @pindex demo-exec.test
 @pindex demo-inst.test
-@pindex demo-make.test
 @pindex demo-unst.test
 @pindex demo-static.test
+@pindex demo-static-make.test
+@pindex demo-static-exec.test
+@pindex demo-static-inst.test
+@pindex demo-static-unst.test
 @pindex demo-shared.test
+@pindex demo-shared-make.test
+@pindex demo-shared-exec.test
+@pindex demo-shared-inst.test
+@pindex demo-shared-unst.test
 @pindex demo-nofast.test
+@pindex demo-nofast-make.test
+@pindex demo-nofast-exec.test
+@pindex demo-nofast-inst.test
+@pindex demo-nofast-unst.test
 @pindex demo-pic.test
+@pindex demo-pic-make.test
+@pindex demo-pic-exec.test
 @pindex demo-nopic.test
+@pindex demo-nopic-make.test
+@pindex demo-nopic-exec.test
 These programs check to see that the @file{tests/demo} subdirectory of
 the libtool distribution can be configured, built, installed, and
 uninstalled correctly.
 
 The @file{tests/demo} subdirectory contains a demonstration of a trivial
-package that uses libtool.  The tests @file{demo-make.test},
-@file{demo-exec.test}, @file{demo-inst.test} and
-@file{demo-unst.test} are executed four times, under four different
+package that uses libtool.  The tests matching @file{demo-*make.test},
+@file{demo-*exec.test}, @file{demo-*inst.test} and
+@file{demo-*unst.test} are executed four times, under four different
 libtool configurations: @file{demo-conf.test} configures
 @file{demo/libtool} to build both static and shared libraries,
 @file{demo-static.test} builds only static libraries
@@ -5121,8 +5165,8 @@ correspond to libtool's own notion of how your linker behaves.
 @pindex demo-relink.test
 @pindex depdemo-relink.test
 These tests check whether variable @code{shlibpath_overrides_runpath} is
-properly set.  If the test fails and @env{VERBOSE} is set, it will
-indicate what the variable should have been set to.
+properly set.  If the test fails, it will indicate what the variable should
+have been set to.
 
 @item demo-noinst-link.test
 @pindex demo-noinst-link.test
@@ -5130,21 +5174,45 @@ Checks whether libtool will not try to link with a previously installed
 version of a library when it should be linking with a just-built one.
 
 @item depdemo-conf.test
+@itemx depdemo-make.test
 @itemx depdemo-exec.test
 @itemx depdemo-inst.test
-@itemx depdemo-make.test
 @itemx depdemo-unst.test
 @itemx depdemo-static.test
+@itemx depdemo-static-make.test
+@itemx depdemo-static-exec.test
+@itemx depdemo-static-inst.test
+@itemx depdemo-static-unst.test
 @itemx depdemo-shared.test
+@itemx depdemo-shared-make.test
+@itemx depdemo-shared-exec.test
+@itemx depdemo-shared-inst.test
+@itemx depdemo-shared-unst.test
 @itemx depdemo-nofast.test
+@itemx depdemo-nofast-make.test
+@itemx depdemo-nofast-exec.test
+@itemx depdemo-nofast-inst.test
+@itemx depdemo-nofast-unst.test
 @pindex depdemo-conf.test
+@pindex depdemo-make.test
 @pindex depdemo-exec.test
 @pindex depdemo-inst.test
-@pindex depdemo-make.test
 @pindex depdemo-unst.test
 @pindex depdemo-static.test
+@pindex depdemo-static-make.test
+@pindex depdemo-static-exec.test
+@pindex depdemo-static-inst.test
+@pindex depdemo-static-unst.test
 @pindex depdemo-shared.test
+@pindex depdemo-shared-make.test
+@pindex depdemo-shared-exec.test
+@pindex depdemo-shared-inst.test
+@pindex depdemo-shared-unst.test
 @pindex depdemo-nofast.test
+@pindex depdemo-nofast-make.test
+@pindex depdemo-nofast-exec.test
+@pindex depdemo-nofast-inst.test
+@pindex depdemo-nofast-unst.test
 These programs check to see that the @file{tests/depdemo} subdirectory
 of the libtool distribution can be configured, built, installed, and
 uninstalled correctly.
@@ -5153,8 +5221,8 @@ The @file{tests/depdemo} subdirectory contains a demonstration of
 inter-library dependencies with libtool.  The test programs link some
 interdependent libraries.
 
-The tests @file{depdemo-make.test}, @file{depdemo-exec.test},
-@file{depdemo-inst.test} and @file{depdemo-unst.test} are executed
+The tests matching @file{depdemo-*make.test}, @file{depdemo-*exec.test},
+@file{depdemo-*inst.test} and @file{depdemo-*unst.test} are executed
 four times, under four different libtool configurations:
 @file{depdemo-conf.test} configures @file{depdemo/libtool} to build both
 static and shared libraries, @file{depdemo-static.test} builds only static
@@ -5164,19 +5232,35 @@ only shared libraries (@option{--disable-static}).
 disable the fast-install mode (@option{--enable-fast-install=no}).
 
 @item mdemo-conf.test
+@itemx mdemo-make.test
 @itemx mdemo-exec.test
 @itemx mdemo-inst.test
-@itemx mdemo-make.test
 @itemx mdemo-unst.test
 @itemx mdemo-static.test
+@itemx mdemo-static-make.test
+@itemx mdemo-static-exec.test
+@itemx mdemo-static-inst.test
+@itemx mdemo-static-unst.test
 @itemx mdemo-shared.test
+@itemx mdemo-shared-make.test
+@itemx mdemo-shared-exec.test
+@itemx mdemo-shared-inst.test
+@itemx mdemo-shared-unst.test
 @pindex mdemo-conf.test
+@pindex mdemo-make.test
 @pindex mdemo-exec.test
 @pindex mdemo-inst.test
-@pindex mdemo-make.test
 @pindex mdemo-unst.test
 @pindex mdemo-static.test
+@pindex mdemo-static-make.test
+@pindex mdemo-static-exec.test
+@pindex mdemo-static-inst.test
+@pindex mdemo-static-unst.test
 @pindex mdemo-shared.test
+@pindex mdemo-shared-make.test
+@pindex mdemo-shared-exec.test
+@pindex mdemo-shared-inst.test
+@pindex mdemo-shared-unst.test
 These programs check to see that the @file{tests/mdemo} subdirectory of
 the libtool distribution can be configured, built, installed, and
 uninstalled correctly.
@@ -5187,8 +5271,8 @@ package that uses libtool and the system independent dlopen wrapper
 dlopen wrapper for various platforms (Linux, Solaris, HP/UX etc.)
 including support for dlpreopened modules (@pxref{Dlpreopening}).
 
-The tests @file{mdemo-make.test}, @file{mdemo-exec.test},
-@file{mdemo-inst.test} and @file{mdemo-unst.test} are executed
+The tests matching @file{mdemo-*make.test}, @file{mdemo-*exec.test},
+@file{mdemo-*inst.test} and @file{mdemo-*unst.test} are executed
 three times, under three different libtool configurations:
 @file{mdemo-conf.test} configures @file{mdemo/libtool} to build both
 static and shared libraries, @file{mdemo-static.test} builds only static
@@ -5232,13 +5316,13 @@ Check whether we can actually get help for libtool.
 Check that a nonexistent objectlist file is properly detected.
 
 @item pdemo-conf.test
+@itemx pdemo-make.test
 @itemx pdemo-exec.test
 @itemx pdemo-inst.test
-@itemx pdemo-make.test
 @pindex pdemo-conf.test
+@pindex pdemo-make.test
 @pindex pdemo-exec.test
 @pindex pdemo-inst.test
-@pindex pdemo-make.test
 These programs check to see that the @file{tests/pdemo} subdirectory of
 the libtool distribution can be configured, built, and executed
 correctly.
@@ -5264,17 +5348,29 @@ This test validates that libtool can handle suffixes for all the file
 types that it supports, and that it fails when the suffix is invalid.
 
 @item tagdemo-conf.test
-@itemx tagdemo-exec.test
 @itemx tagdemo-make.test
+@itemx tagdemo-exec.test
 @itemx tagdemo-static.test
+@itemx tagdemo-static-make.test
+@itemx tagdemo-static-exec.test
 @itemx tagdemo-shared.test
+@itemx tagdemo-shared-make.test
+@itemx tagdemo-shared-exec.test
 @itemx tagdemo-undef.test
+@itemx tagdemo-undef-make.test
+@itemx tagdemo-undef-exec.test
 @pindex tagdemo-conf.test
-@pindex tagdemo-exec.test
 @pindex tagdemo-make.test
+@pindex tagdemo-exec.test
 @pindex tagdemo-static.test
+@pindex tagdemo-static-make.test
+@pindex tagdemo-static-exec.test
 @pindex tagdemo-shared.test
+@pindex tagdemo-shared-make.test
+@pindex tagdemo-shared-exec.test
 @pindex tagdemo-undef.test
+@pindex tagdemo-undef-make.test
+@pindex tagdemo-undef-exec.test
 These programs check to see that the @file{tests/tagdemo} subdirectory
 of the libtool distribution can be configured, built, and executed
 correctly.
@@ -5285,15 +5381,23 @@ It generates a library from C++ sources, which is then linked to a C++
 program.
 
 @item f77demo-conf.test
-@itemx f77demo-exec.test
 @itemx f77demo-make.test
+@itemx f77demo-exec.test
 @itemx f77demo-static.test
+@itemx f77demo-static-make.test
+@itemx f77demo-static-exec.test
 @itemx f77demo-shared.test
+@itemx f77demo-shared-make.test
+@itemx f77demo-shared-exec.test
 @pindex f77demo-conf.test
-@pindex f77demo-exec.test
 @pindex f77demo-make.test
+@pindex f77demo-exec.test
 @pindex f77demo-static.test
+@pindex f77demo-static-make.test
+@pindex f77demo-static-exec.test
 @pindex f77demo-shared.test
+@pindex f77demo-shared-make.test
+@pindex f77demo-shared-exec.test
 These programs check to see that the @file{tests/f77demo} subdirectory
 of the libtool distribution can be configured, built, and executed
 correctly.
@@ -5304,15 +5408,23 @@ sources, and a Fortran 77 program to use the former library, and a C
 program to use the latter library.
 
 @item fcdemo-conf.test
-@itemx fcdemo-exec.test
 @itemx fcdemo-make.test
+@itemx fcdemo-exec.test
 @itemx fcdemo-static.test
+@itemx fcdemo-static-make.test
+@itemx fcdemo-static-exec.test
 @itemx fcdemo-shared.test
+@itemx fcdemo-shared-make.test
+@itemx fcdemo-shared-exec.test
 @pindex fcdemo-conf.test
-@pindex fcdemo-exec.test
 @pindex fcdemo-make.test
+@pindex fcdemo-exec.test
 @pindex fcdemo-static.test
+@pindex fcdemo-static-make.test
+@pindex fcdemo-static-exec.test
 @pindex fcdemo-shared.test
+@pindex fcdemo-shared-make.test
+@pindex fcdemo-shared-exec.test
 These programs check to see that the @file{tests/fcdemo} subdirectory
 of the libtool distribution can be configured, built, and executed
 correctly.
@@ -5368,27 +5480,13 @@ recursive test groups themselves should never require user interaction,
 while the test groups they invoke may do so.
 @end table
 
-For example, in order to avoid any interactive test groups, you could
-use this:
-
-@smallexample
-make check-local \
-  TESTSUITEFLAGS='-k !interactive INNER_TESTSUITEFLAGS=",!interactive"'
-@end smallexample
-
-@noindent
-while to run only those test groups, you would use this:
-
-@smallexample
-make check-local \
-  TESTSUITEFLAGS='-k interactive -k recursive INNER_TESTSUITEFLAGS=,interactive'
-@end smallexample
-
-@noindent
-but the convenience targets @samp{check-interactive} and
-@samp{check-noninteractive} avoid needing to remember these complex
-commands, in addition to also disabling interactive tests in the old
-test suite.
+@cindex @samp{check-interactive}
+@cindex @samp{check-noninteractive}
+There is a convenience target @samp{check-noninteractive} that runs
+all tests from both test suites that do not cause user interaction on
+Windows.  Conversely, the target @samp{check-interactive} runs the
+complement of tests and might require closing popup windows about DLL
+load errors on Windows.
 
 
 @node When tests fail
@@ -5396,8 +5494,9 @@ test suite.
 @cindex failed tests
 @cindex tests, failed
 
-Each of the tests in the old test suite are designed to produce no
-output when they are run via @kbd{make check}.  The exit status of each
+When the tests in the old test suite are run via @command{make check},
+output is caught in per-test @file{tests/@var{test-name}.log} files
+and summarized in the @file{test-suite.log} file.  The exit status of each
 program tells the @file{Makefile} whether or not the test succeeded.
 
 If a test fails, it means that there is either a programming error in
@@ -5407,11 +5506,6 @@ To investigate a particular test, you may run it directly, as you would
 a normal program.  When the test is invoked in this way, it produces
 output that may be useful in determining what the problem is.
 
-Another way to have the test programs produce output is to set the
-@env{VERBOSE} environment variable to @samp{yes} before running them.
-For example, @kbd{env VERBOSE=yes make check} runs all the tests, and
-has each of them display debugging information.
-
 The new, Autotest-based test suite produces as output a file
 @file{tests/testsuite.log} which contains information about failed
 tests.
diff --git a/tests/cdemo-shared-exec.test b/tests/cdemo-shared-exec.test
new file mode 100755
index 0000000..6de58fd
--- /dev/null
+++ b/tests/cdemo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/cdemo-exec.test
diff --git a/tests/cdemo-shared-make.test b/tests/cdemo-shared-make.test
new file mode 100755
index 0000000..cb3792c
--- /dev/null
+++ b/tests/cdemo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/cdemo-make.test
diff --git a/tests/cdemo-static-exec.test b/tests/cdemo-static-exec.test
new file mode 100755
index 0000000..6de58fd
--- /dev/null
+++ b/tests/cdemo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/cdemo-exec.test
diff --git a/tests/cdemo-static-make.test b/tests/cdemo-static-make.test
new file mode 100755
index 0000000..cb3792c
--- /dev/null
+++ b/tests/cdemo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/cdemo-make.test
diff --git a/tests/cdemo-undef-exec.test b/tests/cdemo-undef-exec.test
new file mode 100755
index 0000000..6de58fd
--- /dev/null
+++ b/tests/cdemo-undef-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/cdemo-exec.test
diff --git a/tests/cdemo-undef-make.test b/tests/cdemo-undef-make.test
new file mode 100755
index 0000000..cb3792c
--- /dev/null
+++ b/tests/cdemo-undef-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/cdemo-make.test
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 183783e..8ffde5b 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -43,15 +43,10 @@ if test -z "$DJGPP"; then
     CONFIG_SITE=/nonexistent
 fi
 
-# How verbose should we be?  Default is no test output.
-# Setting VERBOSE=yes enables test output.
-# Setting VERBOSE=debug also puts the shell in debug mode.
+# How verbose should we be?  Default is test output in log file.
+# Setting VERBOSE=debug puts the shell in debug mode.
 opt_debug=:
-test "${VERBOSE+set}" != "set" && VERBOSE=no
 case "$VERBOSE" in
-NO | no | 0 | "")
-  exec > /dev/null 2>&1
-  ;;
 DEBUG | debug )
   opt_debug='set -x'
   $opt_debug
@@ -346,7 +341,7 @@ func_exec ()
 }
 
 # Shared global variables for test scripts
-prefix="./_inst"
+prefix=./_inst-`echo "$0" | sed 's,.*/,,; s,-.*,,'`
 srcdir=`cd $srcdir && pwd`
 m4dir=$srcdir/libltdl/m4
 auxdir=$srcdir/libltdl/config
diff --git a/tests/demo-nofast-exec.test b/tests/demo-nofast-exec.test
new file mode 100755
index 0000000..82e272d
--- /dev/null
+++ b/tests/demo-nofast-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-exec.test
diff --git a/tests/demo-nofast-inst.test b/tests/demo-nofast-inst.test
new file mode 100755
index 0000000..02e87c1
--- /dev/null
+++ b/tests/demo-nofast-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-inst.test
diff --git a/tests/demo-nofast-make.test b/tests/demo-nofast-make.test
new file mode 100755
index 0000000..c902d85
--- /dev/null
+++ b/tests/demo-nofast-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-make.test
diff --git a/tests/demo-nofast-unst.test b/tests/demo-nofast-unst.test
new file mode 100755
index 0000000..789a487
--- /dev/null
+++ b/tests/demo-nofast-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-unst.test
diff --git a/tests/demo-nopic-exec.test b/tests/demo-nopic-exec.test
new file mode 100755
index 0000000..82e272d
--- /dev/null
+++ b/tests/demo-nopic-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-exec.test
diff --git a/tests/demo-nopic-make.test b/tests/demo-nopic-make.test
new file mode 100755
index 0000000..c902d85
--- /dev/null
+++ b/tests/demo-nopic-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-make.test
diff --git a/tests/demo-pic-exec.test b/tests/demo-pic-exec.test
new file mode 100755
index 0000000..82e272d
--- /dev/null
+++ b/tests/demo-pic-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-exec.test
diff --git a/tests/demo-pic-make.test b/tests/demo-pic-make.test
new file mode 100755
index 0000000..c902d85
--- /dev/null
+++ b/tests/demo-pic-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-make.test
diff --git a/tests/demo-shared-exec.test b/tests/demo-shared-exec.test
new file mode 100755
index 0000000..82e272d
--- /dev/null
+++ b/tests/demo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-exec.test
diff --git a/tests/demo-shared-inst.test b/tests/demo-shared-inst.test
new file mode 100755
index 0000000..02e87c1
--- /dev/null
+++ b/tests/demo-shared-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-inst.test
diff --git a/tests/demo-shared-make.test b/tests/demo-shared-make.test
new file mode 100755
index 0000000..c902d85
--- /dev/null
+++ b/tests/demo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-make.test
diff --git a/tests/demo-shared-unst.test b/tests/demo-shared-unst.test
new file mode 100755
index 0000000..789a487
--- /dev/null
+++ b/tests/demo-shared-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-unst.test
diff --git a/tests/demo-static-exec.test b/tests/demo-static-exec.test
new file mode 100755
index 0000000..82e272d
--- /dev/null
+++ b/tests/demo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-exec.test
diff --git a/tests/demo-static-inst.test b/tests/demo-static-inst.test
new file mode 100755
index 0000000..02e87c1
--- /dev/null
+++ b/tests/demo-static-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-inst.test
diff --git a/tests/demo-static-make.test b/tests/demo-static-make.test
new file mode 100755
index 0000000..c902d85
--- /dev/null
+++ b/tests/demo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-make.test
diff --git a/tests/demo-static-unst.test b/tests/demo-static-unst.test
new file mode 100755
index 0000000..789a487
--- /dev/null
+++ b/tests/demo-static-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/demo-unst.test
diff --git a/tests/depdemo-nofast-exec.test b/tests/depdemo-nofast-exec.test
new file mode 100755
index 0000000..5b14104
--- /dev/null
+++ b/tests/depdemo-nofast-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-exec.test
diff --git a/tests/depdemo-nofast-inst.test b/tests/depdemo-nofast-inst.test
new file mode 100755
index 0000000..b22013e
--- /dev/null
+++ b/tests/depdemo-nofast-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-inst.test
diff --git a/tests/depdemo-nofast-make.test b/tests/depdemo-nofast-make.test
new file mode 100755
index 0000000..e8cb467
--- /dev/null
+++ b/tests/depdemo-nofast-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-make.test
diff --git a/tests/depdemo-nofast-unst.test b/tests/depdemo-nofast-unst.test
new file mode 100755
index 0000000..f3ccf3f
--- /dev/null
+++ b/tests/depdemo-nofast-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-unst.test
diff --git a/tests/depdemo-shared-exec.test b/tests/depdemo-shared-exec.test
new file mode 100755
index 0000000..5b14104
--- /dev/null
+++ b/tests/depdemo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-exec.test
diff --git a/tests/depdemo-shared-inst.test b/tests/depdemo-shared-inst.test
new file mode 100755
index 0000000..b22013e
--- /dev/null
+++ b/tests/depdemo-shared-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-inst.test
diff --git a/tests/depdemo-shared-make.test b/tests/depdemo-shared-make.test
new file mode 100755
index 0000000..e8cb467
--- /dev/null
+++ b/tests/depdemo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-make.test
diff --git a/tests/depdemo-shared-unst.test b/tests/depdemo-shared-unst.test
new file mode 100755
index 0000000..f3ccf3f
--- /dev/null
+++ b/tests/depdemo-shared-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-unst.test
diff --git a/tests/depdemo-static-exec.test b/tests/depdemo-static-exec.test
new file mode 100755
index 0000000..5b14104
--- /dev/null
+++ b/tests/depdemo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-exec.test
diff --git a/tests/depdemo-static-inst.test b/tests/depdemo-static-inst.test
new file mode 100755
index 0000000..b22013e
--- /dev/null
+++ b/tests/depdemo-static-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-inst.test
diff --git a/tests/depdemo-static-make.test b/tests/depdemo-static-make.test
new file mode 100755
index 0000000..e8cb467
--- /dev/null
+++ b/tests/depdemo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-make.test
diff --git a/tests/depdemo-static-unst.test b/tests/depdemo-static-unst.test
new file mode 100755
index 0000000..f3ccf3f
--- /dev/null
+++ b/tests/depdemo-static-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/depdemo-unst.test
diff --git a/tests/f77demo-shared-exec.test b/tests/f77demo-shared-exec.test
new file mode 100755
index 0000000..b88eb16
--- /dev/null
+++ b/tests/f77demo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/f77demo-exec.test
diff --git a/tests/f77demo-shared-make.test b/tests/f77demo-shared-make.test
new file mode 100755
index 0000000..e68f6de
--- /dev/null
+++ b/tests/f77demo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/f77demo-make.test
diff --git a/tests/f77demo-static-exec.test b/tests/f77demo-static-exec.test
new file mode 100755
index 0000000..b88eb16
--- /dev/null
+++ b/tests/f77demo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/f77demo-exec.test
diff --git a/tests/f77demo-static-make.test b/tests/f77demo-static-make.test
new file mode 100755
index 0000000..e68f6de
--- /dev/null
+++ b/tests/f77demo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/f77demo-make.test
diff --git a/tests/fcdemo-shared-exec.test b/tests/fcdemo-shared-exec.test
new file mode 100755
index 0000000..46ea71f
--- /dev/null
+++ b/tests/fcdemo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/fcdemo-exec.test
diff --git a/tests/fcdemo-shared-make.test b/tests/fcdemo-shared-make.test
new file mode 100755
index 0000000..5fc2c37
--- /dev/null
+++ b/tests/fcdemo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/fcdemo-make.test
diff --git a/tests/fcdemo-static-exec.test b/tests/fcdemo-static-exec.test
new file mode 100755
index 0000000..46ea71f
--- /dev/null
+++ b/tests/fcdemo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/fcdemo-exec.test
diff --git a/tests/fcdemo-static-make.test b/tests/fcdemo-static-make.test
new file mode 100755
index 0000000..5fc2c37
--- /dev/null
+++ b/tests/fcdemo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/fcdemo-make.test
diff --git a/tests/mdemo-shared-exec.test b/tests/mdemo-shared-exec.test
new file mode 100755
index 0000000..d20ae64
--- /dev/null
+++ b/tests/mdemo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-exec.test
diff --git a/tests/mdemo-shared-inst.test b/tests/mdemo-shared-inst.test
new file mode 100755
index 0000000..81e7b60
--- /dev/null
+++ b/tests/mdemo-shared-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-inst.test
diff --git a/tests/mdemo-shared-make.test b/tests/mdemo-shared-make.test
new file mode 100755
index 0000000..490230e
--- /dev/null
+++ b/tests/mdemo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-make.test
diff --git a/tests/mdemo-shared-unst.test b/tests/mdemo-shared-unst.test
new file mode 100755
index 0000000..6f1cbae
--- /dev/null
+++ b/tests/mdemo-shared-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-unst.test
diff --git a/tests/mdemo-static-exec.test b/tests/mdemo-static-exec.test
new file mode 100755
index 0000000..d20ae64
--- /dev/null
+++ b/tests/mdemo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-exec.test
diff --git a/tests/mdemo-static-inst.test b/tests/mdemo-static-inst.test
new file mode 100755
index 0000000..81e7b60
--- /dev/null
+++ b/tests/mdemo-static-inst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-inst.test
diff --git a/tests/mdemo-static-make.test b/tests/mdemo-static-make.test
new file mode 100755
index 0000000..490230e
--- /dev/null
+++ b/tests/mdemo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-make.test
diff --git a/tests/mdemo-static-unst.test b/tests/mdemo-static-unst.test
new file mode 100755
index 0000000..6f1cbae
--- /dev/null
+++ b/tests/mdemo-static-unst.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/mdemo-unst.test
diff --git a/tests/tagdemo-shared-exec.test b/tests/tagdemo-shared-exec.test
new file mode 100755
index 0000000..ecf553a
--- /dev/null
+++ b/tests/tagdemo-shared-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/tagdemo-exec.test
diff --git a/tests/tagdemo-shared-make.test b/tests/tagdemo-shared-make.test
new file mode 100755
index 0000000..9ffbd49
--- /dev/null
+++ b/tests/tagdemo-shared-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/tagdemo-make.test
diff --git a/tests/tagdemo-static-exec.test b/tests/tagdemo-static-exec.test
new file mode 100755
index 0000000..ecf553a
--- /dev/null
+++ b/tests/tagdemo-static-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/tagdemo-exec.test
diff --git a/tests/tagdemo-static-make.test b/tests/tagdemo-static-make.test
new file mode 100755
index 0000000..9ffbd49
--- /dev/null
+++ b/tests/tagdemo-static-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/tagdemo-make.test
diff --git a/tests/tagdemo-undef-exec.test b/tests/tagdemo-undef-exec.test
new file mode 100755
index 0000000..ecf553a
--- /dev/null
+++ b/tests/tagdemo-undef-exec.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/tagdemo-exec.test
diff --git a/tests/tagdemo-undef-make.test b/tests/tagdemo-undef-make.test
new file mode 100755
index 0000000..9ffbd49
--- /dev/null
+++ b/tests/tagdemo-undef-make.test
@@ -0,0 +1,3 @@
+#! /bin/sh
+. tests/defs || exit 1
+. $srcdir/tests/tagdemo-make.test


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 04:26:07 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpGjn-00035L-KY
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 04:26:07 -0400
Received: from [140.186.70.92] (port=54286 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpGjh-000357-0Y
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 04:26:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjc-00018K-1o
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 04:26:00 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:57162
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjb-00018B-WA
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 04:25:56 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjb-0006Eb-Ug
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:25:55 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjb-0006QU-OL
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:25:55 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/parallel-tests
X-Git-Reftype: branch
X-Git-Oldrev: b92d7e795871f8d22a13107b92427ae02bf32146
X-Git-Newrev: 28a1942e246d2993b652e4c0adc69e0b0e2b1c95
Message-Id: <E1OpGjb-0006QU-OL@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 08:25:55 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, parallel-tests,
	updated. v2.2.10-94-g28a1942
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 08:26:06 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, parallel-tests has been updated
       via  28a1942e246d2993b652e4c0adc69e0b0e2b1c95 (commit)
      from  b92d7e795871f8d22a13107b92427ae02bf32146 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    4 ++++
 NEWS      |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 75b2298..c27f040 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* NEWS: Only bootstrapping needs new Automake and Autoconf.
+
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	check-interactive and check-noninteractive for both testsuites.
diff --git a/NEWS b/NEWS
index 2357a8e..11ae6ca 100644
--- a/NEWS
+++ b/NEWS
@@ -12,9 +12,9 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
 
 * Important incompatible changes:
 
-  - Autoconf 2.62 and Automake 1.11.1 or newer are now required for building
-    Libtool.  For using Libtool in your own projects, Autoconf 2.59 and
-    Automake 1.9.6 should still work.
+  - Autoconf 2.62 and Automake 1.11.1 or newer are now required for
+    bootstrapping Libtool.  For using Libtool in your own projects,
+    Autoconf 2.59 and Automake 1.9.6 should still work.
 
 * Changes in supported systems or compilers:
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 04:26:11 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpGjr-00036N-Pd
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 04:26:11 -0400
Received: from [140.186.70.92] (port=54287 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpGjh-000358-0Z
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 04:26:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjc-00018E-0O
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 04:26:00 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:57161
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjb-000187-RY
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 04:25:55 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjb-0006EY-NR
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:25:55 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpGjb-0006Pt-0U
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:25:55 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d1b98fd5399457b8d83daedb3eb4174d42480240
X-Git-Newrev: e634870fa811d215f8e36a10670fb5397ab95671
Message-Id: <E1OpGjb-0006Pt-0U@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 08:25:55 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-102-ge634870
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 08:26:11 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  e634870fa811d215f8e36a10670fb5397ab95671 (commit)
       via  28a1942e246d2993b652e4c0adc69e0b0e2b1c95 (commit)
      from  d1b98fd5399457b8d83daedb3eb4174d42480240 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e634870fa811d215f8e36a10670fb5397ab95671
Merge: d1b98fd 28a1942
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 28 10:24:33 2010 +0200

    Merge branch 'parallel-tests'
    
    * parallel-tests:
      Fix NEWS entry for bootstrapping requirements.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    2 ++
 NEWS      |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 99bc5aa..77a0b2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	* NEWS: Only bootstrapping needs new Automake and Autoconf.
+
 	check-interactive and check-noninteractive for both testsuites.
 	* Makefile.am (COMMON_TESTS, TESTS): Split into ...
 	(NONINTERACTIVE_TESTS, INTERACTIVE_TESTS): ... these new
diff --git a/NEWS b/NEWS
index 2357a8e..11ae6ca 100644
--- a/NEWS
+++ b/NEWS
@@ -12,9 +12,9 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
 
 * Important incompatible changes:
 
-  - Autoconf 2.62 and Automake 1.11.1 or newer are now required for building
-    Libtool.  For using Libtool in your own projects, Autoconf 2.59 and
-    Automake 1.9.6 should still work.
+  - Autoconf 2.62 and Automake 1.11.1 or newer are now required for
+    bootstrapping Libtool.  For using Libtool in your own projects,
+    Autoconf 2.59 and Automake 1.9.6 should still work.
 
 * Changes in supported systems or compilers:
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 05:28:29 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpHi8-0003P0-SV
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:28 -0400
Received: from [140.186.70.92] (port=37658 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpHi6-0003Op-At
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi5-0007hc-1J
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:26 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54543
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi4-0007hU-Vo
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:25 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi4-0006xu-O9
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:28:24 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi4-000075-Kb
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:28:24 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: 75b9ac5fa27c4940141d719a42a07f4397e14c60
X-Git-Newrev: 22a120690392cccc59921c70f1f3e8cd523bb849
Message-Id: <E1OpHi4-000075-Kb@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 09:28:24 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, updated. v2.2.10-107-g22a1206
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 09:28:27 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been updated
       via  22a120690392cccc59921c70f1f3e8cd523bb849 (commit)
      from  75b9ac5fa27c4940141d719a42a07f4397e14c60 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |   88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f5e23a..9ba1343 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,91 @@
+2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	fix AIX testsuite regression
+	* libltdl/config/ltmain.m4sh (func_resolve_sysroot): Partly
+	revert v2.2.10-83-gc45a288: Do not absolutize path here, only do
+	sysroot replacement.
+	(func_mode_link): Adjust.
+
+2010-08-22  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	fix --mode=finish
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Invert then/else
+	blocks of the "if $opt_dry_run" conditional.
+
+2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
+
+	improve code for sysroot --mode=finish
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Change sysroot_regex
+	and sysroot_cmd delimiter from pipe to slash.  Wrap the entire for
+	loop with "if $opt_dry_run...fi" and print an explanatory message
+	for the --dry-run case.
+
+2010-08-12  Paolo Bonzini  <bonzini@gnu.org>
+
+	add libtool --mode=finish mode for sysroot
+	* doc/libtool.texi (Finish mode): Document behavior when *.la files
+	are passed.
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot
+	or `=' signs representing it from files in $libs.
+	* tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot
+	references before running libtool --mode=finish, and for absence
+	afterwards.
+
+	reorganize parsing of --mode=finish arguments
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for
+	directories and *.la files.
+
+	fix sysroot handling for deplibs of preopened libtool libs
+	* libltdl/config/ltmain.m4sh: Pass $dependency_libs of preopened libtool
+	through func_resolve_sysroot.
+
+	fix sysroot tests to pass on Fedora 13
+	* tests/sysroot.at: Link $prefix/include into the sysroot as well, as
+	required by newer GCC.
+
+2010-07-29  Paolo Bonzini  <bonzini@gnu.org>
+
+	initial version of the NEWS entry
+	* NEWS: Document sysroot support.
+
+	add sysroot test
+	* Makefile.am (TESTSUITE_AT): Add tests/sysroot.at.
+	* tests/sysroot.at: New.
+
+	emit sysrooted paths when installing .la files
+	* libltdl/config/ltmain.m4sh (func_replace_sysroot): New.
+	(func_mode_link): Prepend paths in $libdir with the sysroot.  Further,
+	replace the sysroot with = (using func_replace_sysroot) whenever
+	such a path is written in a .la file.
+
+	process postdeps to include sysrooted paths
+	* libltdl/m4/libtool.m4 (_LT_FUNC_STRIPNAME_CNF): New (from Charles Wilson).
+	(_LT_SYS_HIDDEN_LIBDEPS): Require it.  Use func_stripname_cnf to convert
+	sysroot (-L= and -R=) usage in postdeps.  Adjust the code because -L, -R
+	and -l flags will now always be separated from the rest of the argument.
+
+	handle sysrooted paths when reading dependencies to la files
+	* libltdl/config/ltmain.m4sh (func_mode_execute, func_mode_install,
+	func_mode_link): Whenever a .la file occurs in another .la file,
+	expand the sysroot path in it.
+
+2010-07-28  Paolo Bonzini  <bonzini@gnu.org>
+
+	teach libtool -L= and -R=
+	* libltdl/config/ltmain.m4sh (func_resolve_sysroot): New.
+	(func_mode_link): Always pass result of stripping -L and -R to
+	func_resolve_sysroot before using it.  Remove absolute path expansion
+	when func_resolve_sysroot subsumes it.  Expand sysroot in -rpath.
+	When processing dependent libraries also resolve sysroot paths there.
+
+	add --with-sysroot
+	* libltdl/m4/libtool.m4 (_LT_HOST_NONCANONICAL, _LT_WITH_SYSROOT): New.
+	(LT_SETUP): Require _LT_WITH_SYSROOT.
+
+	handle sysroot flags
+	* libltdl/config/ltmain.m4sh (func_mode_link): Recognize --sysroot
+	option.
+
 2010-08-22  Paolo Bonzini  <bonzini@gnu.org>
 
 	Fix sed_make_literal_regex.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 05:28:33 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpHiD-0003QD-9W
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:33 -0400
Received: from [140.186.70.92] (port=37671 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpHi7-0003Ov-QU
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi5-0007hi-2l
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:27 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54542
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi4-0007hT-Vp
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 05:28:25 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi4-0006xr-MF
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:28:24 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpHi3-00006H-Q3
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:28:24 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e634870fa811d215f8e36a10670fb5397ab95671
X-Git-Newrev: 8f5c58990dd80e4505d057a3deefcf63c8bd31e0
Message-Id: <E1OpHi3-00006H-Q3@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 09:28:23 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-121-g8f5c589
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 09:28:30 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  8f5c58990dd80e4505d057a3deefcf63c8bd31e0 (commit)
       via  22a120690392cccc59921c70f1f3e8cd523bb849 (commit)
       via  75b9ac5fa27c4940141d719a42a07f4397e14c60 (commit)
       via  a1d74f242cae77a941fbaa0505badf488d85f618 (commit)
       via  2bde23f84fd69c2b135ef53f43a22a90c14e7e8c (commit)
       via  5dca3212e16b8cd502a74f7c8e0a18187e36a03c (commit)
       via  b9accaaa3b3e4d3cc1a72d5366e5526b65819026 (commit)
       via  d32c96ccd6dacf2c60504a6b847e3d82400adfac (commit)
       via  55e986b8b4a3582998946c1a13e411d3122a7610 (commit)
       via  09a695acf973319b218665d7a3c37f4630c190c6 (commit)
       via  5735d4b16d9efb5e6348f7cd2eb348a38395f1fc (commit)
       via  8f2fcb912f57135270ee7969dc5e56bca77925fe (commit)
       via  3f6731bd3fd9ce2b5fe022441105e186a9dd15e2 (commit)
       via  a3cff76611dc8e7681835946b4f9184d09684ef3 (commit)
       via  d77a3a512406a429ca3e1f6aa8894552818d89c5 (commit)
       via  adb8f844f3327b2b8f6f92945f539e4df7aec24d (commit)
       via  c45a28813427ec5e25414d2a0db754eb9bbd970b (commit)
       via  3334f7ed5851ef1e96b052f2984c4acdbf39e20c (commit)
       via  a8f549c1348c0bdedf3c01e6bed6c1e1aa5e8855 (commit)
      from  e634870fa811d215f8e36a10670fb5397ab95671 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8f5c58990dd80e4505d057a3deefcf63c8bd31e0
Merge: e634870 22a1206
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 28 10:39:40 2010 +0200

    Merge branch 'sysroot'
    
    * sysroot:
      Add ChangeLog entries for the sysroot branch.
      fix AIX testsuite regression
      fix --mode=finish
      improve code for sysroot --mode=finish
      add libtool --mode=finish mode for sysroot
      reorganize parsing of --mode=finish arguments
      fix sysroot handling for deplibs of preopened libtool libs
      fix sysroot tests to pass on Fedora 13
      initial version of the NEWS entry
      add sysroot test
      emit sysrooted paths when installing .la files
      process postdeps to include sysrooted paths
      handle sysrooted paths when reading dependencies to la files
      teach libtool -L= and -R=
      add --with-sysroot
      handle sysroot flags

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   88 +++++++++++++++
 Makefile.am                |    3 +-
 NEWS                       |   10 ++
 doc/libtool.texi           |   18 ++-
 libltdl/config/ltmain.m4sh |  264 ++++++++++++++++++++++++++++++++------------
 libltdl/m4/libtool.m4      |   76 ++++++++++++-
 tests/sysroot.at           |  208 ++++++++++++++++++++++++++++++++++
 7 files changed, 583 insertions(+), 84 deletions(-)
 create mode 100644 tests/sysroot.at

diff --git a/ChangeLog b/ChangeLog
index 77a0b2a..036eb2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,91 @@
+2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	fix AIX testsuite regression
+	* libltdl/config/ltmain.m4sh (func_resolve_sysroot): Partly
+	revert v2.2.10-83-gc45a288: Do not absolutize path here, only do
+	sysroot replacement.
+	(func_mode_link): Adjust.
+
+2010-08-22  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	fix --mode=finish
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Invert then/else
+	blocks of the "if $opt_dry_run" conditional.
+
+2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
+
+	improve code for sysroot --mode=finish
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Change sysroot_regex
+	and sysroot_cmd delimiter from pipe to slash.  Wrap the entire for
+	loop with "if $opt_dry_run...fi" and print an explanatory message
+	for the --dry-run case.
+
+2010-08-12  Paolo Bonzini  <bonzini@gnu.org>
+
+	add libtool --mode=finish mode for sysroot
+	* doc/libtool.texi (Finish mode): Document behavior when *.la files
+	are passed.
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot
+	or `=' signs representing it from files in $libs.
+	* tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot
+	references before running libtool --mode=finish, and for absence
+	afterwards.
+
+	reorganize parsing of --mode=finish arguments
+	* libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for
+	directories and *.la files.
+
+	fix sysroot handling for deplibs of preopened libtool libs
+	* libltdl/config/ltmain.m4sh: Pass $dependency_libs of preopened libtool
+	through func_resolve_sysroot.
+
+	fix sysroot tests to pass on Fedora 13
+	* tests/sysroot.at: Link $prefix/include into the sysroot as well, as
+	required by newer GCC.
+
+2010-07-29  Paolo Bonzini  <bonzini@gnu.org>
+
+	initial version of the NEWS entry
+	* NEWS: Document sysroot support.
+
+	add sysroot test
+	* Makefile.am (TESTSUITE_AT): Add tests/sysroot.at.
+	* tests/sysroot.at: New.
+
+	emit sysrooted paths when installing .la files
+	* libltdl/config/ltmain.m4sh (func_replace_sysroot): New.
+	(func_mode_link): Prepend paths in $libdir with the sysroot.  Further,
+	replace the sysroot with = (using func_replace_sysroot) whenever
+	such a path is written in a .la file.
+
+	process postdeps to include sysrooted paths
+	* libltdl/m4/libtool.m4 (_LT_FUNC_STRIPNAME_CNF): New (from Charles Wilson).
+	(_LT_SYS_HIDDEN_LIBDEPS): Require it.  Use func_stripname_cnf to convert
+	sysroot (-L= and -R=) usage in postdeps.  Adjust the code because -L, -R
+	and -l flags will now always be separated from the rest of the argument.
+
+	handle sysrooted paths when reading dependencies to la files
+	* libltdl/config/ltmain.m4sh (func_mode_execute, func_mode_install,
+	func_mode_link): Whenever a .la file occurs in another .la file,
+	expand the sysroot path in it.
+
+2010-07-28  Paolo Bonzini  <bonzini@gnu.org>
+
+	teach libtool -L= and -R=
+	* libltdl/config/ltmain.m4sh (func_resolve_sysroot): New.
+	(func_mode_link): Always pass result of stripping -L and -R to
+	func_resolve_sysroot before using it.  Remove absolute path expansion
+	when func_resolve_sysroot subsumes it.  Expand sysroot in -rpath.
+	When processing dependent libraries also resolve sysroot paths there.
+
+	add --with-sysroot
+	* libltdl/m4/libtool.m4 (_LT_HOST_NONCANONICAL, _LT_WITH_SYSROOT): New.
+	(LT_SETUP): Require _LT_WITH_SYSROOT.
+
+	handle sysroot flags
+	* libltdl/config/ltmain.m4sh (func_mode_link): Recognize --sysroot
+	option.
+
 2010-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* NEWS: Only bootstrapping needs new Automake and Autoconf.
diff --git a/Makefile.am b/Makefile.am
index 85bad6a..ec654b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -504,7 +504,8 @@ TESTSUITE_AT	= tests/testsuite.at \
 		  tests/cmdline_wrap.at \
 		  tests/pic_flag.at \
 		  tests/darwin.at \
-		  tests/deplibs-mingw.at
+		  tests/deplibs-mingw.at \
+		  tests/sysroot.at
 
 EXTRA_DIST     += $(srcdir)/$(TESTSUITE) $(TESTSUITE_AT) $(srcdir)/tests/package.m4
 
diff --git a/NEWS b/NEWS
index 11ae6ca..a6e73c2 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,16 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
 
 * New features:
 
+  - Sysroot support.  This allows you to build cross-compiled packages
+    with the same prefix that will be used on the destination machine,
+    and still find dependent libraries under the compiler's "sysroot".
+    Without sysroot support, paths internal to the build system may leak
+    into the product of the build.
+
+    Sysroot support is disabled unless the --with-sysroot configure
+    option is passed to configure, because .la files generated with
+    sysroot support will _not_ be usable in general with older Libtools.
+
   - On non-cygwin Windows systems, we now lookup potential library
     file names without regard to file name case.
   - The old testsuite now uses the `parallel-tests' Automake test driver
diff --git a/doc/libtool.texi b/doc/libtool.texi
index f042a78..be7d3bf 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1723,12 +1723,18 @@ commands are also completed.
 @cindex finish mode
 @cindex mode, finish
 
-@dfn{Finish} mode helps system administrators install libtool libraries
-so that they can be located and linked into user programs.
-
-Each @var{mode-arg} is interpreted as the name of a library directory.
-Running this command may require superuser privileges, so the
-@option{--dry-run} option may be useful.
+@dfn{Finish} mode has two functions.  One is to help system administrators
+install libtool libraries so that they can be located and linked into
+user programs.  To invoke this functionality, pass the name of a library
+directory as @var{mode-arg}.  Running this command may require superuser
+privileges, and the @option{--dry-run} option may be useful.
+
+The second is to facilitate transferring libtool libraries to a native
+compilation environment after they were built in a cross-compilation
+environment.  Cross-compilation environments may rely on recent libtool
+features, and running libtool in finish mode will make it easier to
+work with older versions of libtool.  This task is performed whenever
+the @var{mode-arg} is a @samp{.la} file.
 
 @node Uninstall mode
 @section Uninstall mode
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index c6671a0..f23878e 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -546,6 +546,37 @@ func_source ()
 }
 
 
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot.  Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+  func_resolve_sysroot_result=$1
+  case $func_resolve_sysroot_result in
+  =*)
+    func_stripname '=' '' "$func_resolve_sysroot_result"
+    func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+    ;;
+  esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+  case "$lt_sysroot:$1" in
+  ?*:"$lt_sysroot"*)
+    func_stripname "$lt_sysroot" '' "$1"
+    func_replace_sysroot_result="=$func_stripname_result"
+    ;;
+  *)
+    # Including no sysroot.
+    func_replace_sysroot_result=$1
+    ;;
+  esac
+}
+
 # func_infer_tag arg
 # Infer tagged configuration to use if any are available and
 # if one wasn't chosen via the "--tag" command line option.
@@ -1231,6 +1262,9 @@ func_mode_execute ()
       dir=
       case $file in
       *.la)
+	func_resolve_sysroot "$file"
+	file=$func_resolve_sysroot_result
+
 	# Check to see that this really is a libtool archive.
 	func_lalib_unsafe_p "$file" \
 	  || func_fatal_help "\`$lib' is not a valid libtool archive"
@@ -1348,15 +1382,52 @@ test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
 func_mode_finish ()
 {
     $opt_debug
-    libdirs="$nonopt"
+    libs=
+    libdirs=
     admincmds=
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      for dir
-      do
-	func_append libdirs " $dir"
-      done
+    for opt in "$nonopt" ${1+"$@"}
+    do
+      if test -d "$opt"; then
+	func_append libdirs " $opt"
+
+      elif test -f "$opt"; then
+	if func_lalib_unsafe_p "$opt"; then
+	  func_append libs " $opt"
+	else
+	  func_warning "\`$opt' is not a valid libtool archive"
+	fi
+
+      else
+	func_fatal_error "invalid argument \`$opt'"
+      fi
+    done
 
+    if test -n "$libs"; then
+      if test -n "$lt_sysroot"; then
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+        sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+      else
+        sysroot_cmd=
+      fi
+
+      # Remove sysroot references
+      if $opt_dry_run; then
+        for lib in $libs; do
+          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+        done
+      else
+        tmpdir=`func_mktempdir`
+        for lib in $libs; do
+	  sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+	    > $tmpdir/tmp-la
+	  mv -f $tmpdir/tmp-la $lib
+	done
+        ${RM}r "$tmpdir"
+      fi
+    fi
+
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
       for libdir in $libdirs; do
 	if test -n "$finish_cmds"; then
 	  # Do each command in the finish commands.
@@ -1375,49 +1446,51 @@ func_mode_finish ()
     # Exit here if they wanted silent mode.
     $opt_silent && exit $EXIT_SUCCESS
 
-    echo "----------------------------------------------------------------------"
-    echo "Libraries have been installed in:"
-    for libdir in $libdirs; do
-      $ECHO "   $libdir"
-    done
-    echo
-    echo "If you ever happen to want to link against installed libraries"
-    echo "in a given directory, LIBDIR, you must either use libtool, and"
-    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
-    echo "flag during linking and do at least one of the following:"
-    if test -n "$shlibpath_var"; then
-      echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
-      echo "     during execution"
-    fi
-    if test -n "$runpath_var"; then
-      echo "   - add LIBDIR to the \`$runpath_var' environment variable"
-      echo "     during linking"
-    fi
-    if test -n "$hardcode_libdir_flag_spec"; then
-      libdir=LIBDIR
-      eval flag=\"$hardcode_libdir_flag_spec\"
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+      echo "----------------------------------------------------------------------"
+      echo "Libraries have been installed in:"
+      for libdir in $libdirs; do
+	$ECHO "   $libdir"
+      done
+      echo
+      echo "If you ever happen to want to link against installed libraries"
+      echo "in a given directory, LIBDIR, you must either use libtool, and"
+      echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+      echo "flag during linking and do at least one of the following:"
+      if test -n "$shlibpath_var"; then
+	echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+	echo "     during execution"
+      fi
+      if test -n "$runpath_var"; then
+	echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+	echo "     during linking"
+      fi
+      if test -n "$hardcode_libdir_flag_spec"; then
+	libdir=LIBDIR
+	eval flag=\"$hardcode_libdir_flag_spec\"
 
-      $ECHO "   - use the \`$flag' linker flag"
-    fi
-    if test -n "$admincmds"; then
-      $ECHO "   - have your system administrator run these commands:$admincmds"
-    fi
-    if test -f /etc/ld.so.conf; then
-      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
-    fi
-    echo
+	$ECHO "   - use the \`$flag' linker flag"
+      fi
+      if test -n "$admincmds"; then
+	$ECHO "   - have your system administrator run these commands:$admincmds"
+      fi
+      if test -f /etc/ld.so.conf; then
+	echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+      fi
+      echo
 
-    echo "See any operating system documentation about shared libraries for"
-    case $host in
-      solaris2.[6789]|solaris2.1[0-9])
-        echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
-	echo "pages."
-	;;
-      *)
-        echo "more information, such as the ld(1) and ld.so(8) manual pages."
-        ;;
-    esac
-    echo "----------------------------------------------------------------------"
+      echo "See any operating system documentation about shared libraries for"
+      case $host in
+	solaris2.[6789]|solaris2.1[0-9])
+	  echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+	  echo "pages."
+	  ;;
+	*)
+	  echo "more information, such as the ld(1) and ld.so(8) manual pages."
+	  ;;
+      esac
+      echo "----------------------------------------------------------------------"
+    fi
     exit $EXIT_SUCCESS
 }
 
@@ -1582,6 +1655,9 @@ func_mode_install ()
 	;;
 
       *.la)
+	func_resolve_sysroot "$file"
+	file=$func_resolve_sysroot_result
+
 	# Check to see that this really is a libtool archive.
 	func_lalib_unsafe_p "$file" \
 	  || func_fatal_help "\`$file' is not a valid libtool archive"
@@ -4342,15 +4418,16 @@ func_mode_link ()
 	;;
 
       -L*)
-	func_stripname '-L' '' "$arg"
-	dir=$func_stripname_result
-	if test -z "$dir"; then
+	func_stripname "-L" '' "$arg"
+	if test -z "$func_stripname_result"; then
 	  if test "$#" -gt 0; then
 	    func_fatal_error "require no space between \`-L' and \`$1'"
 	  else
 	    func_fatal_error "need path for \`-L' option"
 	  fi
 	fi
+	func_resolve_sysroot "$func_stripname_result"
+	dir=$func_resolve_sysroot_result
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
@@ -4362,9 +4439,15 @@ func_mode_link ()
 	  ;;
 	esac
 	case "$deplibs " in
-	*" -L$dir "*) ;;
+	*" -L$dir "* | *" $arg "*)
+	  # Will only happen for absolute or sysroot arguments
+	  ;;
 	*)
-	  func_append deplibs " -L$dir"
+	  # Preserve sysroot, but never include relative directories
+	  case $dir in
+	    [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+	    *) func_append deplibs " -L$dir" ;;
+	  esac
 	  func_append lib_search_path " $dir"
 	  ;;
 	esac
@@ -4435,7 +4518,7 @@ func_mode_link ()
       # Tru64 UNIX uses -model [arg] to determine the layout of C++
       # classes, name mangling, and exception handling.
       # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch|-isysroot)
+      -model|-arch|-isysroot|--sysroot)
 	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"
@@ -4516,6 +4599,10 @@ func_mode_link ()
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+	=*)
+	  func_stripname '=' '' "$dir"
+	  dir=$lt_sysroot$func_stripname_result
+	  ;;
 	*)
 	  func_fatal_error "only absolute run-paths are allowed"
 	  ;;
@@ -4632,8 +4719,9 @@ func_mode_link ()
       # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
       # @file                GCC response files
       # -tp=*                Portland pgcc target processor selection
+      # --sysroot=*          for sysroot support
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
@@ -4746,16 +4834,17 @@ func_mode_link ()
       *.la)
 	# A libtool-controlled library.
 
+	func_resolve_sysroot "$arg"
 	if test "$prev" = dlfiles; then
 	  # This library was specified with -dlopen.
-	  func_append dlfiles " $arg"
+	  func_append dlfiles " $func_resolve_sysroot_result"
 	  prev=
 	elif test "$prev" = dlprefiles; then
 	  # The library was specified with -dlpreopen.
-	  func_append dlprefiles " $arg"
+	  func_append dlprefiles " $func_resolve_sysroot_result"
 	  prev=
 	else
-	  func_append deplibs " $arg"
+	  func_append deplibs " $func_resolve_sysroot_result"
 	fi
 	continue
 	;;
@@ -4909,8 +4998,9 @@ func_mode_link ()
 	for lib in $dlprefiles; do
 	  # Ignore non-libtool-libs
 	  dependency_libs=
+	  func_resolve_sysroot "$lib"
 	  case $lib in
-	  *.la)	func_source "$lib" ;;
+	  *.la)	func_source "$func_resolve_sysroot_result" ;;
 	  esac
 
 	  # Collect preopened libtool deplibs, except any this library
@@ -5043,7 +5133,8 @@ func_mode_link ()
 	    test "$pass" = conv && continue
 	    newdependency_libs="$deplib $newdependency_libs"
 	    func_stripname '-L' '' "$deplib"
-	    func_append newlib_search_path " $func_stripname_result"
+	    func_resolve_sysroot "$func_stripname_result"
+	    func_append newlib_search_path " $func_resolve_sysroot_result"
 	    ;;
 	  prog)
 	    if test "$pass" = conv; then
@@ -5057,7 +5148,8 @@ func_mode_link ()
 	      finalize_deplibs="$deplib $finalize_deplibs"
 	    fi
 	    func_stripname '-L' '' "$deplib"
-	    func_append newlib_search_path " $func_stripname_result"
+	    func_resolve_sysroot "$func_stripname_result"
+	    func_append newlib_search_path " $func_resolve_sysroot_result"
 	    ;;
 	  *)
 	    func_warning "\`-L' is ignored for archives/objects"
@@ -5068,7 +5160,8 @@ func_mode_link ()
 	-R*)
 	  if test "$pass" = link; then
 	    func_stripname '-R' '' "$deplib"
-	    dir=$func_stripname_result
+	    func_resolve_sysroot "$func_stripname_result"
+	    dir=$func_resolve_sysroot_result
 	    # Make sure the xrpath contains only unique directories.
 	    case "$xrpath " in
 	    *" $dir "*) ;;
@@ -5078,7 +5171,10 @@ func_mode_link ()
 	  deplibs="$deplib $deplibs"
 	  continue
 	  ;;
-	*.la) lib="$deplib" ;;
+	*.la)
+	  func_resolve_sysroot "$deplib"
+	  lib=$func_resolve_sysroot_result
+	  ;;
 	*.$libext)
 	  if test "$pass" = conv; then
 	    deplibs="$deplib $deplibs"
@@ -5275,14 +5371,14 @@ func_mode_link ()
 
 	# Find the relevant object directory and library name.
 	if test "X$installed" = Xyes; then
-	  if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+	  if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
 	    func_warning "library \`$lib' was moved."
 	    dir="$ladir"
 	    absdir="$abs_ladir"
 	    libdir="$abs_ladir"
 	  else
-	    dir="$libdir"
-	    absdir="$libdir"
+	    dir="$lt_sysroot$libdir"
+	    absdir="$lt_sysroot$libdir"
 	  fi
 	  test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
 	else
@@ -5376,7 +5472,8 @@ func_mode_link ()
 	  for deplib in $dependency_libs; do
 	    case $deplib in
 	    -L*) func_stripname '-L' '' "$deplib"
-	         func_append newlib_search_path " $func_stripname_result"
+	         func_resolve_sysroot "$func_stripname_result"
+	         func_append newlib_search_path " $func_resolve_sysroot_result"
 		 ;;
 	    esac
 	    # Need to link against all dependency_libs?
@@ -5777,12 +5874,18 @@ func_mode_link ()
 	  tmp_libs=
 	  for deplib in $dependency_libs; do
 	    newdependency_libs="$deplib $newdependency_libs"
+	    case $deplib in
+              -L*) func_stripname '-L' '' "$deplib"
+                   func_resolve_sysroot "$func_stripname_result";;
+              *) func_resolve_sysroot "$deplib" ;;
+            esac
 	    if $opt_preserve_dup_deps ; then
 	      case "$tmp_libs " in
-	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+	      *" $func_resolve_sysroot_result "*)
+                func_append specialdeplibs " $func_resolve_sysroot_result" ;;
 	      esac
 	    fi
-	    func_append tmp_libs " $deplib"
+	    func_append tmp_libs " $func_resolve_sysroot_result"
 	  done
 
 	  if test "$link_all_deplibs" != no; then
@@ -5792,8 +5895,10 @@ func_mode_link ()
 	      case $deplib in
 	      -L*) path="$deplib" ;;
 	      *.la)
+	        func_resolve_sysroot "$deplib"
+	        deplib=$func_resolve_sysroot_result
 	        func_dirname "$deplib" "" "."
-		dir="$func_dirname_result"
+		dir=$func_dirname_result
 		# We need an absolute path.
 		case $dir in
 		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
@@ -6338,7 +6443,8 @@ func_mode_link ()
 	# If the user specified any rpath flags, then add them.
 	temp_xrpath=
 	for libdir in $xrpath; do
-	  func_append temp_xrpath " -R$libdir"
+	  func_replace_sysroot "$libdir"
+	  func_append temp_xrpath " -R$func_replace_sysroot_result"
 	  case "$finalize_rpath " in
 	  *" $libdir "*) ;;
 	  *) func_append finalize_rpath " $libdir" ;;
@@ -6796,6 +6902,8 @@ EOF
 	  for libdir in $rpath; do
 	    if test -n "$hardcode_libdir_flag_spec"; then
 	      if test -n "$hardcode_libdir_separator"; then
+		func_replace_sysroot "$libdir"
+		libdir=$func_replace_sysroot_result
 		if test -z "$hardcode_libdirs"; then
 		  hardcode_libdirs="$libdir"
 		else
@@ -8004,7 +8112,17 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
-		func_append newdependency_libs " $libdir/$name"
+		func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+		;;
+	      -L*)
+		func_stripname -L '' "$deplib"
+		func_replace_sysroot "$func_stripname_result"
+		func_append newdependency_libs " -L$func_replace_sysroot_result"
+		;;
+	      -R*)
+		func_stripname -R '' "$deplib"
+		func_replace_sysroot "$func_stripname_result"
+		func_append newdependency_libs " -R$func_replace_sysroot_result"
 		;;
 	      *) func_append newdependency_libs " $deplib" ;;
 	      esac
@@ -8020,7 +8138,7 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$lib' is not a valid libtool archive"
-		func_append newdlfiles " $libdir/$name"
+		func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
 		;;
 	      *) func_append newdlfiles " $lib" ;;
 	      esac
@@ -8039,7 +8157,7 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$lib' is not a valid libtool archive"
-		func_append newdlprefiles " $libdir/$name"
+		func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
 		;;
 	      esac
 	    done
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 891a9f8..5bf28b7 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -173,6 +173,7 @@ m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
 
 _LT_CONFIG_LIBTOOL_INIT([
 # See if we are running on zsh, and set the options which allow our
@@ -1166,6 +1167,39 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 ])# _LT_PROG_ECHO_BACKSLASH
 
 
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[  --with-sysroot[=DIR] Search for dependent libraries within DIR
+                        (or the compiler's sysroot if not specified).],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted.  We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+   if test "$GCC" = yes; then
+     lt_sysroot=`$GCC --print-sysroot 2>/dev/null`
+   fi
+   ;; #(
+ /*)
+   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+   ;; #(
+ no|'')
+   ;; #(
+ *)
+   AC_MSG_RESULT([${with_sysroot}])
+   AC_MSG_ERROR([The sysroot must be an absolute path.])
+   ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and in which our libraries should be installed.])])
+
 # _LT_ENABLE_LOCK
 # ---------------
 m4_defun([_LT_ENABLE_LOCK],
@@ -6686,6 +6720,29 @@ AC_LANG_POP
 ])# _LT_LANG_CXX_CONFIG
 
 
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+  case ${2} in
+  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+  esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 # ---------------------------------
 # Figure out "hidden" library dependencies from verbose
@@ -6694,6 +6751,7 @@ AC_LANG_POP
 # objects, libraries and library flags.
 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
 # Dependencies to place before and after the object being linked:
 _LT_TAGVAR(predep_objects, $1)=
 _LT_TAGVAR(postdep_objects, $1)=
@@ -6764,13 +6822,22 @@ if AC_TRY_EVAL(ac_compile); then
           test $p = "-R"; then
 	 prev=$p
 	 continue
-       else
-	 prev=
        fi
 
+       # Expand the sysroot to ease extracting the directories later.
+       if test -z "$prev"; then
+         case $p in
+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+         esac
+       fi
+       case $p in
+       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+       esac
        if test "$pre_test_object_deps_done" = no; then
-	 case ${prev}${p} in
-	 -L* | -R*)
+	 case ${prev} in
+	 -L | -R)
 	   # Internal compiler library paths should come after those
 	   # provided the user.  The postdeps already come after the
 	   # user supplied libs so there is no need to process them.
@@ -6790,6 +6857,7 @@ if AC_TRY_EVAL(ac_compile); then
 	   _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
 	 fi
        fi
+       prev=
        ;;
 
     *.$objext)
diff --git a/tests/sysroot.at b/tests/sysroot.at
new file mode 100644
index 0000000..c0ac6d1
--- /dev/null
+++ b/tests/sysroot.at
@@ -0,0 +1,208 @@
+# static.at -- test flags for sysrooting          -*- Autotest -*-
+#
+#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   Written by Paolo Bonzini, 2009
+#
+#   This file is part of GNU Libtool.
+#
+# GNU Libtool 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 2 of
+# the License, or (at your option) any later version.
+#
+# GNU Libtool 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 GNU Libtool; see the file COPYING.  If not, a copy
+# can be downloaded from  http://www.gnu.org/licenses/gpl.html,
+# or obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+####
+
+m4_define([SYSROOT_TEST], [
+AT_SETUP([$1])
+AT_KEYWORDS([libtool sysroot])
+
+gcc_sysroot=`$CC --print-sysroot 2> /dev/null`
+if test $? != 0; then
+  gcc_sysroot=
+fi
+AT_CHECK([test -n "$gcc_sysroot" || exit 77])
+
+# Detect installation prefix for the compiler
+prefix=
+for i in crt1.o crt2.o crti.o; do
+  j=`$CC --print-file-name $i 2> /dev/null`
+  test $? = 0 || continue
+  case "$j" in
+    $gcc_sysroot*/lib/$i)
+      prefix=`echo "$j" | sed "s,^$gcc_sysroot\\(.*\\)/lib/$i\$,\\1,"`
+      break ;;
+  esac
+done
+AT_CHECK([test -n "$prefix" || exit 77])
+
+sysroot=`pwd`/sys-root
+
+# difficult to use AS_DIRNAME inside the AT_CHECK macro, so
+# encapsulate as a shell function.
+local_dirname() {
+  AS_DIRNAME(["$[]1"])
+}
+
+AT_CHECK([
+(cd "$gcc_sysroot" && find ".$prefix/bin" ".$prefix/include" ".$prefix/lib" \! -type d) | \
+while read file; do
+  dir=`local_dirname "$sysroot/$file"`
+  test -d "$dir" || mkdir -p "$dir"
+  rm -f "$sysroot/$file"
+  ln -s "$gcc_sysroot/$file" "$sysroot/$file" || \
+    cp "$gcc_sysroot/$file" "$sysroot/$file"
+done])
+
+LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
+configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
+
+#???
+if test "$shlibpath_var" = PATH; then
+  configure_options="$configure_options --libdir=/$prefix/bin"
+fi
+
+AT_CHECK([mkdir lib1 lib2 prog])
+
+# Build and install package 1.
+AT_DATA([lib1/configure.ac],
+[[AC_INIT([lib1], [1.0])
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_CC
+AC_CONFIG_SRCDIR([lib1.c])
+LT_INIT
+AC_OUTPUT(Makefile)
+]])
+
+AT_DATA([lib1/Makefile.am],
+[[lib_LTLIBRARIES = lib1.la
+lib1_la_SOURCES = lib1.c
+lib1_la_LDFLAGS = -rpath $(libdir)
+]])
+
+AT_DATA([lib1/lib1.c],
+[[#include <string.h>
+#include <stdlib.h>
+char *f(const char *s)
+{
+  return strdup (s);
+}
+]])
+
+cd lib1
+LT_AT_BOOTSTRAP([], [-I $abs_top_srcdir/libltdl/m4], [ignore],
+	        [--add-missing], [], [], [all])
+
+AT_CHECK([$MAKE install DESTDIR=$sysroot], [0], [ignore], [ignore])
+AT_CHECK([test -f "$sysroot/$prefix/lib/lib1.la"])
+AT_CHECK([grep -F "$sysroot" "$sysroot/$prefix/lib/lib1.la"], [1])
+cd ..
+
+# Build and install package 2.
+AT_DATA([lib2/configure.ac],
+[[AC_INIT([lib2], [1.0])
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_CC
+AC_CONFIG_SRCDIR([lib2.c])
+LT_INIT
+sysroot=$with_sysroot
+AC_SUBST([sysroot])
+AC_OUTPUT(Makefile)
+]])
+
+AT_DATA([lib2/Makefile.am],
+[[lib_LTLIBRARIES = lib2.la
+lib2_la_SOURCES = lib2.c
+lib2_la_LDFLAGS = -rpath $(libdir)
+lib2_la_LIBADD = $2]1[$3
+]])
+
+AT_DATA([lib2/lib2.c],
+[[#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+extern char *f(const char *s);
+char *g(const char *s)
+{
+  char *q = f(s);
+  puts (q);
+  return q;
+}
+]])
+
+cd lib2
+LT_AT_BOOTSTRAP([], [-I $abs_top_srcdir/libltdl/m4], [ignore],
+	        [--add-missing], [], [], [all])
+
+AT_CHECK([$MAKE install DESTDIR=$sysroot], [0], [ignore], [ignore])
+AT_CHECK([test -f $sysroot/$prefix/lib/lib2.la])
+AT_CHECK([grep -F "$sysroot" "$sysroot/$prefix/lib/lib2.la"], [1])
+cd ..
+
+# Build and install a program.
+AT_DATA([prog/configure.ac],
+[[AC_INIT([prog], [1.0])
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_CC
+AC_CONFIG_SRCDIR([prog.c])
+LT_INIT
+sysroot=$with_sysroot
+AC_SUBST([sysroot])
+AC_OUTPUT(Makefile)
+]])
+
+AT_DATA([prog/Makefile.am],
+[[bin_PROGRAMS = prog
+prog_SOURCES = prog.c
+prog_LDADD = $2]2[$3
+]])
+
+AT_DATA([prog/prog.c],
+[[#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+extern char *g(const char *s);
+int main()
+{
+  char *q = g("hello world");
+  free (q);
+  return 0;
+}
+]])
+
+cd prog
+LT_AT_BOOTSTRAP([], [-I $abs_top_srcdir/libltdl/m4], [ignore],
+	        [--add-missing], [], [], [all])
+
+AT_CHECK([$MAKE install DESTDIR=$sysroot], [0], [ignore], [ignore])
+AT_CHECK([test -f $sysroot/$prefix/bin/prog$EXEEXT])
+AT_CHECK([grep -F "$sysroot" "$sysroot/$prefix/bin/prog$EXEEXT"], [1])
+AT_CHECK([grep "'.*=" $sysroot/$prefix/lib/lib2.la], [0], [ignore])
+AT_CHECK([./libtool --mode=finish $sysroot/$prefix/lib/lib@<:@12@:>@.la], [0], [ignore])
+AT_CHECK([grep "'.*=" $sysroot/$prefix/lib/lib@<:@12@:>@.la], [1])
+
+# missing tests
+# 1) pass absolute .la files
+# 2) pass absolute -L
+# 2) pass relative .la files
+
+cd ..
+AT_CLEANUP
+])
+
+AT_BANNER([sysroot tests])
+SYSROOT_TEST([-L=.../lib -l],	      [-L=$(libdir) -l], [])
+SYSROOT_TEST([-L SYSROOT/.../lib -l], [-L$(sysroot)$(libdir) -l], [])
+SYSROOT_TEST([SYSROOT/.../*.la],      [$(sysroot)$(libdir)/lib], [.la])
+
+dnl This one does not make sense.
+dnl SYSROOT_TEST([=.../*.la],	      [=$(libdir)/lib], [.la])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 06:19:47 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpIVn-000273-FS
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 06:19:47 -0400
Received: from [140.186.70.92] (port=57658 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpIVb-0001XW-9h
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 06:19:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIKd-0004ar-4n
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 06:08:20 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:56529
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIKd-0004al-33
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 06:08:15 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIKc-0007Sx-Sr
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:08:14 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIKc-0002zi-A2
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:08:14 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 8f5c58990dd80e4505d057a3deefcf63c8bd31e0
X-Git-Newrev: 2680f79c22e6bb1f8b9c7b5428da728b7e028b0c
Message-Id: <E1OpIKc-0002zi-A2@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 10:08:14 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-122-g2680f79
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 10:19:44 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  2680f79c22e6bb1f8b9c7b5428da728b7e028b0c (commit)
      from  8f5c58990dd80e4505d057a3deefcf63c8bd31e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2680f79c22e6bb1f8b9c7b5428da728b7e028b0c
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 28 11:34:24 2010 +0200

    Fix AC_LANG_PROGRAM warnings from git Autoconf.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
    underquoted AC_LANG_PROGRAM call.
    (LT_PROG_AR): Use AC_LANG_PROGRAM.
    (_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
    given language.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   10 ++++++++++
 NEWS                  |    3 +++
 libltdl/m4/libtool.m4 |   17 +++++++++++++----
 3 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 036eb2d..8e07775 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix AC_LANG_PROGRAM warnings from git Autoconf.
+	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
+	underquoted AC_LANG_PROGRAM call.
+	(LT_PROG_AR): Use AC_LANG_PROGRAM.
+	(_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
+	given language.
+	* NEWS: Update.
+
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	fix AIX testsuite regression
diff --git a/NEWS b/NEWS
index a6e73c2..ba7ce00 100644
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,9 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
 
   - The `check-interactive' and `check-noninteractive' convenience make
     targets now also work for the old testsuite.
+  - Warnings from Autoconf v2.67-36-g1e604ec about incomplete programs
+    passed to AC_*_IFELSE tests have been fixed.
+  - On IRIX, the test for -Wl,-exported_symbol now also works with gfortran.
 
 New in 2.2.10 2010-06-10: git version 2.2.9a, Libtool team:
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 5bf28b7..efb20de 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1083,7 +1083,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
 AC_CACHE_VAL([lt_cv_aix_libpath],
-[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+[AC_LINK_IFELSE([AC_LANG_PROGRAM],[
 lt_aix_libpath_sed='
     /Import File Strings/,/^$/ {
 	/^0/ {
@@ -1357,7 +1357,7 @@ _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
 
 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
   [lt_cv_ar_at_file=no
-   AC_COMPILE_IFELSE([[int some_variable = 0;]],
+   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
      [echo conftest.$ac_objext > conftest.lst
       am_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
       AC_TRY_EVAL([am_ar_try])
@@ -5163,9 +5163,18 @@ _LT_EOF
 	# implicitly export all symbols.
         save_LDFLAGS="$LDFLAGS"
         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-        AC_LINK_IFELSE(int foo(void) {},
+        AC_LINK_IFELSE(
+          [AC_LANG_SOURCE(
+	     [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+			   [C++], [[int foo (void) { return 0; }]],
+			   [Fortran 77], [[
+       subroutine foo
+       end]],
+			   [Fortran], [[
+       subroutine foo
+       end]])])], [
           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
-        )
+        ])
         LDFLAGS="$save_LDFLAGS"
       else
 	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 06:24:04 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpIZw-0002Vl-EJ
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 06:24:04 -0400
Received: from [140.186.70.92] (port=57918 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpIZp-0002VY-QL
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 06:24:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIZo-0007uK-Qp
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 06:23:57 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:59130
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIZo-0007u6-Lc
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 06:23:56 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIZo-0007dr-5v
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:23:56 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpIZo-000422-0y
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:23:56 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2680f79c22e6bb1f8b9c7b5428da728b7e028b0c
X-Git-Newrev: 7f9878d026d0c251d57b3b8e0bf5891691ac3f96
Message-Id: <E1OpIZo-000422-0y@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 10:23:56 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-123-g7f9878d
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 10:24:02 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  7f9878d026d0c251d57b3b8e0bf5891691ac3f96 (commit)
      from  2680f79c22e6bb1f8b9c7b5428da728b7e028b0c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7f9878d026d0c251d57b3b8e0bf5891691ac3f96
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 28 12:22:36 2010 +0200

    Fix response file test for unreliable exit status of IRIX ar.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
    over a command-line argument specifying a nonexistent file (such
    as `@FILE'), so ensure failure with a reponse file containing
    a nonexistent file.  Also, use lt_* variable prefix for
    temporary variables.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    7 +++++++
 libltdl/m4/libtool.m4 |   11 ++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8e07775..4b77602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix response file test for unreliable exit status of IRIX ar.
+	* libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
+	over a command-line argument specifying a nonexistent file (such
+	as `@FILE'), so ensure failure with a reponse file containing
+	a nonexistent file.  Also, use lt_* variable prefix for
+	temporary variables.
+
 	Fix AC_LANG_PROGRAM warnings from git Autoconf.
 	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
 	underquoted AC_LANG_PROGRAM call.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index efb20de..305e2d8 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1359,10 +1359,15 @@ AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
   [lt_cv_ar_at_file=no
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
      [echo conftest.$ac_objext > conftest.lst
-      am_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
-      AC_TRY_EVAL([am_ar_try])
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
+      AC_TRY_EVAL([lt_ar_try])
       if test "$ac_status" -eq 0; then
-        lt_cv_ar_at_file=@
+	# Ensure the archiver fails upon bogus file names.
+	rm -f conftest.$ac_objext libconftest.a
+	AC_TRY_EVAL([lt_ar_try])
+	if test "$ac_status" -ne 0; then
+          lt_cv_ar_at_file=@
+        fi
       fi
       rm -f conftest.* libconftest.a
      ])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 08:20:00 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpKO8-0001UX-Bj
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 08:20:00 -0400
Received: from [140.186.70.92] (port=34985 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpKO5-0001UO-Tu
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:19:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKO4-0003tc-PU
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:19:57 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:52406
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKO4-0003tY-Ms
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:19:56 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKO4-0000bX-Bb
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 12:19:56 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKO4-00047Z-34
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 12:19:56 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7f9878d026d0c251d57b3b8e0bf5891691ac3f96
X-Git-Newrev: 82f2a825a7ec3d414d76b685b82cb81345e13d83
Message-Id: <E1OpKO4-00047Z-34@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 12:19:56 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-124-g82f2a82
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 12:19:59 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  82f2a825a7ec3d414d76b685b82cb81345e13d83 (commit)
      from  7f9878d026d0c251d57b3b8e0bf5891691ac3f96 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 82f2a825a7ec3d414d76b685b82cb81345e13d83
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 28 14:17:20 2010 +0200

    Fix quoting in non-XSI func_xform, for IRIX sh.
    
    * libltdl/config/ltmain.m4sh (func_xform): Remove spurious extra
    M4 quotes.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    4 ++++
 libltdl/config/ltmain.m4sh |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4b77602..af7c535 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix quoting in non-XSI func_xform, for IRIX sh.
+	* libltdl/config/ltmain.m4sh (func_xform): Remove spurious extra
+	M4 quotes.
+
 	Fix response file test for unreliable exit status of IRIX ar.
 	* libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
 	over a command-line argument specifying a nonexistent file (such
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index f23878e..a1f3b35 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -191,7 +191,7 @@ func_lo2o ()
 # func_xform libobj-or-source
 func_xform ()
 {
-    func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
+    func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
 } # func_xform may be replaced by extended shell implementation
 
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 08:45:33 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpKmr-0006dM-Qg
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 08:45:33 -0400
Received: from [140.186.70.92] (port=59043 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpKmp-0006dB-HX
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:45:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKmo-0006mB-9H
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:45:31 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54038
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKmo-0006m7-62
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 08:45:30 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKmn-0000yF-5B
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 12:45:29 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpKmk-0005eS-Fu
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 12:45:29 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 82f2a825a7ec3d414d76b685b82cb81345e13d83
X-Git-Newrev: 0373df7675e4a18f83951ff0c3aff3201a5b3b4f
Message-Id: <E1OpKmk-0005eS-Fu@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 12:45:26 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-125-g0373df7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 12:45:33 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  0373df7675e4a18f83951ff0c3aff3201a5b3b4f (commit)
      from  82f2a825a7ec3d414d76b685b82cb81345e13d83 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0373df7675e4a18f83951ff0c3aff3201a5b3b4f
Author: Dave Korn <dave.korn.cygwin@googlemail.com>
Date:   Sat Aug 28 14:43:02 2010 +0200

    Ensure cwrapper magic string is not optimized away.
    
    * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
    Declare MAGIC_EXE as volatile.
    Report by Charles Wilson.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    7 +++++++
 libltdl/config/ltmain.m4sh |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index af7c535..5df42d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-28  Dave Korn  <dave.korn.cygwin@googlemail.com>
+
+	Ensure cwrapper magic string is not optimized away.
+	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
+	Declare MAGIC_EXE as volatile.
+	Report by Charles Wilson.
+
 2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix quoting in non-XSI func_xform, for IRIX sh.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index a1f3b35..746718a 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -3181,7 +3181,7 @@ void lt_dump_script (FILE *f);
 EOF
 
 	    cat <<EOF
-const char * MAGIC_EXE = "$magic_exe";
+volatile const char * MAGIC_EXE = "$magic_exe";
 const char * LIB_PATH_VARNAME = "$shlibpath_var";
 EOF
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 09:21:00 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpLLA-0001xl-DF
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 09:21:00 -0400
Received: from [140.186.70.92] (port=55068 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpLL6-0001wn-PI
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:20:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpLL2-0002kt-8L
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:20:56 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:44801
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpLL2-0002km-5S
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 09:20:52 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpLL1-0001OB-TR
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 13:20:51 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpLL1-0006rX-Me
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 13:20:51 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0373df7675e4a18f83951ff0c3aff3201a5b3b4f
X-Git-Newrev: 5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae
Message-Id: <E1OpLL1-0006rX-Me@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 13:20:51 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-126-g5b79e16
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 13:20:59 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae (commit)
      from  0373df7675e4a18f83951ff0c3aff3201a5b3b4f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Apr 4 10:56:47 2010 +0200

    Uniform const'ness of symlist variable lt_preloaded_symbols.
    
    On some systems, lt_preloaded_symbols may not be declared
    const due to relocation issues.  C99 requires qualification to
    match for compatible declarations, so ensure we declare
    const'ness in the same way everywhere; link-time optimization
    may otherwise rightfully complain about inconsistencies.
    Since ltdl.h may not depend upon config.h, rely on system
    defines for choosing const'ness.
    
    * NEWS: Update.
    * doc/libtool.texi (Dlpreopening): Document this issue.
    * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
    [__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST
    according to system defines.  Remove old shell cruft.  Use
    LT_DLSYM_CONST for lt_${my_prefix}_LTX_preloaded_symbols.
    * libltdl/libltdl/lt_system.h (LT_DLSYM_CONST): Likewise,
    define LT_DLSYM_CONST according to system defines.
    * tests/demo/foo.h (LT_DLSYM_CONST): Likewise.
    * tests/pdemo/foo.h (LT_DLSYM_CONST): Likewise.
    * tests/demo/dlmain.c (lt_dlsymlist): Use LT_DLSYM_CONST.
    * tests/pdemo/longer_file_name_dlmain.c (lt_dlsymlist):
    Likewise.
    * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise
    for configure test code.
    * libltdl/ltdl.c (preloaded_symbols): Use LT_DLSYM_CONST.
    * libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Likewise.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                             |   28 ++++++++++++++++++++++++++++
 NEWS                                  |    3 +++
 doc/libtool.texi                      |    3 +++
 libltdl/config/ltmain.m4sh            |   33 ++++++++++++++-------------------
 libltdl/libltdl/lt_system.h           |   14 +++++++++++++-
 libltdl/ltdl.c                        |    2 +-
 libltdl/ltdl.h                        |    2 +-
 libltdl/m4/libtool.m4                 |   14 +++++++++++++-
 tests/demo/dlmain.c                   |    2 +-
 tests/demo/foo.h                      |   14 +++++++++++++-
 tests/pdemo/foo.h                     |   14 +++++++++++++-
 tests/pdemo/longer_file_name_dlmain.c |    2 +-
 12 files changed, 104 insertions(+), 27 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5df42d4..6537ede 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Uniform const'ness of symlist variable lt_preloaded_symbols.
+	On some systems, lt_preloaded_symbols may not be declared
+	const due to relocation issues.  C99 requires qualification to
+	match for compatible declarations, so ensure we declare
+	const'ness in the same way everywhere; link-time optimization
+	may otherwise rightfully complain about inconsistencies.
+	Since ltdl.h may not depend upon config.h, rely on system
+	defines for choosing const'ness.
+	* NEWS: Update.
+	* doc/libtool.texi (Dlpreopening): Document this issue.
+	* libltdl/config/ltmain.m4sh (func_generate_dlsyms):
+	[__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST
+	according to system defines.  Remove old shell cruft.  Use
+	LT_DLSYM_CONST for lt_${my_prefix}_LTX_preloaded_symbols.
+	* libltdl/libltdl/lt_system.h (LT_DLSYM_CONST): Likewise,
+	define LT_DLSYM_CONST according to system defines.
+	* tests/demo/foo.h (LT_DLSYM_CONST): Likewise.
+	* tests/pdemo/foo.h (LT_DLSYM_CONST): Likewise.
+	* tests/demo/dlmain.c (lt_dlsymlist): Use LT_DLSYM_CONST.
+	* tests/pdemo/longer_file_name_dlmain.c (lt_dlsymlist):
+	Likewise.
+	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise
+	for configure test code.
+	* libltdl/ltdl.c (preloaded_symbols): Use LT_DLSYM_CONST.
+	* libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Likewise.
+
 2010-08-28  Dave Korn  <dave.korn.cygwin@googlemail.com>
 
 	Ensure cwrapper magic string is not optimized away.
diff --git a/NEWS b/NEWS
index ba7ce00..688bdca 100644
--- a/NEWS
+++ b/NEWS
@@ -83,6 +83,9 @@ New in 2.2.7b 2010-05-20: git version 2.2.7a, Libtool team:
     options that begin with '--lt-*' from the argument list before launching
     (uninstalled) programs. Any '--lt-*' option on the command line not
     recognized by the wrapper will result in an error.
+  - The type of the symbol lists variables (lt_*_LTX_preloaded_symbols) has
+    been fixed in the manual and in a couple of tests to match the actual
+    implementation.
 
 * Changes in supported systems or compilers:
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index be7d3bf..a3f1c59 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3421,6 +3421,9 @@ The last element of all has a @var{name} and @var{address} of
 To facilitate inclusion of symbol lists into libraries,
 @code{lt_preloaded_symbols} is @samp{#define}d to a suitably unique name
 in @file{ltdl.h}.
+
+This variable may not be declared @code{const} on some systems due to
+relocation issues.
 @end deftypevar
 
 Some compilers may allow identifiers that are not valid in ANSI C, such
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 746718a..a7da74f 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2004,6 +2004,18 @@ extern \"C\" {
 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
 #endif
 
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 /* External symbol declarations for the compiler. */\
 "
 
@@ -2145,26 +2157,9 @@ typedef struct {
   const char *name;
   void *address;
 } lt_dlsymlist;
-"
-	  case $host in
-	  *cygwin* | *mingw* | *cegcc* )
-	    echo >> "$output_objdir/$my_dlsyms" "\
-/* DATA imports from DLLs on WIN32 con't be const, because
-   runtime relocations are performed -- see ld's documentation
-   on pseudo-relocs.  */"
-	    lt_dlsym_const= ;;
-	  *osf5*)
-	    echo >> "$output_objdir/$my_dlsyms" "\
-/* This system does not cope well with relocations in const data */"
-	    lt_dlsym_const= ;;
-	  *)
-	    lt_dlsym_const=const ;;
-	  esac
-
-	  echo >> "$output_objdir/$my_dlsyms" "\
-extern $lt_dlsym_const lt_dlsymlist
+extern LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[];
-$lt_dlsym_const lt_dlsymlist
+LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[] =
 {\
   { \"$my_originator\", (void *) 0 },"
diff --git a/libltdl/libltdl/lt_system.h b/libltdl/libltdl/lt_system.h
index dab2ab6..a8481d6 100644
--- a/libltdl/libltdl/lt_system.h
+++ b/libltdl/libltdl/lt_system.h
@@ -1,6 +1,6 @@
 /* lt_system.h -- system portability abstraction layer
 
-   Copyright (C) 2004, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2007, 2010 Free Software Foundation, Inc.
    Written by Gary V. Vaughan, 2004
 
    NOTE: The canonical source of this file is maintained with the
@@ -76,6 +76,18 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #  endif
 #endif
 
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 /* Canonicalise Windows and Cygwin recognition macros.
    To match the values set by recent Cygwin compilers, make sure that if
    __CYGWIN__ is defined (after canonicalisation), __WINDOWS__ is NOT!  */
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 992584c..be1e4c0 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -213,7 +213,7 @@ LT_BEGIN_C_DECLS
 LT_SCOPE const lt_dlvtable *	get_vtable (lt_user_data data);
 LT_END_C_DECLS
 #ifdef HAVE_LIBDLLOADER
-extern lt_dlsymlist		preloaded_symbols[];
+extern LT_DLSYM_CONST lt_dlsymlist preloaded_symbols[];
 #endif
 
 /* Initialize libltdl. */
diff --git a/libltdl/ltdl.h b/libltdl/ltdl.h
index 8b516ad..5154da1 100644
--- a/libltdl/ltdl.h
+++ b/libltdl/ltdl.h
@@ -103,7 +103,7 @@ LT_SCOPE int	lt_dlpreload_open    (const char *originator,
 
 #define lt_preloaded_symbols	lt__PROGRAM__LTX_preloaded_symbols
 #define LTDL_SET_PRELOADED_SYMBOLS() 			LT_STMT_START{	\
-	extern const lt_dlsymlist lt_preloaded_symbols[];		\
+	extern LT_DLSYM_CONST lt_dlsymlist lt_preloaded_symbols[];	\
 	lt_dlpreload_default(lt_preloaded_symbols);			\
 							}LT_STMT_END
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 305e2d8..2f62691 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3647,6 +3647,18 @@ _LT_EOF
       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 	  cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT@&t@_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT@&t@_DLSYM_CONST
+#else
+# define LT@&t@_DLSYM_CONST const
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -3658,7 +3670,7 @@ _LT_EOF
 	  cat <<_LT_EOF >> conftest.$ac_ext
 
 /* The mapping between symbol names and symbols.  */
-const struct {
+LT@&t@_DLSYM_CONST struct {
   const char *name;
   void       *address;
 }
diff --git a/tests/demo/dlmain.c b/tests/demo/dlmain.c
index c970998..8c8be09 100644
--- a/tests/demo/dlmain.c
+++ b/tests/demo/dlmain.c
@@ -34,7 +34,7 @@ typedef struct
   lt_ptr_t address;
 } lt_dlsymlist;
 
-extern const lt_dlsymlist lt_preloaded_symbols[];
+extern LT_DLSYM_CONST lt_dlsymlist lt_preloaded_symbols[];
 
 int
 main ()
diff --git a/tests/demo/foo.h b/tests/demo/foo.h
index 287f9c3..838264e 100644
--- a/tests/demo/foo.h
+++ b/tests/demo/foo.h
@@ -1,6 +1,6 @@
 /* foo.h -- interface to the libfoo library
 
-   Copyright (C) 1996-1999 Free Software Foundation, Inc.
+   Copyright (C) 1996-1999, 2010 Free Software Foundation, Inc.
    Written by Gord Matzigkeit, 1996
 
    This file is part of GNU Libtool.
@@ -62,6 +62,18 @@ or obtained by writing to the Free Software Foundation, Inc.,
 # define lt_ptr_t     char*
 #endif
 
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 /* Silly constants that the functions return. */
 #define HELLO_RET 0xe110
 #define FOO_RET 0xf00
diff --git a/tests/pdemo/foo.h b/tests/pdemo/foo.h
index f09db19..dd4e86d 100644
--- a/tests/pdemo/foo.h
+++ b/tests/pdemo/foo.h
@@ -1,6 +1,6 @@
 /* foo.h -- interface to the libfoo library
 
-   Copyright (C) 1996-1999 Free Software Foundation, Inc.
+   Copyright (C) 1996-1999, 2010 Free Software Foundation, Inc.
    Written by Gord Matzigkeit, 1996
 
    This file is part of GNU Libtool.
@@ -61,6 +61,18 @@ or obtained by writing to the Free Software Foundation, Inc.,
 # define lt_ptr_t     char*
 #endif
 
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 #ifdef __CYGWIN32__
 #  ifdef LIBFOO_DLL
      /* need some (as yet non-existant) automake magic to tell
diff --git a/tests/pdemo/longer_file_name_dlmain.c b/tests/pdemo/longer_file_name_dlmain.c
index ef1e4c5..ad223dc 100644
--- a/tests/pdemo/longer_file_name_dlmain.c
+++ b/tests/pdemo/longer_file_name_dlmain.c
@@ -34,7 +34,7 @@ typedef struct
   lt_ptr_t address;
 } lt_dlsymlist;
 
-extern const lt_dlsymlist lt_preloaded_symbols[];
+extern LT_DLSYM_CONST lt_dlsymlist lt_preloaded_symbols[];
 
 int
 main (int argc, char **argv)


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 10:56:23 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpMpS-0008N3-NO
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 10:56:22 -0400
Received: from [140.186.70.92] (port=53419 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpMpP-0008MJ-DN
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:56:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpMpN-0000Ba-Io
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:56:19 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49554
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpMpN-0000BW-FY
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 10:56:17 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpMpN-0002XW-5c
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 14:56:17 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpMpM-0003dh-Gt
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 14:56:17 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae
X-Git-Newrev: 877260ff043dd20fbfb3fe9eaa1d70d2280e42fa
Message-Id: <E1OpMpM-0003dh-Gt@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 14:56:16 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-127-g877260f
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 14:56:21 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  877260ff043dd20fbfb3fe9eaa1d70d2280e42fa (commit)
      from  5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 877260ff043dd20fbfb3fe9eaa1d70d2280e42fa
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Apr 4 10:57:04 2010 +0200

    Add $pic_flag to archive_cmds and archive_expsym_cmds.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
    <archive_cmds, archive_expsym_cmds>
    [GNU ld, netbsd]: Add $pic_flag if ELF.
    [GNU ld, solaris]: Likewise.
    [GNU ld, default case]: Likewise.
    [!GNU ld, freebsd, dragonfly]: Add $pic_flag.
    [!GNU ld, GCC, hpux9]: Add $pic_flag.
    [!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag
    [!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
    [!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag.
    [!GNU ld, GCC, osf4, osf5]: Likewise.
    [!GNU ld, GCC, solaris]: Likewise.
    (_LT_LANG_CXX_CONFIG) <archive_cmds, archive_expsym_cmds>
    [hpux9]: Add $pic_flag if $GXX.
    [hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
    [irix5, irix6]: Add $pic_flag if $GXX.
    [osf4, osf5]: Likewise.
    [solaris]: Add $pic_flag if $GXX and not GCC 2.7.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   20 ++++++++++++++++++++
 libltdl/m4/libtool.m4 |   48 ++++++++++++++++++++++++------------------------
 2 files changed, 44 insertions(+), 24 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6537ede..9b6d9e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,25 @@
 2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Add $pic_flag to archive_cmds and archive_expsym_cmds.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
+	<archive_cmds, archive_expsym_cmds>
+	[GNU ld, netbsd]: Add $pic_flag if ELF.
+	[GNU ld, solaris]: Likewise.
+	[GNU ld, default case]: Likewise.
+	[!GNU ld, freebsd, dragonfly]: Add $pic_flag.
+	[!GNU ld, GCC, hpux9]: Add $pic_flag.
+	[!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag
+	[!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
+	[!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag.
+	[!GNU ld, GCC, osf4, osf5]: Likewise.
+	[!GNU ld, GCC, solaris]: Likewise.
+	(_LT_LANG_CXX_CONFIG) <archive_cmds, archive_expsym_cmds>
+	[hpux9]: Add $pic_flag if $GXX.
+	[hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
+	[irix5, irix6]: Add $pic_flag if $GXX.
+	[osf4, osf5]: Likewise.
+	[solaris]: Add $pic_flag if $GXX and not GCC 2.7.
+
 	Uniform const'ness of symlist variable lt_preloaded_symbols.
 	On some systems, lt_preloaded_symbols may not be declared
 	const due to relocation issues.  C99 requires qualification to
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 2f62691..7e5022a 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4733,8 +4733,8 @@ _LT_EOF
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 	wlarc=
       else
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	_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'
       fi
       ;;
 
@@ -4752,8 +4752,8 @@ _LT_EOF
 
 _LT_EOF
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	_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'
       else
 	_LT_TAGVAR(ld_shlibs, $1)=no
       fi
@@ -4799,8 +4799,8 @@ _LT_EOF
 
     *)
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	_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'
       else
 	_LT_TAGVAR(ld_shlibs, $1)=no
       fi
@@ -5076,7 +5076,7 @@ _LT_EOF
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | dragonfly*)
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -5084,7 +5084,7 @@ _LT_EOF
 
     hpux9*)
       if test "$GCC" = yes; then
-	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       else
 	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       fi
@@ -5100,7 +5100,7 @@ _LT_EOF
 
     hpux10*)
       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else
 	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       fi
@@ -5124,10 +5124,10 @@ _LT_EOF
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	ia64*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	esac
       else
@@ -5174,7 +5174,7 @@ _LT_EOF
 
     irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $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 $libobjs $deplibs $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'
 	# Try to use the -exported_symbol ld option, if it does not
 	# work, assume that -exports_file does not work either and
 	# implicitly export all symbols.
@@ -5190,7 +5190,7 @@ _LT_EOF
 			   [Fortran], [[
        subroutine foo
        end]])])], [
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
         ])
         LDFLAGS="$save_LDFLAGS"
       else
@@ -5277,7 +5277,7 @@ _LT_EOF
     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       if test "$GCC" = yes; then
 	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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${allow_undefined_flag} $pic_flag $libobjs $deplibs $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(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
       else
 	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
@@ -5296,9 +5296,9 @@ _LT_EOF
       _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
       if test "$GCC" = yes; then
 	wlarc='${wl}'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	_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 ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else
 	case `$CC -V 2>&1` in
 	*"Compilers 5.0"*)
@@ -6119,7 +6119,7 @@ if test "$_lt_caught_CXX_error" != yes; then
             ;;
           *)
             if test "$GXX" = yes; then
-              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+              _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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
             else
               # FIXME: insert proper C++ library support
               _LT_TAGVAR(ld_shlibs, $1)=no
@@ -6190,10 +6190,10 @@ if test "$_lt_caught_CXX_error" != yes; then
 	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          ia64*)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${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}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          *)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${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 -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	        esac
 	      fi
@@ -6234,9 +6234,9 @@ if test "$_lt_caught_CXX_error" != yes; then
           *)
 	    if test "$GXX" = yes; then
 	      if test "$with_gnu_ld" = no; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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 -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'
 	      else
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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 -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'
 	      fi
 	    fi
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -6514,7 +6514,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	          _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 -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 -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'
 		  ;;
 	      esac
 
@@ -6601,9 +6601,9 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; 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 -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $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 -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -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


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 13:29:36 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpPDj-0003aN-J2
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 13:29:35 -0400
Received: from [140.186.70.92] (port=58857 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpPDg-0003UX-K0
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 13:29:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpOzk-0002fs-Eh
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 13:15:09 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:45857
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpOzk-0002fm-9M
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 13:15:08 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpOzj-0004F4-CP
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 17:15:07 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpOzi-0002Fj-VF
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 17:15:07 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 877260ff043dd20fbfb3fe9eaa1d70d2280e42fa
X-Git-Newrev: 6df45ac3ae21933d5f08c3bcbe3ab98a6df09391
Message-Id: <E1OpOzi-0002Fj-VF@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 17:15:06 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-128-g6df45ac
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 17:29:34 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  6df45ac3ae21933d5f08c3bcbe3ab98a6df09391 (commit)
      from  877260ff043dd20fbfb3fe9eaa1d70d2280e42fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6df45ac3ae21933d5f08c3bcbe3ab98a6df09391
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 28 17:30:01 2010 +0200

    Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
    
    * libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h,
    libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h:
    Change __WINDOWS__ to _WIN32.
    Report by Charles Wilson.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    6 ++++++
 libltdl/config/ltmain.m4sh  |    2 +-
 libltdl/libltdl/lt_system.h |    2 +-
 libltdl/m4/libtool.m4       |    2 +-
 tests/demo/foo.h            |    2 +-
 tests/pdemo/foo.h           |    2 +-
 6 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9b6d9e2..3df8e2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
+	* libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h,
+	libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h:
+	Change __WINDOWS__ to _WIN32.
+	Report by Charles Wilson.
+
 	Add $pic_flag to archive_cmds and archive_expsym_cmds.
 	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
 	<archive_cmds, archive_expsym_cmds>
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index a7da74f..1aa2e0b 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2005,7 +2005,7 @@ extern \"C\" {
 #endif
 
 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 /* DATA imports from DLLs on WIN32 con't be const, because runtime
    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 # define LT_DLSYM_CONST
diff --git a/libltdl/libltdl/lt_system.h b/libltdl/libltdl/lt_system.h
index a8481d6..f1545ce 100644
--- a/libltdl/libltdl/lt_system.h
+++ b/libltdl/libltdl/lt_system.h
@@ -77,7 +77,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #endif
 
 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 /* DATA imports from DLLs on WIN32 con't be const, because runtime
    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 # define LT_DLSYM_CONST
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 7e5022a..89e2e6a 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3648,7 +3648,7 @@ _LT_EOF
 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 	  cat <<_LT_EOF > conftest.$ac_ext
 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 /* DATA imports from DLLs on WIN32 con't be const, because runtime
    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 # define LT@&t@_DLSYM_CONST
diff --git a/tests/demo/foo.h b/tests/demo/foo.h
index 838264e..167096a 100644
--- a/tests/demo/foo.h
+++ b/tests/demo/foo.h
@@ -63,7 +63,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #endif
 
 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 /* DATA imports from DLLs on WIN32 con't be const, because runtime
    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 # define LT_DLSYM_CONST
diff --git a/tests/pdemo/foo.h b/tests/pdemo/foo.h
index dd4e86d..a2b2a4a 100644
--- a/tests/pdemo/foo.h
+++ b/tests/pdemo/foo.h
@@ -62,7 +62,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #endif
 
 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 /* DATA imports from DLLs on WIN32 con't be const, because runtime
    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 # define LT_DLSYM_CONST


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 17:46:09 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpTE1-0005Qk-MG
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 17:46:09 -0400
Received: from [140.186.70.92] (port=52346 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpTBC-0004nq-3U
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 17:46:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpTB3-0005vn-BT
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 17:43:07 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39878
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpTB3-0005vj-5y
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 17:43:05 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpTB2-0007UI-VT
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 21:43:05 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpTB2-0000AX-NT
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 21:43:04 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 6df45ac3ae21933d5f08c3bcbe3ab98a6df09391
X-Git-Newrev: fdd882b95b4fcc69067ddeb592a979b77f2b1c60
Message-Id: <E1OpTB2-0000AX-NT@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 28 Aug 2010 21:43:04 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-130-gfdd882b
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2010 21:46:07 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  fdd882b95b4fcc69067ddeb592a979b77f2b1c60 (commit)
       via  ac40b5f37ae68a7b4a254e43364e2d297f563310 (commit)
      from  6df45ac3ae21933d5f08c3bcbe3ab98a6df09391 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fdd882b95b4fcc69067ddeb592a979b77f2b1c60
Merge: ac40b5f 6df45ac
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sat Aug 28 17:41:32 2010 -0400

    Merge remote branch 'origin/master'

commit ac40b5f37ae68a7b4a254e43364e2d297f563310
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sun Jul 18 21:07:01 2010 -0400

    [cygwin|mingw|cross-compile]: Path conversion support.
    
    * configure.ac: Ensure to_host_file_cmd is available to Makefile.
    * TODO: Document QoI issue with file name conversion functions.
    * libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): New function
    sets libtool variable $to_host_file_cmd, and employs cache.
    (_LT_SETUP): Require it.
    * tests/testsuite.at: Ensure to_host_file_cmd is passed as a
    variable setting on the configure line for (new testsuite) tests.
    * Makefile.am (TESTS_ENVIRONMENT): Ensure to_host_file_cmd is
    included so that it is passed to (old testsuite) tests.
    * libltdl/config/general.m4sh: Define $lt_sed_naive_backslashify here.
    * libltdl/config/ltmain.m4sh ($to_host_file_cmd, $to_host_path_cmd):
    New variables.
    (func_cygpath): New function.
    (func_init_to_host_path_cmd): New function.
    (func_to_host_path): Renamed to...
    (func_to_host_file): Refactored to... (now uses $to_host_file_cmd).
    (func_convert_core_file_wine_to_w32): Here. New function.
    (func_convert_core_msys_to_w32): Here. New function.
    (func_convert_file_check): Here. New function.
    (func_convert_file_noop): Here. New function.
    (func_convert_file_msys_to_w32): Here. New function.
    (func_convert_file_cygwin_to_w32): Here. New function.
    (func_convert_file_nix_to_w32): Here. New function.
    (func_convert_file_msys_to_cygwin): New function.
    (func_convert_file_nix_to_cygwin): New function.
    (func_to_host_pathlist): Renamed to...
    (func_to_host_path): Refactored to... (now uses $to_host_path_cmd
    and func_init_to_host_path_cmd).
    (func_convert_path_check): Here. New function.
    (func_convert_path_front_back_pathsep): Here. New function.
    (func_convert_core_path_wine_to_w32): Here. New function.
    (func_convert_path_noop): Here. New function.
    (func_convert_path_msys_to_w32): Here. New function.
    (func_convert_path_cygwin_to_w32): Here. New function.
    (func_convert_path_nix_to_w32): Here. New function.
    (func_convert_path_msys_to_cygwin): New function.
    (func_convert_path_nix_to_cygwin): New function.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |   41 +++
 Makefile.am                 |    3 +-
 TODO                        |   49 ++++
 configure.ac                |    3 +
 libltdl/config/general.m4sh |    5 +
 libltdl/config/ltmain.m4sh  |  628 ++++++++++++++++++++++++++++++++-----------
 libltdl/m4/libtool.m4       |   50 ++++
 tests/testsuite.at          |    5 +-
 8 files changed, 618 insertions(+), 166 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3df8e2d..43d01f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,44 @@
+2010-08-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	[cygwin|mingw|cross-compile]: Path conversion support.
+	* configure.ac: Ensure to_host_file_cmd is available to Makefile.
+	* TODO: Document QoI issue with file name conversion functions.
+	* libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): New function
+	sets libtool variable $to_host_file_cmd, and employs cache.
+	(_LT_SETUP): Require it.
+	* tests/testsuite.at: Ensure to_host_file_cmd is passed as a
+	variable setting on the configure line for (new testsuite) tests.
+	* Makefile.am (TESTS_ENVIRONMENT): Ensure to_host_file_cmd is
+	included so that it is passed to (old testsuite) tests.
+	* libltdl/config/general.m4sh: Define $lt_sed_naive_backslashify here.
+	* libltdl/config/ltmain.m4sh ($to_host_file_cmd, $to_host_path_cmd):
+	New variables.
+	(func_cygpath): New function.
+	(func_init_to_host_path_cmd): New function.
+	(func_to_host_path): Renamed to...
+	(func_to_host_file): Refactored to... (now uses $to_host_file_cmd).
+	(func_convert_core_file_wine_to_w32): Here. New function.
+	(func_convert_core_msys_to_w32): Here. New function.
+	(func_convert_file_check): Here. New function.
+	(func_convert_file_noop): Here. New function.
+	(func_convert_file_msys_to_w32): Here. New function.
+	(func_convert_file_cygwin_to_w32): Here. New function.
+	(func_convert_file_nix_to_w32): Here. New function.
+	(func_convert_file_msys_to_cygwin): New function.
+	(func_convert_file_nix_to_cygwin): New function.
+	(func_to_host_pathlist): Renamed to...
+	(func_to_host_path): Refactored to... (now uses $to_host_path_cmd
+	and func_init_to_host_path_cmd).
+	(func_convert_path_check): Here. New function.
+	(func_convert_path_front_back_pathsep): Here. New function.
+	(func_convert_core_path_wine_to_w32): Here. New function.
+	(func_convert_path_noop): Here. New function.
+	(func_convert_path_msys_to_w32): Here. New function.
+	(func_convert_path_cygwin_to_w32): Here. New function.
+	(func_convert_path_nix_to_w32): Here. New function.
+	(func_convert_path_msys_to_cygwin): New function.
+	(func_convert_path_nix_to_cygwin): New function.
+
 2010-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
diff --git a/Makefile.am b/Makefile.am
index ec654b7..de3eafe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -520,7 +520,8 @@ TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
 	CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" CXXCPP="$(CXXCPP)" \
 	F77="$(F77)" FFLAGS="$(FFLAGS)" \
 	FC="$(FC)" FCFLAGS="$(FCFLAGS)" \
-	GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)"
+	GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" \
+	lt_cv_to_host_file_cmd="$(to_host_file_cmd)"
 
 BUILDCHECK_ENVIRONMENT = _lt_pkgdatadir="$(abs_top_srcdir)" \
 	LIBTOOLIZE="$(abs_top_builddir)/libtoolize" \
diff --git a/TODO b/TODO
index fda5764..ee43037 100644
--- a/TODO
+++ b/TODO
@@ -257,6 +257,55 @@ GNU Libtool
   a .def file so it appears that we might need to detect and handle mutual
   dependencies specially on win32 =(O|
 
+* 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
+    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
+    cygwin.  That's actually the break-even point, given the vagaries and
+    optimizations involved in these particular four platforms.
+
+    We have exactly five basic file name conversion functions (not counting
+    the wrappers that handle paths). For a non-quadratic M+N (from-X|to-Y)
+    solution, we'd need, I think, the same number of conversion functions: brute
+    force suggests nine (four to_*, four from_*, plus the noop), but then many
+    of the from_* and to_* would actually BE noop.
+
+    I'm assuming here that the "central" path-type is implicitly some sort of
+    unixish -- maybe cyg, maybe msys, maybe unix -- path-type.  The issue is
+    that each of the five conversion functions use a different TOOL to perform
+    the conversion, with different syntax.  So, trying to combine, e.g.
+      msys_to_mingw
+      cygwin_to_mingw
+      unix_to_mingw
+    into an all-encompassing "central_unixish_to_mingw" would require additional
+    m4 magic to basically replace the guts depending on whether $build was msys,
+    cygwin, or unix.  Worse, you can't really do a set of
+    {msys|cygwin|unix}_to_central_unixish that isn't simply a no-op -- because
+    (A) they already are all unixish, and (B) what tool would you use? How would
+    the later to_mingw function "know" how to covert this new representation to
+    mingw.  So, {msys|cygwin|unix}_to_central_unixish would simply be a no-op
+    and central_unixish_to_mingw would still do all the work (with its guts
+    customized based on $build).
+
+    For more reasonable cross environments (e.g. linux->some_embedded) I think
+    you could probably work out a general M+N scheme, since most embedded $hosts
+    aren't as strange as the win32 variants -- even VxWorks and INTEGRITY have
+    basic, unix-like file systems (although INTEGRITY does have multiple roots).
+    Aggressive use of the m4 function_replace machinery WOULD be appropriate for
+    /these/ conversion functions.  OTOH...(a) you can't run the $host apps on
+    $build anyway, in these embedded situations. At best you'd use $TARGETSHELL
+    and "run" them via a remote connection, and (b) they don't use the C
+    wrapper!
+
+    So...I don't think it makes much difference *right now* in the amount of
+    code required, or the number of functions implemented. At some point in the
+    future we might want to generalize to an M+N scheme.  For the existing win32
+    $hosts, all of the funtionality would be on "one side" of the 2-step
+    conversion; the "other side" would be noop.  But we won't worry about the
+    implicit quadratic complexity of the existing scheme for now.
 
 3. Wish List
 ============
diff --git a/configure.ac b/configure.ac
index 1a0db91..215a707 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,6 +199,9 @@ LT_LANG(Fortran)
 LT_LANG(Java)
 LT_LANG(Windows Resource)
 
+# Ensure the correct file name (and path) conversion function
+# is available to the test suite.
+AC_SUBST([to_host_file_cmd])dnl
 
 ## --------------------------- ##
 ## Work out which tests to run ##
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 595c57a..44a7ce9 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -319,6 +319,11 @@ double_quote_subst='s/\(["`\\]\)/\\\1/g'
 # string literally.
 sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
 
+# Sed substitution that converts a w32 file name or path
+# which contains forward slashes, into one that contains
+# (escaped) backslashes.  A very naive implementation.
+lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
 # in input to double_quote_subst, that '$' was protected from expansion.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 1aa2e0b..32860c7 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -677,6 +677,466 @@ EOF
     }
 }
 
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+  $opt_debug
+  func_convert_core_file_wine_to_w32_result="$1"
+  if test -n "$1"; then
+    # Unfortunately, winepath does not exit with a non-zero error code, so we
+    # are forced to check the contents of stdout. On the other hand, if the
+    # command is not found, the shell will set an exit code of 127 and print
+    # *an error message* to stdout. So we must check for both error code of
+    # zero AND non-empty stdout, which explains the odd construction:
+    func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+    if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
+      func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+        $SED -e "$lt_sed_naive_backslashify"`
+    else
+      func_convert_core_file_wine_to_w32_result=
+    fi
+  fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+  $opt_debug
+  # unfortunately, winepath doesn't convert paths, only file names 
+  func_convert_core_path_wine_to_w32_result=""
+  if test -n "$1"; then
+    oldIFS=$IFS
+    IFS=:
+    for func_convert_core_path_wine_to_w32_f in $1; do
+      IFS=$oldIFS
+      func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+      if test -n "$func_convert_core_file_wine_to_w32_result" ; then
+        if test -z "$func_convert_core_path_wine_to_w32_result"; then
+          func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
+        else
+          func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+        fi
+      fi
+    done
+    IFS=$oldIFS
+  fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+  $opt_debug
+  if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+    func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+    if test "$?" -ne 0; then
+      # on failure, ensure result is empty
+      func_cygpath_result=
+    fi
+  else
+    func_cygpath_result=
+    func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
+  fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format.  Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+  $opt_debug
+  # awkward: cmd appends spaces to result
+  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+    $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a path in $build format) was converted to $host format in
+# ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+  $opt_debug
+  if test -z "$2" && test -n "$1" ; then
+    func_error "Could not determine host path corresponding to"
+    func_error "  \`$1'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback:
+    func_to_host_file_result="$1"
+  fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+  $opt_debug
+  if test -z "$4" && test -n "$3"; then
+    func_error "Could not determine the host path(s) corresponding to"
+    func_error "  \`$3'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback.  This is a deliberately simplistic "conversion" and
+    # should not be "improved".  See libtool.info.
+    if test "x$1" != "x$2"; then
+      lt_replace_pathsep_chars="s|$1|$2|g"
+      func_to_host_path_result=`echo "$3" |
+        $SED -e "$lt_replace_pathsep_chars"`
+    else
+      func_to_host_path_result="$3"
+    fi
+  fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+  $opt_debug
+  case $4 in
+  $1 ) func_to_host_path_result="$3$func_to_host_path_result"
+    ;;
+  esac
+  case $4 in
+  $2 ) func_append func_to_host_path_result "$3"
+    ;;
+  esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via `$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+  $opt_debug
+  $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+  func_to_host_file_result="$1"
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_msys_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+    # LT_CYGPATH in this case.
+    func_to_host_file_result=`cygpath -m "$1"`
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format.  Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_file_wine_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_msys_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format.  Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set.  Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+    func_convert_core_file_wine_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via `$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format.  If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+#   file name conversion function    : func_convert_file_X_to_Y ()
+#   path conversion function         : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same.  If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+  $opt_debug
+  if test -z "$to_host_path_cmd"; then
+    func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+    to_host_path_cmd="func_convert_path_${func_stripname_result}"
+  fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+  $opt_debug
+  func_init_to_host_path_cmd
+  $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+  func_to_host_path_result="$1"
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from ARG.  MSYS
+    # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+    # and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_msys_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format.  Requires a wine environment and
+# a working winepath.  Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format.  Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set.  Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from
+    # ARG. msys behavior is inconsistent here, cygpath turns them
+    # into '.;' and ';.', and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
 # func_mode_compile arg...
 func_mode_compile ()
 {
@@ -2847,166 +3307,6 @@ fi\
 }
 
 
-# func_to_host_path arg
-#
-# Convert paths to host format when used with build tools.
-# Intended for use with "native" mingw (where libtool itself
-# is running under the msys shell), or in the following cross-
-# build environments:
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-# where wine is equipped with the `winepath' executable.
-# In the native mingw case, the (msys) shell automatically
-# converts paths for any non-msys applications it launches,
-# but that facility isn't available from inside the cwrapper.
-# Similar accommodations are necessary for $host mingw and
-# $build cygwin.  Calling this function does no harm for other
-# $host/$build combinations not listed above.
-#
-# ARG is the path (on $build) that should be converted to
-# the proper representation for $host. The result is stored
-# in $func_to_host_path_result.
-func_to_host_path ()
-{
-  func_to_host_path_result="$1"
-  if test -n "$1"; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        case $build in
-          *mingw* ) # actually, msys
-            # awkward: cmd appends spaces to result
-            func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
-              $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_path_result=`cygpath -w "$1" |
-	      $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # Unfortunately, winepath does not exit with a non-zero
-            # error code, so we are forced to check the contents of
-            # stdout. On the other hand, if the command is not
-            # found, the shell will set an exit code of 127 and print
-            # *an error message* to stdout. So we must check for both
-            # error code of zero AND non-empty stdout, which explains
-            # the odd construction:
-            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
-            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
-              func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
-                $SED -e "$lt_sed_naive_backslashify"`
-            else
-              # Allow warning below.
-              func_to_host_path_result=
-            fi
-            ;;
-        esac
-        if test -z "$func_to_host_path_result" ; then
-          func_error "Could not determine host path corresponding to"
-          func_error "  \`$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback:
-          func_to_host_path_result="$1"
-        fi
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_path
-
-# func_to_host_pathlist arg
-#
-# Convert pathlists to host format when used with build tools.
-# See func_to_host_path(), above. This function supports the
-# following $build/$host combinations (but does no harm for
-# combinations not listed here):
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-#
-# Path separators are also converted from $build format to
-# $host format. If ARG begins or ends with a path separator
-# character, it is preserved (but converted to $host format)
-# on output.
-#
-# ARG is a pathlist (on $build) that should be converted to
-# the proper representation on $host. The result is stored
-# in $func_to_host_pathlist_result.
-func_to_host_pathlist ()
-{
-  func_to_host_pathlist_result="$1"
-  if test -n "$1"; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        # Remove leading and trailing path separator characters from
-        # ARG. msys behavior is inconsistent here, cygpath turns them
-        # into '.;' and ';.', and winepath ignores them completely.
-	func_stripname : : "$1"
-        func_to_host_pathlist_tmp1=$func_stripname_result
-        case $build in
-          *mingw* ) # Actually, msys.
-            # Awkward: cmd appends spaces to result.
-            func_to_host_pathlist_result=`
-	      ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
-	      $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # unfortunately, winepath doesn't convert pathlists
-            func_to_host_pathlist_result=""
-            func_to_host_pathlist_oldIFS=$IFS
-            IFS=:
-            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
-              IFS=$func_to_host_pathlist_oldIFS
-              if test -n "$func_to_host_pathlist_f" ; then
-                func_to_host_path "$func_to_host_pathlist_f"
-                if test -n "$func_to_host_path_result" ; then
-                  if test -z "$func_to_host_pathlist_result" ; then
-                    func_to_host_pathlist_result="$func_to_host_path_result"
-                  else
-                    func_append func_to_host_pathlist_result ";$func_to_host_path_result"
-                  fi
-                fi
-              fi
-            done
-            IFS=$func_to_host_pathlist_oldIFS
-            ;;
-        esac
-        if test -z "$func_to_host_pathlist_result"; then
-          func_error "Could not determine the host path(s) corresponding to"
-          func_error "  \`$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback. This may break if $1 contains DOS-style drive
-          # specifications. The fix is not to complicate the expression
-          # below, but for the user to provide a working wine installation
-          # with winepath so that path translation in the cross-to-mingw
-          # case works properly.
-          lt_replace_pathsep_nix_to_dos="s|:|;|g"
-          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
-            $SED -e "$lt_replace_pathsep_nix_to_dos"`
-        fi
-        # Now, add the leading and trailing path separators back
-        case "$1" in
-          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
-            ;;
-        esac
-        case "$1" in
-          *: ) func_append func_to_host_pathlist_result ";"
-            ;;
-        esac
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_pathlist
-
 # func_emit_cwrapperexe_src
 # emit the source code for a wrapper executable on stdout
 # Must ONLY be called from within func_mode_link because
@@ -3181,9 +3481,9 @@ const char * LIB_PATH_VARNAME = "$shlibpath_var";
 EOF
 
 	    if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-              func_to_host_pathlist "$temp_rpath"
+              func_to_host_path "$temp_rpath"
 	      cat <<EOF
-const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * LIB_PATH_VALUE   = "$func_to_host_path_result";
 EOF
 	    else
 	      cat <<"EOF"
@@ -3192,10 +3492,10 @@ EOF
 	    fi
 
 	    if test -n "$dllsearchpath"; then
-              func_to_host_pathlist "$dllsearchpath:"
+              func_to_host_path "$dllsearchpath:"
 	      cat <<EOF
 const char * EXE_PATH_VARNAME = "PATH";
-const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * EXE_PATH_VALUE   = "$func_to_host_path_result";
 EOF
 	    else
 	      cat <<"EOF"
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 89e2e6a..a7141c5 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -168,6 +168,7 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
 m4_require([_LT_CMD_RELOAD])dnl
 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
@@ -7670,3 +7671,52 @@ if test x"$_lt_function_replace_fail" = x":"; then
   AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
 fi
 ])
+
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine which file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+        ;;
+    esac
+    ;;
+  *-*-cygwin* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_noop
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+        ;;
+    esac
+    ;;
+  * ) # unhandled hosts (and "normal" native builds)
+    lt_cv_to_host_file_cmd=func_convert_file_noop
+    ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+         [0], [convert $build file names to $host format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
+
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 35b920b..5818060 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -37,7 +37,7 @@ for tool in ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF; do
 done
 export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF
 eval `$LIBTOOL --config | grep '^EGREP='`
-eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias)='`
+eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias|to_host_path_cmd)='`
 configure_options=--prefix=/nonexistent
 if test -n "$host_alias"; then
   configure_options="$configure_options --host $host_alias"
@@ -45,6 +45,9 @@ fi
 if test -n "$build_alias"; then
   configure_options="$configure_options --build $build_alias"
 fi
+if test -n "$to_host_file_cmd"; then
+  configure_options="$configure_options lt_cv_to_host_file_cmd=$to_host_file_cmd"
+fi
 if (FOO=bar; unset FOO) >/dev/null 2>&1; then
   unset=unset
 else


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 20:17:46 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpVaj-0002P7-Ur
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:45 -0400
Received: from [140.186.70.92] (port=37391 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpVag-0002On-Jp
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0002x3-Qk
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:28 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41286
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0002wz-MS
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:27 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0000wi-Nd
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 00:17:27 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0000lf-II
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 00:17:27 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: fdd882b95b4fcc69067ddeb592a979b77f2b1c60
X-Git-Newrev: ae9600616941d098acb07bb565bcef2a4f9da4a8
Message-Id: <E1OpVaR-0000lf-II@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 29 Aug 2010 00:17:27 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-132-gae96006
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2010 00:17:45 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  ae9600616941d098acb07bb565bcef2a4f9da4a8 (commit)
       via  83f5d15c88589620ba29353e2e7b672f5fc57fc2 (commit)
      from  fdd882b95b4fcc69067ddeb592a979b77f2b1c60 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ae9600616941d098acb07bb565bcef2a4f9da4a8
Merge: fdd882b 83f5d15
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sat Aug 28 20:16:02 2010 -0400

    Merge branch 'sysroot'
    
    * sysroot:
      Minor sysroot fixups.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    6 ++++++
 libltdl/m4/libtool.m4 |    2 +-
 tests/sysroot.at      |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 43d01f6..8f03e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-08-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
+	Minor sysroot fixups.
+	* libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo.
+	* tests/sysroot.at: Search also for crt0.o to accommodate cygwin.
+
+2010-08-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
 	[cygwin|mingw|cross-compile]: Path conversion support.
 	* configure.ac: Ensure to_host_file_cmd is available to Makefile.
 	* TODO: Document QoI issue with file name conversion functions.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a7141c5..e03543b 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1183,7 +1183,7 @@ lt_sysroot=
 case ${with_sysroot} in #(
  yes)
    if test "$GCC" = yes; then
-     lt_sysroot=`$GCC --print-sysroot 2>/dev/null`
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    fi
    ;; #(
  /*)
diff --git a/tests/sysroot.at b/tests/sysroot.at
index c0ac6d1..2a27134 100644
--- a/tests/sysroot.at
+++ b/tests/sysroot.at
@@ -34,7 +34,7 @@ AT_CHECK([test -n "$gcc_sysroot" || exit 77])
 
 # Detect installation prefix for the compiler
 prefix=
-for i in crt1.o crt2.o crti.o; do
+for i in crt0.o crt1.o crt2.o crti.o; do
   j=`$CC --print-file-name $i 2> /dev/null`
   test $? = 0 || continue
   case "$j" in


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Aug 28 20:17:47 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpVal-0002Ph-2a
	for mharc-libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:47 -0400
Received: from [140.186.70.92] (port=37392 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpVag-0002Oo-SD
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaS-0002xI-0J
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:29 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41287
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0002x7-V3
	for libtool-commit@gnu.org; Sat, 28 Aug 2010 20:17:27 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0000wl-TP
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 00:17:27 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpVaR-0000mG-Oi
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 00:17:27 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/sysroot
X-Git-Reftype: branch
X-Git-Oldrev: 22a120690392cccc59921c70f1f3e8cd523bb849
X-Git-Newrev: 83f5d15c88589620ba29353e2e7b672f5fc57fc2
Message-Id: <E1OpVaR-0000mG-Oi@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 29 Aug 2010 00:17:27 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, sysroot, updated. v2.2.10-108-g83f5d15
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2010 00:17:45 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, sysroot has been updated
       via  83f5d15c88589620ba29353e2e7b672f5fc57fc2 (commit)
      from  22a120690392cccc59921c70f1f3e8cd523bb849 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    6 ++++++
 libltdl/m4/libtool.m4 |    2 +-
 tests/sysroot.at      |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9ba1343..e2f8500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Minor sysroot fixups.
+	* libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo.
+	* tests/sysroot.at: Search also for crt0.o to accommodate cygwin.
+
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	fix AIX testsuite regression
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 5bf28b7..a5ebc26 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1182,7 +1182,7 @@ lt_sysroot=
 case ${with_sysroot} in #(
  yes)
    if test "$GCC" = yes; then
-     lt_sysroot=`$GCC --print-sysroot 2>/dev/null`
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    fi
    ;; #(
  /*)
diff --git a/tests/sysroot.at b/tests/sysroot.at
index c0ac6d1..2a27134 100644
--- a/tests/sysroot.at
+++ b/tests/sysroot.at
@@ -34,7 +34,7 @@ AT_CHECK([test -n "$gcc_sysroot" || exit 77])
 
 # Detect installation prefix for the compiler
 prefix=
-for i in crt1.o crt2.o crti.o; do
+for i in crt0.o crt1.o crt2.o crti.o; do
   j=`$CC --print-file-name $i 2> /dev/null`
   test $? = 0 || continue
   case "$j" in


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 29 03:13:38 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Opc5C-0006tA-FQ
	for mharc-libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:38 -0400
Received: from [140.186.70.92] (port=56386 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Opc5A-0006sa-2d
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-00042U-Qi
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:35 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:51465
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-00042K-Ns
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:34 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-00063f-EE
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 07:13:34 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-0000TB-A9
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 07:13:34 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/parallel-tests
X-Git-Reftype: branch
X-Git-Oldrev: 28a1942e246d2993b652e4c0adc69e0b0e2b1c95
X-Git-Newrev: d6ff024982625586ff6878fe7872f918d0699b1a
Message-Id: <E1Opc58-0000TB-A9@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 29 Aug 2010 07:13:34 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, parallel-tests,
	updated. v2.2.10-95-gd6ff024
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2010 07:13:37 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, parallel-tests has been updated
       via  d6ff024982625586ff6878fe7872f918d0699b1a (commit)
      from  28a1942e246d2993b652e4c0adc69e0b0e2b1c95 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    5 +++++
 configure.ac |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c27f040..a23a3bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Silence order-only configure test for AIX make.
+	* configure.ac: Also drop standard output, for AIX 5.1 make.
+
 2010-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* NEWS: Only bootstrapping needs new Automake and Autoconf.
diff --git a/configure.ac b/configure.ac
index 609051c..3cf2b47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -209,7 +209,7 @@ a b c:
 	touch $[]@
 END
    touch c
-   if ${MAKE-make} -s -q -f confmk 2>/dev/null; then
+   if ${MAKE-make} -s -q -f confmk >/dev/null 2>&1; then
      lt_cv_make_order_only=yes
    else
      lt_cv_make_order_only=no


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 29 03:13:41 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Opc5E-0006uQ-To
	for mharc-libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:41 -0400
Received: from [140.186.70.92] (port=56394 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Opc5A-0006sb-Ss
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-00042Z-RC
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:36 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:51464
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-00042I-Nr
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 03:13:34 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc58-00063d-AG
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 07:13:34 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opc57-0000Se-ID
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 07:13:34 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ae9600616941d098acb07bb565bcef2a4f9da4a8
X-Git-Newrev: f54621ca526d383ae6a120a11981be0a03aa1151
Message-Id: <E1Opc57-0000Se-ID@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 29 Aug 2010 07:13:34 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-134-gf54621c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2010 07:13:37 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  f54621ca526d383ae6a120a11981be0a03aa1151 (commit)
       via  d6ff024982625586ff6878fe7872f918d0699b1a (commit)
      from  ae9600616941d098acb07bb565bcef2a4f9da4a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f54621ca526d383ae6a120a11981be0a03aa1151
Merge: ae96006 d6ff024
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 29 09:12:28 2010 +0200

    Merge branch 'parallel-tests'
    
    * parallel-tests:
      Silence order-only configure test for AIX make.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    5 +++++
 configure.ac |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8f03e4f..d054735 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Silence order-only configure test for AIX make.
+	* configure.ac: Also drop standard output, for AIX 5.1 make.
+
 2010-08-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Minor sysroot fixups.
diff --git a/configure.ac b/configure.ac
index 215a707..e13ad43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,7 +225,7 @@ a b c:
 	touch $[]@
 END
    touch c
-   if ${MAKE-make} -s -q -f confmk 2>/dev/null; then
+   if ${MAKE-make} -s -q -f confmk >/dev/null 2>&1; then
      lt_cv_make_order_only=yes
    else
      lt_cv_make_order_only=no


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 29 10:59:43 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpjMF-0000ZI-Dt
	for mharc-libtool-commit@gnu.org; Sun, 29 Aug 2010 10:59:43 -0400
Received: from [140.186.70.92] (port=40090 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpjMC-0000Xe-Gs
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 10:59:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpjMA-0007oJ-Oj
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 10:59:40 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39322
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpjMA-0007oC-NJ
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 10:59:38 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpjMA-0003Ks-Dx
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 14:59:38 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpjMA-00056T-3I
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 14:59:38 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f54621ca526d383ae6a120a11981be0a03aa1151
X-Git-Newrev: 957541fbe23db58feaf554a68a852c99839a19f3
Message-Id: <E1OpjMA-00056T-3I@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 29 Aug 2010 14:59:38 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-135-g957541f
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2010 14:59:41 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  957541fbe23db58feaf554a68a852c99839a19f3 (commit)
      from  f54621ca526d383ae6a120a11981be0a03aa1151 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 957541fbe23db58feaf554a68a852c99839a19f3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 29 16:54:33 2010 +0200

    Work around yet another shell quoting portability issue.
    
    * configure.ac: Avoid nonportable quoted alternate variable
    value in unquoted here document, so Solaris 10 sh and Tru64
    ksh do not print spurious extra quotes.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    5 +++++
 configure.ac |    6 +++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d054735..6650889 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Work around yet another shell quoting portability issue.
+	* configure.ac: Avoid nonportable quoted alternate variable
+	value in unquoted here document, so Solaris 10 sh and Tru64
+	ksh do not print spurious extra quotes.
+
 	Silence order-only configure test for AIX make.
 	* configure.ac: Also drop standard output, for AIX 5.1 make.
 
diff --git a/configure.ac b/configure.ac
index e13ad43..87f3ce1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,7 +113,11 @@ case $lt_alpha in
     TIMESTAMP=
     ;;
 esac
-AS_BOX([Configuring AC_PACKAGE_TARNAME${TIMESTAMP:+" (Build:$TIMESTAMP)"} AC_PACKAGE_VERSION])
+timestamp_string=
+if test -n "$TIMESTAMP"; then
+  timestamp_string=" (Build:$TIMESTAMP)"
+fi
+AS_BOX([Configuring AC_PACKAGE_TARNAME$timestamp_string AC_PACKAGE_VERSION])
 echo
 AC_SUBST([TIMESTAMP])
 AC_SUBST([package_revision])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Aug 29 13:08:38 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OplMz-0006WU-W5
	for mharc-libtool-commit@gnu.org; Sun, 29 Aug 2010 13:08:38 -0400
Received: from [140.186.70.92] (port=39953 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OplMv-0005pQ-G9
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 13:08:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opkdp-0003IT-4S
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 12:21:58 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:56882
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opkdp-0003IP-2Z
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 12:21:57 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opkdo-0004Oe-RB
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 16:21:56 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Opkdo-0003KT-Io
	for libtool-commit@gnu.org; Sun, 29 Aug 2010 16:21:56 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 957541fbe23db58feaf554a68a852c99839a19f3
X-Git-Newrev: 7f41a19bc95d266cf0761bdad21e1821335cd442
Message-Id: <E1Opkdo-0003KT-Io@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 29 Aug 2010 16:21:56 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-136-g7f41a19
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2010 17:08:36 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  7f41a19bc95d266cf0761bdad21e1821335cd442 (commit)
      from  957541fbe23db58feaf554a68a852c99839a19f3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7f41a19bc95d266cf0761bdad21e1821335cd442
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sun Aug 29 18:17:45 2010 +0200

    Fix typo when renaming path conversion functions.
    
    * tests/testsuite.at: Ensure to_host_file_cmd is passed as a
    variable setting on the configure line for (new testsuite) tests.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    6 ++++++
 tests/testsuite.at |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6650889..c6c2447 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-29  Peter Rosin  <peda@lysator.liu.se>
+
+	Fix typo when renaming path conversion functions.
+	* tests/testsuite.at: Ensure to_host_file_cmd is passed as a
+	variable setting on the configure line for (new testsuite) tests.
+
 2010-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Work around yet another shell quoting portability issue.
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 5818060..a20e074 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -37,7 +37,7 @@ for tool in ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF; do
 done
 export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF
 eval `$LIBTOOL --config | grep '^EGREP='`
-eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias|to_host_path_cmd)='`
+eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias|to_host_file_cmd)='`
 configure_options=--prefix=/nonexistent
 if test -n "$host_alias"; then
   configure_options="$configure_options --host $host_alias"


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 30 02:25:39 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OpxoJ-0004lP-Pq
	for mharc-libtool-commit@gnu.org; Mon, 30 Aug 2010 02:25:39 -0400
Received: from [140.186.70.92] (port=46466 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OpxoG-0004kt-WA
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 02:25:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpxoF-0004na-9H
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 02:25:36 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:40181
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpxoF-0004nW-5Y
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 02:25:35 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpxoD-0006M4-1f
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 06:25:33 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OpxoA-0001GE-LU
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 06:25:30 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7f41a19bc95d266cf0761bdad21e1821335cd442
X-Git-Newrev: f91cf561abf175642e6c20299bea7d5199913133
Message-Id: <E1OpxoA-0001GE-LU@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 30 Aug 2010 06:25:30 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-137-gf91cf56
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Aug 2010 06:25:38 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  f91cf561abf175642e6c20299bea7d5199913133 (commit)
      from  7f41a19bc95d266cf0761bdad21e1821335cd442 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f91cf561abf175642e6c20299bea7d5199913133
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Mon Aug 30 02:04:33 2010 -0400

    Update path conversion warning messages
    
    * libltdl/config/ltmain.m4sh (func_convert_file_check): Update
    comments and warning message.
    (func_convert_path_check): Update warning message.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    7 +++++++
 libltdl/config/ltmain.m4sh |    8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c6c2447..d730232 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-30  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Update path conversion warning messages
+	* libltdl/config/ltmain.m4sh (func_convert_file_check): Update
+	comments and warning message.
+	(func_convert_path_check): Update warning message.
+
 2010-08-29  Peter Rosin  <peda@lysator.liu.se>
 
 	Fix typo when renaming path conversion functions.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 32860c7..6948138 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -794,14 +794,14 @@ func_convert_core_msys_to_w32 ()
 
 
 # func_convert_file_check ARG1 ARG2
-# Verify that ARG1 (a path in $build format) was converted to $host format in
-# ARG2. Otherwise, emit an error message, but continue (resetting
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
 # func_to_host_file_result to ARG1).
 func_convert_file_check ()
 {
   $opt_debug
   if test -z "$2" && test -n "$1" ; then
-    func_error "Could not determine host path corresponding to"
+    func_error "Could not determine host file name corresponding to"
     func_error "  \`$1'"
     func_error "Continuing, but uninstalled executables may not work."
     # Fallback:
@@ -819,7 +819,7 @@ func_convert_path_check ()
 {
   $opt_debug
   if test -z "$4" && test -n "$3"; then
-    func_error "Could not determine the host path(s) corresponding to"
+    func_error "Could not determine the host path corresponding to"
     func_error "  \`$3'"
     func_error "Continuing, but uninstalled executables may not work."
     # Fallback.  This is a deliberately simplistic "conversion" and


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 30 15:33:16 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqA6W-0004bH-0d
	for mharc-libtool-commit@gnu.org; Mon, 30 Aug 2010 15:33:16 -0400
Received: from [140.186.70.92] (port=39346 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqA6T-0004a5-Kq
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 15:33:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqA6S-0005gk-49
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 15:33:13 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54962
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqA6S-0005ge-0I
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 15:33:12 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqA6R-0007mk-UG
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 19:33:11 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqA6R-0007Ad-S5
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 19:33:11 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f91cf561abf175642e6c20299bea7d5199913133
X-Git-Newrev: e91e2dec63d75804dd922f6c14af6df8b0f7dde5
Message-Id: <E1OqA6R-0007Ad-S5@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 30 Aug 2010 19:33:11 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-138-ge91e2de
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Aug 2010 19:33:14 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  e91e2dec63d75804dd922f6c14af6df8b0f7dde5 (commit)
      from  f91cf561abf175642e6c20299bea7d5199913133 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e91e2dec63d75804dd922f6c14af6df8b0f7dde5
Author: Eric Blake <eblake@redhat.com>
Date:   Mon Aug 30 21:32:35 2010 +0200

    Simplify recent configure quoting portability workaround.
    
    * configure.ac: Simplify setting of timestamp_string.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    5 +++++
 configure.ac |    5 +----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d730232..60a2297 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-30  Eric Blake  <eblake@redhat.com>
+
+	Simplify recent configure quoting portability workaround.
+	* configure.ac: Simplify setting of timestamp_string.
+
 2010-08-30  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Update path conversion warning messages
diff --git a/configure.ac b/configure.ac
index 87f3ce1..aaa946f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,10 +113,7 @@ case $lt_alpha in
     TIMESTAMP=
     ;;
 esac
-timestamp_string=
-if test -n "$TIMESTAMP"; then
-  timestamp_string=" (Build:$TIMESTAMP)"
-fi
+timestamp_string="${TIMESTAMP:+ (Build:$TIMESTAMP)}"
 AS_BOX([Configuring AC_PACKAGE_TARNAME$timestamp_string AC_PACKAGE_VERSION])
 echo
 AC_SUBST([TIMESTAMP])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Aug 30 17:07:47 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqBZz-0007sK-E1
	for mharc-libtool-commit@gnu.org; Mon, 30 Aug 2010 17:07:47 -0400
Received: from [140.186.70.92] (port=47352 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqBZw-0007qw-6r
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 17:07:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqBZu-0005IX-SE
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 17:07:43 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:52707
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqBZu-0005IS-OI
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 17:07:42 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqBZu-0000Vv-7G
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 21:07:42 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqBZu-0005kS-28
	for libtool-commit@gnu.org; Mon, 30 Aug 2010 21:07:42 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e91e2dec63d75804dd922f6c14af6df8b0f7dde5
X-Git-Newrev: 9e0722e8dff36e4540d3e3335ea3a10be5c0688d
Message-Id: <E1OqBZu-0005kS-28@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 30 Aug 2010 21:07:42 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-141-g9e0722e
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Aug 2010 21:07:45 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  9e0722e8dff36e4540d3e3335ea3a10be5c0688d (commit)
       via  67a761c3f073a8a29020376fb1d252621ad07b22 (commit)
       via  730c1343a462ec5a1dde9a15c19459afaf85fdee (commit)
      from  e91e2dec63d75804dd922f6c14af6df8b0f7dde5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9e0722e8dff36e4540d3e3335ea3a10be5c0688d
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 30 23:04:03 2010 +0200

    tests: skip -Wall -Werror with Tru64 cc in cwrapper test.
    
    * tests/cwrapper.at (cwrapper for uninstalled executables):
    Use a link test rather than a compile test to flesh out unknown
    compiler flags starting with -W; Tru64/OSF1 cc will happily
    accept `-Wall -Werror' as indication to pass flags on to
    subprocesses.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 67a761c3f073a8a29020376fb1d252621ad07b22
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 30 22:51:02 2010 +0200

    tests: avoid getopt-m4sh failures when autom4te is not available.
    
    * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
    Check $M4SH --version, skip on failure.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 730c1343a462ec5a1dde9a15c19459afaf85fdee
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 30 22:42:11 2010 +0200

    tests: mark 'syntax of .la files' as XFAIL, expose failure.
    
    * tests/lalib-syntax.at (syntax of .la files): Assert that the
    string returned by lt_dlerror after a failure is non-NULL, so
    the failure shows up on systems other than Solaris.  Mark test
    as expected to fail.
    Suggested by Bob Friesenhahn.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   20 ++++++++++++++++++++
 tests/cwrapper.at     |   14 +++++++-------
 tests/getopt-m4sh.at  |    1 +
 tests/lalib-syntax.at |    9 +++++++--
 4 files changed, 35 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 60a2297..5d7a1dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2010-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	tests: skip -Wall -Werror with Tru64 cc in cwrapper test.
+	* tests/cwrapper.at (cwrapper for uninstalled executables):
+	Use a link test rather than a compile test to flesh out unknown
+	compiler flags starting with -W; Tru64/OSF1 cc will happily
+	accept `-Wall -Werror' as indication to pass flags on to
+	subprocesses.
+
+	tests: avoid getopt-m4sh failures when autom4te is not available.
+	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
+	Check $M4SH --version, skip on failure.
+
+	tests: mark 'syntax of .la files' as XFAIL, expose failure.
+	* tests/lalib-syntax.at (syntax of .la files): Assert that the
+	string returned by lt_dlerror after a failure is non-NULL, so
+	the failure shows up on systems other than Solaris.  Mark test
+	as expected to fail.
+	Suggested by Bob Friesenhahn.
+
 2010-08-30  Eric Blake  <eblake@redhat.com>
 
 	Simplify recent configure quoting portability workaround.
diff --git a/tests/cwrapper.at b/tests/cwrapper.at
index babd91e..248c0c0 100644
--- a/tests/cwrapper.at
+++ b/tests/cwrapper.at
@@ -1,6 +1,6 @@
 # cwrapper.at -- test cwrapper compliance with standards -*- Autotest -*-
 
-#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #   Written by Charles Wilson, 2009
 #
 #   This file is part of GNU Libtool.
@@ -61,10 +61,10 @@ for restrictive_flags in '-Wall -Werror' '-std=c89 -Wall -Werror' '-std=c99 -Wal
   chmod +x libtool
   LIBTOOL=./libtool
 
-  # make sure $restrictive_flags do not cause a failure
+  # Make sure $restrictive_flags do not cause a failure
   # themselves (e.g. because a non-gcc compiler doesn't
-  # understand them)
-  $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue
+  # understand them).  Tru64 cc only fails when linking.
+  $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue
 
   AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c],
            [], [ignore], [ignore])
@@ -111,10 +111,10 @@ for debugwrapper_flags in '-DLT_DEBUGWRAPPER'; do
     < "$orig_LIBTOOL" > ./libtool
   LIBTOOL=./libtool
 
-  # make sure $debugwrapper_flags do not cause a failure
+  # Make sure $debugwrapper_flags do not cause a failure
   # themselves (e.g. because a non-gcc compiler doesn't
-  # understand them)
-  $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue
+  # understand them).  Tru64 cc only fails when linking.
+  $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue
 
   AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c],
            [], [ignore], [ignore])
diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index d2df827..1c2ac26 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -48,6 +48,7 @@ M4SH_GETOPTS(
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])
+AT_CHECK([$M4SH --version || exit 77], [], [ignore], [ignore])
 AT_CHECK([$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh > t-options],
 	 [], [], [], [AT_CHECK([test $at_status -eq 63 && exit 77])])
 $SED "s,@LN_S\@,$LN_S,g;s,@SED\@,$SED,g" t-options > options
diff --git a/tests/lalib-syntax.at b/tests/lalib-syntax.at
index c412d54..0f78ca8 100644
--- a/tests/lalib-syntax.at
+++ b/tests/lalib-syntax.at
@@ -1,6 +1,6 @@
 # lalib-syntax.at -- parsing .la files robustly  -*- Autotest -*-
 #
-#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #
 #   This file is part of GNU Libtool.
 #
@@ -25,9 +25,12 @@ AT_SETUP([syntax of .la files])
 AT_KEYWORDS([libtool])
 AT_KEYWORDS([libltdl])
 
+AT_XFAIL_IF([:]) dnl libltdl does not consistently return non-NULL lt_dlerror
+
 AT_DATA([main.c],
 [[#include <ltdl.h>
 #include <stdio.h>
+#include <assert.h>
 
 int
 main (int argc, char* argv[])
@@ -50,7 +53,9 @@ main (int argc, char* argv[])
     }
   else
     {
-      printf ("plugin failed to open: %s\n", lt_dlerror());
+      const char *error = lt_dlerror ();
+      assert (error != NULL);
+      printf ("plugin failed to open: %s\n", error);
       err = 1;
     }
   lt_dlexit ();


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 31 05:50:13 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqNTp-0000S8-Fh
	for mharc-libtool-commit@gnu.org; Tue, 31 Aug 2010 05:50:13 -0400
Received: from [140.186.70.92] (port=46989 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqNTm-0000Qf-5J
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 05:50:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqNTi-0007Hx-Pi
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 05:50:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:35787
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqNTi-0007Hf-OP
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 05:50:06 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqNTi-0001P0-94
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 09:50:06 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqNTi-0005XI-3U
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 09:50:06 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9e0722e8dff36e4540d3e3335ea3a10be5c0688d
X-Git-Newrev: 9a99cfa036a1c9ab7e3afa8815ef79b99d80cc3c
Message-Id: <E1OqNTi-0005XI-3U@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 31 Aug 2010 09:50:06 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-142-g9a99cfa
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Aug 2010 09:50:12 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  9a99cfa036a1c9ab7e3afa8815ef79b99d80cc3c (commit)
      from  9e0722e8dff36e4540d3e3335ea3a10be5c0688d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9a99cfa036a1c9ab7e3afa8815ef79b99d80cc3c
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Aug 31 11:48:28 2010 +0200

    Extract the archive name from the .la file and use $AR (not ar).
    
    * Makefile.am: Pass AR through to the testsuite.
    * tests/archive-in-archive.at: Bump copyright year. Extract archive
    name from the .la file instead of hardcoding the name, and allow
    different archivers. Also clarify that the tested functionality is
    currently broken.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    9 +++++++++
 Makefile.am                 |    1 +
 tests/archive-in-archive.at |   14 +++++++++-----
 3 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5d7a1dc..8a183e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-08-31  Peter Rosin  <peda@lysator.liu.se>
+
+	Extract the archive name from the .la file and use $AR (not ar).
+	* Makefile.am: Pass AR through to the testsuite.
+	* tests/archive-in-archive.at: Bump copyright year. Extract archive
+	name from the .la file instead of hardcoding the name, and allow
+	different archivers. Also clarify that the tested functionality is
+	currently broken.
+
 2010-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: skip -Wall -Werror with Tru64 cc in cwrapper test.
diff --git a/Makefile.am b/Makefile.am
index de3eafe..b5cde00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -513,6 +513,7 @@ EXTRA_DIST     += $(srcdir)/$(TESTSUITE) $(TESTSUITE_AT) $(srcdir)/tests/package
 TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
 	CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
 	LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
+	AR="$(AR)" \
 	M4SH="$(M4SH)" SED="$(SED)" STRIP="$(STRIP)" lt_INSTALL="$(INSTALL)" \
 	MANIFEST_TOOL="$(MANIFEST_TOOL)" \
 	OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)" \
diff --git a/tests/archive-in-archive.at b/tests/archive-in-archive.at
index a57dfdd..32e3543 100644
--- a/tests/archive-in-archive.at
+++ b/tests/archive-in-archive.at
@@ -1,6 +1,6 @@
 # dmacks.at --  test for dmacks bug  -*- Autotest -*-
 #
-#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc.
 #   Written by Peter O'Gorman, 2007
 #
 #   This file is part of GNU Libtool.
@@ -26,6 +26,8 @@
 AT_SETUP([static library contains static library])
 AT_KEYWORDS([libtool])
 
+AT_XFAIL_IF([:]) dnl This is currently broken
+
 AT_DATA([foo.c],
 [
 int foo() { return 1;}
@@ -42,11 +44,13 @@ $LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c -o bar.lo bar.c
 $LIBTOOL --mode=link --tag=CC --tag=disable-shared $CC $CFLAGS $LDFLAGS \
 -o libfoo.la foo.lo -version-info 1:0:0 -rpath $thisdir
 $LIBTOOL --mode=install cp libfoo.la $thisdir 
+eval `$EGREP '^(old_library)=' < libfoo.la`
+libfoo=$old_library
 AT_CHECK([$LIBTOOL --mode=link --tag=CC --tag=disable-shared $CC $CFLAGS $LDFLAGS \
-	 -o libbar.la bar.lo ./libfoo.a -version-info 1:0:0 -rpath $thisdir],
+	 -o libbar.la bar.lo $libfoo -version-info 1:0:0 -rpath $thisdir],
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=install cp libbar.la $thisdir], [], [ignore], [ignore])
-AT_CHECK([ar -t libbar.a | grep libfoo.a],[1],[ignore],[ignore])
-archive_contents=`ar -t libbar.a`
-AT_XFAIL_IF([case "$archive_contents" in *"libfoo.a"*) : ;; esac])
+eval `$EGREP '^(old_library)=' < libbar.la`
+libbar=$old_library
+AT_CHECK([$AR -t $libbar | grep $libfoo],[1],[ignore],[ignore])
 AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 31 06:54:55 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqOUQ-0003Th-Ga
	for mharc-libtool-commit@gnu.org; Tue, 31 Aug 2010 06:54:54 -0400
Received: from [140.186.70.92] (port=43095 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqOU9-0003Ei-MO
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 06:54:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqOTq-0002Ci-Vj
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 06:54:20 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:52312
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqOTq-0002CY-Sw
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 06:54:18 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqOTq-00029d-Ci
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 10:54:18 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqOTq-0000MT-6u
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 10:54:18 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9a99cfa036a1c9ab7e3afa8815ef79b99d80cc3c
X-Git-Newrev: d226dc44a3b7f92e8c393a1aac5727e3a1dbb5a8
Message-Id: <E1OqOTq-0000MT-6u@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 31 Aug 2010 10:54:18 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-143-gd226dc4
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Aug 2010 10:54:52 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  d226dc44a3b7f92e8c393a1aac5727e3a1dbb5a8 (commit)
      from  9a99cfa036a1c9ab7e3afa8815ef79b99d80cc3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d226dc44a3b7f92e8c393a1aac5727e3a1dbb5a8
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Tue Aug 31 17:54:10 2010 +0700

    Remove double `Generated from foo.m4sh' lines.
    
    We now require a modern Autoconf to bootstrap libtool, which
    will add the `Generated by ...' boiler-plate automatically,
    so we can remove the hand-rolled @configure_input@
    substitutions we had been doing:
    * clcommit.m4sh, libtoolize.m4sh, tests/defs.sh,
    libltdl/config/announce-gen.m4sh, libltdl/config/ltmain.m4sh,
    libltdl/config/mailnotify.m4sh: Remove @configure_input@.
    * Makefile.am (edit): Remove configure_input substitution.
    (libtoolize, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4)
    (tests/defs): Don't set `$input' shell variable.
    * Makefile.maint (announce_gen, libltdl/config/mailnotify)
    (commit): Likewise.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |   16 ++++++++++++++++
 Makefile.am                      |    7 +------
 Makefile.maint                   |    3 ---
 clcommit.m4sh                    |    4 +---
 libltdl/config/announce-gen.m4sh |    4 +---
 libltdl/config/ltmain.m4sh       |    3 +--
 libltdl/config/mailnotify.m4sh   |    4 +---
 libtoolize.m4sh                  |    4 +---
 tests/defs.m4sh                  |    3 +--
 9 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8a183e2..a4c91cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2010-08-31  Gary V. Vaughan  <gary@gnu.org>
+
+	Remove double `Generated from foo.m4sh' lines.
+	We now require a modern Autoconf to bootstrap libtool, which
+	will add the `Generated by ...' boiler-plate automatically,
+	so we can remove the hand-rolled @configure_input@
+	substitutions we had been doing:
+	* clcommit.m4sh, libtoolize.m4sh, tests/defs.sh,
+	libltdl/config/announce-gen.m4sh, libltdl/config/ltmain.m4sh,
+	libltdl/config/mailnotify.m4sh: Remove @configure_input@.
+	* Makefile.am (edit): Remove configure_input substitution.
+	(libtoolize, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4)
+	(tests/defs): Don't set `$input' shell variable.
+	* Makefile.maint (announce_gen, libltdl/config/mailnotify)
+	(commit): Likewise.
+
 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
 
 	Extract the archive name from the .la file and use $AR (not ar).
diff --git a/Makefile.am b/Makefile.am
index b5cde00..48fbf73 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,7 +70,6 @@ bin_SCRIPTS = libtoolize libtool
 libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
 	rm -f libtoolize.tmp libtoolize
 	$(timestamp); \
-	input="libtoolize.m4sh"; \
 	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
 		-e 's,@aclocal_DATA\@,$(aclocalfiles),g' \
 		-e "s,@pkgltdl_files\@,$(ltdldatafiles),g" \
@@ -137,8 +136,7 @@ edit = sed \
 	-e 's,@datadir\@,$(datadir),g' \
 	-e 's,@pkgdatadir\@,$(pkgdatadir),g' \
 	-e 's,@host_triplet\@,$(host_triplet),g' \
-	-e 's,@prefix\@,$(prefix),g' \
-	-e "s,@configure_input\@,Generated from $$input.,g"
+	-e 's,@prefix\@,$(prefix),g'
 
 sh_files	= $(auxdir)/general.m4sh $(auxdir)/getopt.m4sh
 EXTRA_DIST     += bootstrap $(srcdir)/libtoolize.in $(auxdir)/ltmain.m4sh \
@@ -176,7 +174,6 @@ $(srcdir)/$(m4dir)/ltversion.m4: $(m4dir)/ltversion.in configure.ac ChangeLog
 	  cd $(srcdir); \
 	  rm -f $(m4dir)/ltversion.tmp; \
 	  serial=`echo "$$correctver" | sed 's,^1[.],,g'`; \
-	  input="ltversion.in"; \
 	  echo $(edit) -e "s,@MACRO_REVISION\@,$$correctver,g" \
 	    -e "s,@MACRO_SERIAL\@,$$serial,g" \
 	    $(srcdir)/$(m4dir)/ltversion.in \> $(srcdir)/$(m4dir)/ltversion.m4; \
@@ -216,7 +213,6 @@ $(srcdir)/$(auxdir)/ltmain.sh: $(sh_files) $(auxdir)/ltmain.m4sh configure.ac Ch
 	    \> $(auxdir)/ltmain.in; \
 	  $(M4SH) -B $(auxdir) $(auxdir)/ltmain.m4sh \
 	    > $(auxdir)/ltmain.in; \
-	  input="ltmain.m4sh"; \
 	  echo $(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
 	    -e "s,@package_revision\@,$$correctver," \
 	    $(srcdir)/$(auxdir)/ltmain.in "> $$target"; \
@@ -897,7 +893,6 @@ DIST_SUBDIRS   += $(CONF_SUBDIRS)
 check-recursive: tests/defs
 tests/defs: $(srcdir)/tests/defs.in
 	rm -f tests/defs.tmp tests/defs; \
-	input="defs.m4sh"; \
 	$(edit) $(srcdir)/tests/defs.in > tests/defs.tmp; \
 	mv -f tests/defs.tmp tests/defs
 
diff --git a/Makefile.maint b/Makefile.maint
index e2fa628..2e655ae 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -41,7 +41,6 @@ $(srcdir)/commit: $(srcdir)/$(auxdir)/mailnotify clcommit.m4sh
 	cd $(srcdir); \
 	rm -f commit commit.in commit.tmp; \
 	$(M4SH) -B $(auxdir) clcommit.m4sh > commit.in; \
-	input="clcommit.m4sh"; \
 	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" commit.in > commit.tmp; \
 	chmod a+x commit.tmp; \
 	chmod a-w commit.tmp; \
@@ -52,7 +51,6 @@ announce-gen: $(auxdir)/announce-gen.m4sh $(auxdir)/getopt.m4sh
 	$(timestamp); \
 	rm -f announce-gen announce-gen.in announce-gen.tmp; \
 	$(M4SH) -B $(top_srcdir)/$(auxdir) $(top_srcdir)/$(auxdir)/announce-gen.m4sh > announce-gen.in; \
-	input="announce-gen.m4sh"; \
 	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
 		-e "s,@LASTRELEASE\@,$(LASTRELEASE),g" \
 		-e "s,@top_srcdir\@,$(top_srcdir),g" \
@@ -67,7 +65,6 @@ $(srcdir)/$(auxdir)/mailnotify: $(auxdir)/mailnotify.m4sh
 	cd $(srcdir)/$(auxdir); \
 	rm -f mailnotify mailnotify.in mailnotify.tmp; \
 	$(M4SH) -B . mailnotify.m4sh > mailnotify.in; \
-	input="mailnotify.m4sh"; \
 	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
 		mailnotify.in > mailnotify.tmp; \
 	chmod a+x mailnotify.tmp; \
diff --git a/clcommit.m4sh b/clcommit.m4sh
index 8292d6a..c189cf3 100644
--- a/clcommit.m4sh
+++ b/clcommit.m4sh
@@ -1,6 +1,4 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
 # clcommit (GNU @PACKAGE@) version 2.1
 # Written by Gary V. Vaughan <gary@gnu.org>
 # and Alexandre Oliva <aoliva@redhat.com>
diff --git a/libltdl/config/announce-gen.m4sh b/libltdl/config/announce-gen.m4sh
index 38e6232..777ce9b 100644
--- a/libltdl/config/announce-gen.m4sh
+++ b/libltdl/config/announce-gen.m4sh
@@ -1,6 +1,4 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
 # announce-gen (GNU @PACKAGE@) version 1.0
 # Written by Gary V. Vaughan 
 # based on a perl script by Jim Meyering
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 6948138..c31f788 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1,6 +1,5 @@
 m4_define([_m4_divert(SCRIPT)], 100)
-m4_divert_push([SCRIPT])# @configure_input@
-
+m4_divert_push([SCRIPT])
 # libtool (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
diff --git a/libltdl/config/mailnotify.m4sh b/libltdl/config/mailnotify.m4sh
index af60de5..bbf3e03 100644
--- a/libltdl/config/mailnotify.m4sh
+++ b/libltdl/config/mailnotify.m4sh
@@ -1,6 +1,4 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
 # mailnotify (GNU @PACKAGE@) version 1.0
 # Written by Gary V. Vaughan <gary@gnu.org>
 
diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 04db82f..a58ed1e 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -1,7 +1,5 @@
 m4_pattern_allow([dnl])
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
 # libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
 # Written by Gary V. Vaughan <gary@gnu.org>, 2003
 
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 8ffde5b..0d23dea 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -1,5 +1,4 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
 # defs -- Defines for Libtool testing environment.
 #
 #   Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 31 07:45:14 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqPH7-0006rf-LX
	for mharc-libtool-commit@gnu.org; Tue, 31 Aug 2010 07:45:13 -0400
Received: from [140.186.70.92] (port=33698 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqPH4-0006qU-DD
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 07:45:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqPH3-0004Zc-AQ
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 07:45:10 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:40053
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqPH3-0004ZV-78
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 07:45:09 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqPH2-0002p4-Jz
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 11:45:08 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqPH2-0003Aa-F0
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 11:45:08 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d226dc44a3b7f92e8c393a1aac5727e3a1dbb5a8
X-Git-Newrev: 34f87a6b07381f6092851a25c9da62b2c40a4d21
Message-Id: <E1OqPH2-0003Aa-F0@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 31 Aug 2010 11:45:08 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-144-g34f87a6
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Aug 2010 11:45:11 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  34f87a6b07381f6092851a25c9da62b2c40a4d21 (commit)
      from  d226dc44a3b7f92e8c393a1aac5727e3a1dbb5a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 34f87a6b07381f6092851a25c9da62b2c40a4d21
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Aug 31 12:40:01 2010 +0200

    Silence archiver output when testing @file support.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout and stderr
    to the bit bucket when testing for @file support.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    6 ++++++
 libltdl/m4/libtool.m4 |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a4c91cb..1ee96b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-31  Peter Rosin  <peda@lysator.liu.se>
+
+	Silence archiver output when testing @file support.
+	* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout and stderr
+	to the bit bucket when testing for @file support.
+
 2010-08-31  Gary V. Vaughan  <gary@gnu.org>
 
 	Remove double `Generated from foo.m4sh' lines.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index e03543b..530c971 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1360,7 +1360,7 @@ AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
   [lt_cv_ar_at_file=no
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
      [echo conftest.$ac_objext > conftest.lst
-      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >/dev/null 2>&1'
       AC_TRY_EVAL([lt_ar_try])
       if test "$ac_status" -eq 0; then
 	# Ensure the archiver fails upon bogus file names.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 31 13:23:36 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqUYa-0008Rl-7N
	for mharc-libtool-commit@gnu.org; Tue, 31 Aug 2010 13:23:36 -0400
Received: from [140.186.70.92] (port=52004 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqUYS-0008R5-PA
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 13:23:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqUYO-0001cB-38
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 13:23:28 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:56425
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqUYN-0001c1-Vg
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 13:23:24 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqUYN-00074M-IC
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 17:23:23 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqUYM-0007QC-PQ
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 17:23:23 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 34f87a6b07381f6092851a25c9da62b2c40a4d21
X-Git-Newrev: 185a2f71d0d1b1727fcc45c3840a5d4f7ebfa7ef
Message-Id: <E1OqUYM-0007QC-PQ@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 31 Aug 2010 17:23:23 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-145-g185a2f7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Aug 2010 17:23:34 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  185a2f71d0d1b1727fcc45c3840a5d4f7ebfa7ef (commit)
      from  34f87a6b07381f6092851a25c9da62b2c40a4d21 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 185a2f71d0d1b1727fcc45c3840a5d4f7ebfa7ef
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Aug 31 19:04:22 2010 +0200

    Dump archiver output to the log when testing @file support.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log
    when testing for @file support.
    Suggested by Ralf Wildenhues.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    5 +++++
 libltdl/m4/libtool.m4 |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1ee96b1..355b485 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
 
+	Dump archiver output to the log when testing @file support.
+	* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log
+	when testing for @file support.
+	Suggested by Ralf Wildenhues.
+
 	Silence archiver output when testing @file support.
 	* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout and stderr
 	to the bit bucket when testing for @file support.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 530c971..666130d 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1360,7 +1360,7 @@ AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
   [lt_cv_ar_at_file=no
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
      [echo conftest.$ac_objext > conftest.lst
-      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >/dev/null 2>&1'
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
       AC_TRY_EVAL([lt_ar_try])
       if test "$ac_status" -eq 0; then
 	# Ensure the archiver fails upon bogus file names.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Aug 31 15:05:31 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqW9D-0006mg-FK
	for mharc-libtool-commit@gnu.org; Tue, 31 Aug 2010 15:05:31 -0400
Received: from [140.186.70.92] (port=35548 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqW97-0006kI-DH
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 15:05:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqW92-0003xI-E8
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 15:05:25 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:57327
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqW92-0003xE-C6
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 15:05:20 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqW91-0008Pl-ML
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 19:05:20 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqW8z-0006EM-GU
	for libtool-commit@gnu.org; Tue, 31 Aug 2010 19:05:19 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 185a2f71d0d1b1727fcc45c3840a5d4f7ebfa7ef
X-Git-Newrev: 26dacf3464210910602ce0f679f9770241d7a16e
Message-Id: <E1OqW8z-0006EM-GU@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 31 Aug 2010 19:05:19 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-146-g26dacf3
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Aug 2010 19:05:30 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  26dacf3464210910602ce0f679f9770241d7a16e (commit)
      from  185a2f71d0d1b1727fcc45c3840a5d4f7ebfa7ef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 26dacf3464210910602ce0f679f9770241d7a16e
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Aug 31 20:59:11 2010 +0200

    archive-in-archive.at passes with Microsoft lib.
    
    * tests/archive-in-archive.at: Tighten test to check that the desired
    object files are indeed part of the archive. Microsoft lib still
    passes, so remove the expected failure for that case.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    5 +++++
 tests/archive-in-archive.at |    5 ++++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 355b485..585356c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
 
+	archive-in-archive.at passes with Microsoft lib.
+	* tests/archive-in-archive.at: Tighten test to check that the desired
+	object files are indeed part of the archive. Microsoft lib still
+	passes, so remove the expected failure for that case.
+
 	Dump archiver output to the log when testing @file support.
 	* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log
 	when testing for @file support.
diff --git a/tests/archive-in-archive.at b/tests/archive-in-archive.at
index 32e3543..fd67c7d 100644
--- a/tests/archive-in-archive.at
+++ b/tests/archive-in-archive.at
@@ -26,7 +26,8 @@
 AT_SETUP([static library contains static library])
 AT_KEYWORDS([libtool])
 
-AT_XFAIL_IF([:]) dnl This is currently broken
+# This test passes with MS lib.
+AT_XFAIL_IF([case $AR in ar-lib\ * | *[[/\\]]ar-lib\ *) false;; *) :;; esac])
 
 AT_DATA([foo.c],
 [
@@ -53,4 +54,6 @@ AT_CHECK([$LIBTOOL --mode=install cp libbar.la $thisdir], [], [ignore], [ignore]
 eval `$EGREP '^(old_library)=' < libbar.la`
 libbar=$old_library
 AT_CHECK([$AR -t $libbar | grep $libfoo],[1],[ignore],[ignore])
+AT_CHECK([$AR -t $libbar | grep foo.$OBJEXT],[],[ignore],[ignore])
+AT_CHECK([$AR -t $libbar | grep bar.$OBJEXT],[],[ignore],[ignore])
 AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool


