From MAILER-DAEMON Sun Nov 09 14:51:26 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KzGJi-0000Fy-ET
	for mharc-libtool-commit@gnu.org; Sun, 09 Nov 2008 14:51:26 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KzGJg-0000FH-HO
	for libtool-commit@gnu.org; Sun, 09 Nov 2008 14:51:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KzGJf-0000Ek-ON
	for libtool-commit@gnu.org; Sun, 09 Nov 2008 14:51:23 -0500
Received: from [199.232.76.173] (port=49214 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KzGJf-0000Ef-9V
	for libtool-commit@gnu.org; Sun, 09 Nov 2008 14:51:23 -0500
Received: from savannah.gnu.org ([199.232.41.3]:43859 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1KzGJe-0000RJ-8g
	for libtool-commit@gnu.org; Sun, 09 Nov 2008 14:51:22 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzGJc-0001Gb-II
	for libtool-commit@gnu.org; Sun, 09 Nov 2008 19:51:20 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzGJb-0001G6-TL
	for libtool-commit@gnu.org; Sun, 09 Nov 2008 19:51:20 +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: b59009b28fe23afa33c9ad127b7004396758b9bb
X-Git-Newrev: 8dfe9a6a6ba0127c4040df955b734a211c7e52d9
Message-Id: <E1KzGJb-0001G6-TL@cvs.savannah.gnu.org>
Date: Sun, 09 Nov 2008 19:51:20 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-15-g8dfe9a6
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/pipermail/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, 09 Nov 2008 19:51:24 -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  8dfe9a6a6ba0127c4040df955b734a211c7e52d9 (commit)
      from  b59009b28fe23afa33c9ad127b7004396758b9bb (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 8dfe9a6a6ba0127c4040df955b734a211c7e52d9
Author: Alexei Sheplyakov <varg@theor.jinr.ru>
Date:   Sun Nov 9 20:47:38 2008 +0100

    Fix cross compilation with wine for the case SHELL != bash.
    
    * libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape
    sequence interpretation by 'echo', for w32-style paths.
    * THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 38abe80..474d08b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-09  Alexei Sheplyakov  <varg@theor.jinr.ru>  (tiny change)
+
+	Fix cross compilation with wine for the case SHELL != bash.
+	* libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape
+	sequence interpretation by 'echo', for w32-style paths.
+	* THANKS: Update.
+
 2008-10-28  Michael Haubenwallner  <michael.haubenwallner@salomon.at> (tiny change)
 
 	Fix checks for unsupported allow_undefined_flag.
diff --git a/THANKS b/THANKS
index 17b7b12..08971f9 100644
--- a/THANKS
+++ b/THANKS
@@ -67,6 +67,7 @@
   their time and energy in helping to track down bugs, port to new systems,
   and generally assist in the libtool maintainership process:
 
+  Alexei Sheplyakov		varg@theor.jinr.ru
   Andreas Schwab		schwab@suse.de
   Andrey Slepuhin		pooh@msu.ru
   Aneesh Kumar K.V		kvaneesh@hotmail.com
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 696b6ab..005c6a8 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2600,7 +2600,7 @@ func_to_host_path ()
             ;;
           *cygwin* )
             func_to_host_path_tmp1=`cygpath -w "$1"`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
+            func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |\
               $SED -e "$lt_sed_naive_backslashify"`
             ;;
           * )
@@ -2613,7 +2613,7 @@ func_to_host_path ()
             # 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" |\
+              func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |\
                 $SED -e "$lt_sed_naive_backslashify"`
             else
               # Allow warning below.


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Nov 10 15:41:10 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KzdZO-0001RZ-AJ
	for mharc-libtool-commit@gnu.org; Mon, 10 Nov 2008 15:41:10 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KzdZM-0001RN-A3
	for libtool-commit@gnu.org; Mon, 10 Nov 2008 15:41:08 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KzdZL-0001R8-G7
	for libtool-commit@gnu.org; Mon, 10 Nov 2008 15:41:07 -0500
Received: from [199.232.76.173] (port=60048 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KzdZL-0001R5-9l
	for libtool-commit@gnu.org; Mon, 10 Nov 2008 15:41:07 -0500
Received: from savannah.gnu.org ([199.232.41.3]:57580 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1KzdZK-0004Kj-Ub
	for libtool-commit@gnu.org; Mon, 10 Nov 2008 15:41:07 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzdZF-0006u7-4f
	for libtool-commit@gnu.org; Mon, 10 Nov 2008 20:41:01 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzdZE-0006te-Ao
	for libtool-commit@gnu.org; Mon, 10 Nov 2008 20:41: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: 8dfe9a6a6ba0127c4040df955b734a211c7e52d9
X-Git-Newrev: 0676af7c2a5e30993957dfd49e4e972d54426bfb
Message-Id: <E1KzdZE-0006te-Ao@cvs.savannah.gnu.org>
Date: Mon, 10 Nov 2008 20:41:00 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-16-g0676af7
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/pipermail/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, 10 Nov 2008 20:41:08 -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  0676af7c2a5e30993957dfd49e4e972d54426bfb (commit)
      from  8dfe9a6a6ba0127c4040df955b734a211c7e52d9 (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 0676af7c2a5e30993957dfd49e4e972d54426bfb
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Nov 10 21:40:39 2008 +0100

    Update to GFDL 1.3.
    
    * doc/fdl.texi: Update to GFDL 1.3.
    * doc/libtool.texi: Adjust.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog        |    7 ++++
 NEWS             |    4 ++
 doc/fdl.texi     |   81 +++++++++++++++++++++++++++++++++++++++++++++--------
 doc/libtool.texi |    4 +-
 4 files changed, 81 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 474d08b..2148a2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Update to GFDL 1.3.
+	* doc/fdl.texi: Update to GFDL 1.3.
+	* doc/libtool.texi: Adjust.
+	* NEWS: Update.
+
 2008-11-09  Alexei Sheplyakov  <varg@theor.jinr.ru>  (tiny change)
 
 	Fix cross compilation with wine for the case SHELL != bash.
diff --git a/NEWS b/NEWS
index 33ee277..4945c51 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,10 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
   - Fix 2.2.6 regression that prevented using the libltdl macros together
     with Autoconf 2.59 (`possibly undefined macro: LT_LIBEXT').
 
+* Miscellaneous changes:
+
+  - The manual is distributed under the terms of the GNU FDL 1.3 now.
+
 New in 2.2.6 2008-09-05: git version 2.2.5a, Libtool team:
 
 * New features:
diff --git a/doc/fdl.texi b/doc/fdl.texi
index 7b93651..8805f1a 100644
--- a/doc/fdl.texi
+++ b/doc/fdl.texi
@@ -1,12 +1,12 @@
 @c The GNU Free Documentation License.
-@center Version 1.2, November 2002
+@center Version 1.3, 3 November 2008
 
 @c This file is intended to be included within another document,
-@c hence no sectioning command or @node.  
+@c hence no sectioning command or @node.
 
 @display
-Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc.
-51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
+Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+@uref{http://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.
@@ -111,6 +111,9 @@ formats which do not have any title page as such, ``Title Page'' means
 the text near the most prominent appearance of the work's title,
 preceding the beginning of the body of the text.
 
+The ``publisher'' means any person or entity that distributes copies
+of the Document to the public.
+
 A section ``Entitled XYZ'' means a named subunit of the Document whose
 title either is precisely XYZ or contains XYZ in parentheses following
 text that translates XYZ in another language.  (Here XYZ stands for a
@@ -379,13 +382,30 @@ title.
 @item
 TERMINATION
 
-You may not copy, modify, sublicense, or distribute the Document except
-as expressly provided for under this License.  Any other attempt to
-copy, modify, sublicense or distribute the Document is void, and will
-automatically terminate your rights under this License.  However,
-parties who have received copies, or rights, from you under this
-License will not have their licenses terminated so long as such
-parties remain in full compliance.
+You may not copy, modify, sublicense, or distribute the Document
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense, or distribute it is void, and
+will automatically terminate your rights under this License.
+
+However, if you cease all violation of this License, then your license
+from a particular copyright holder is reinstated (a) provisionally,
+unless and until the copyright holder explicitly and finally
+terminates your license, and (b) permanently, if the copyright holder
+fails to notify you of the violation by some reasonable means prior to
+60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, receipt of a copy of some or all of the same material does
+not give you any rights to use it.
 
 @item
 FUTURE REVISIONS OF THIS LICENSE
@@ -403,7 +423,42 @@ following the terms and conditions either of that specified version or
 of any later version that has been published (not as a draft) by the
 Free Software Foundation.  If the Document does not specify a version
 number of this License, you may choose any version ever published (not
-as a draft) by the Free Software Foundation.
+as a draft) by the Free Software Foundation.  If the Document
+specifies that a proxy can decide which future versions of this
+License can be used, that proxy's public statement of acceptance of a
+version permanently authorizes you to choose that version for the
+Document.
+
+@item
+RELICENSING
+
+``Massive Multiauthor Collaboration Site'' (or ``MMC Site'') means any
+World Wide Web server that publishes copyrightable works and also
+provides prominent facilities for anybody to edit those works.  A
+public wiki that anybody can edit is an example of such a server.  A
+``Massive Multiauthor Collaboration'' (or ``MMC'') contained in the
+site means any set of copyrightable works thus published on the MMC
+site.
+
+``CC-BY-SA'' means the Creative Commons Attribution-Share Alike 3.0
+license published by Creative Commons Corporation, a not-for-profit
+corporation with a principal place of business in San Francisco,
+California, as well as future copyleft versions of that license
+published by that same organization.
+
+``Incorporate'' means to publish or republish a Document, in whole or
+in part, as part of another Document.
+
+An MMC is ``eligible for relicensing'' if it is licensed under this
+License, and if all works that were first published under this License
+somewhere other than this MMC, and subsequently incorporated in whole
+or in part into the MMC, (1) had no cover texts or invariant sections,
+and (2) were thus incorporated prior to November 1, 2008.
+
+The operator of an MMC Site may republish an MMC contained in the site
+under CC-BY-SA on the same site at any time before August 1, 2009,
+provided the MMC is eligible for relicensing.
+
 @end enumerate
 
 @page
@@ -417,7 +472,7 @@ license notices just after the title page:
 @group
   Copyright (C)  @var{year}  @var{your name}.
   Permission is granted to copy, distribute and/or modify this document
-  under the terms of the GNU Free Documentation License, Version 1.2
+  under the terms of the GNU Free Documentation License, Version 1.3
   or any later version published by the Free Software Foundation;
   with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
   Texts.  A copy of the license is included in the section entitled ``GNU
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 1ee12aa..f03adfb 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -29,7 +29,7 @@ This file documents GNU Libtool @value{VERSION}
 Copyright (C) 1996-2008 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.2
+under the terms of the GNU Free Documentation License, Version 1.3
 or any later version published by the Free Software Foundation;
 with no Invariant Sections, with no Front-Cover Texts,
 and with no Back-Cover Texts.  A copy of the license is included in
@@ -56,7 +56,7 @@ identical to this one except for the removal of this paragraph
 Copyright @copyright{} 2008 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
-under the terms of the @sc{gnu} Free Documentation License, Version 1.2
+under the terms of the @sc{gnu} Free Documentation License, Version 1.3
 or any later version published by the Free Software Foundation;
 with no Invariant Sections, with no Front-Cover Texts,
 and with no Back-Cover Texts.  A copy of the license is included in


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Nov 11 00:57:34 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KzmFp-0000pD-V7
	for mharc-libtool-commit@gnu.org; Tue, 11 Nov 2008 00:57:33 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KzmFn-0000op-6M
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 00:57:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KzmFm-0000od-Bn
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 00:57:30 -0500
Received: from [199.232.76.173] (port=38080 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KzmFm-0000oa-6P
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 00:57:30 -0500
Received: from savannah.gnu.org ([199.232.41.3]:34703 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1KzmFl-0003Mp-Nb
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 00:57:29 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzmFk-00043R-Sv
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 05:57:28 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzmFk-00042n-0X
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 05:57:28 +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: 0676af7c2a5e30993957dfd49e4e972d54426bfb
X-Git-Newrev: 101ad44541c6d303cf465937a212042885f4338e
Message-Id: <E1KzmFk-00042n-0X@cvs.savannah.gnu.org>
Date: Tue, 11 Nov 2008 05:57:28 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-17-g101ad44
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/pipermail/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, 11 Nov 2008 05:57:31 -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  101ad44541c6d303cf465937a212042885f4338e (commit)
      from  0676af7c2a5e30993957dfd49e4e972d54426bfb (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 101ad44541c6d303cf465937a212042885f4338e
Author: Bruno Haible <bruno@clisp.org>
Date:   Tue Nov 11 06:51:24 2008 +0100

    Fix cwrapper argument mangling on w32.
    
    * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): On
    mingw, preprocess the argument vector through prepare_spawn.
    * tests/execute-mode.at (execute mode): Output args
    newline-separated.  Extend tests by more argument pairs that
    contain special characters, where the w32 cwrapper fails.
    Also test a real compiled program, linked against an uninstalled
    library, to expose cwrapper issues.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   13 +++++
 NEWS                       |    2 +
 libltdl/config/ltmain.m4sh |  120 ++++++++++++++++++++++++++++++++++++++++++++
 tests/execute-mode.at      |   91 ++++++++++++++++++++++++++++++++--
 4 files changed, 222 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2148a2c..1abce44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2008-11-11  Bruno Haible  <bruno@clisp.org>
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix cwrapper argument mangling on w32.
+	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): On
+	mingw, preprocess the argument vector through prepare_spawn.
+	* tests/execute-mode.at (execute mode): Output args
+	newline-separated.  Extend tests by more argument pairs that
+	contain special characters, where the w32 cwrapper fails.
+	Also test a real compiled program, linked against an uninstalled
+	library, to expose cwrapper issues.
+	* NEWS: Update.
+
 2008-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Update to GFDL 1.3.
diff --git a/NEWS b/NEWS
index 4945c51..a38bfb3 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
 
   - Fix 2.2.6 regression that prevented using the libltdl macros together
     with Autoconf 2.59 (`possibly undefined macro: LT_LIBEXT').
+  - Fix 2.2.4 regression that caused arguments with special characters
+    to be mangled by the compile wrapper for uninstalled programs on MinGW.
 
 * Miscellaneous changes:
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 005c6a8..e7a5ff0 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2887,6 +2887,7 @@ void lt_opt_process_env_append (const char *arg);
 int lt_split_name_value (const char *arg, char** name, char** value);
 void lt_update_exe_path (const char *name, const char *value);
 void lt_update_lib_path (const char *name, const char *value);
+char **prepare_spawn (char **argv);
 
 static const char *script_text_part1 =
 EOF
@@ -3167,6 +3168,7 @@ EOF
 	      mingw*)
 		cat <<"EOF"
   /* execv doesn't actually work on mingw as expected on unix */
+  newargz = prepare_spawn (newargz);
   rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
   if (rval == -1)
     {
@@ -3630,8 +3632,126 @@ lt_update_lib_path (const char *name, const char *value)
     }
 }
 
+EOF
+	    case $host_os in
+	      mingw*)
+		cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+   Note that spawn() does not by itself call the command interpreter
+     (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+      ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+         GetVersionEx(&v);
+         v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+      }) ? "cmd.exe" : "command.com").
+   Instead it simply concatenates the arguments, separated by ' ', and calls
+   CreateProcess().  We must quote the arguments since Win32 CreateProcess()
+   interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+   special way:
+   - Space and tab are interpreted as delimiters. They are not treated as
+     delimiters if they are surrounded by double quotes: "...".
+   - Unescaped double quotes are removed from the input. Their only effect is
+     that within double quotes, space and tab are treated like normal
+     characters.
+   - Backslashes not followed by double quotes are not special.
+   - But 2*n+1 backslashes followed by a double quote become
+     n backslashes followed by a double quote (n >= 0):
+       \" -> "
+       \\\" -> \"
+       \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+  size_t argc;
+  char **new_argv;
+  size_t i;
+
+  /* Count number of arguments.  */
+  for (argc = 0; argv[argc] != NULL; argc++)
+    ;
+
+  /* Allocate new argument vector.  */
+  new_argv = XMALLOC (char *, argc + 1);
+
+  /* Put quoted arguments into the new argument vector.  */
+  for (i = 0; i < argc; i++)
+    {
+      const char *string = argv[i];
+
+      if (string[0] == '\0')
+	new_argv[i] = xstrdup ("\"\"");
+      else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+	{
+	  int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+	  size_t length;
+	  unsigned int backslashes;
+	  const char *s;
+	  char *quoted_string;
+	  char *p;
+
+	  length = 0;
+	  backslashes = 0;
+	  if (quote_around)
+	    length++;
+	  for (s = string; *s != '\0'; s++)
+	    {
+	      char c = *s;
+	      if (c == '"')
+		length += backslashes + 1;
+	      length++;
+	      if (c == '\\')
+		backslashes++;
+	      else
+		backslashes = 0;
+	    }
+	  if (quote_around)
+	    length += backslashes + 1;
+
+	  quoted_string = XMALLOC (char, length + 1);
 
+	  p = quoted_string;
+	  backslashes = 0;
+	  if (quote_around)
+	    *p++ = '"';
+	  for (s = string; *s != '\0'; s++)
+	    {
+	      char c = *s;
+	      if (c == '"')
+		{
+		  unsigned int j;
+		  for (j = backslashes + 1; j > 0; j--)
+		    *p++ = '\\';
+		}
+	      *p++ = c;
+	      if (c == '\\')
+		backslashes++;
+	      else
+		backslashes = 0;
+	    }
+	  if (quote_around)
+	    {
+	      unsigned int j;
+	      for (j = backslashes; j > 0; j--)
+		*p++ = '\\';
+	      *p++ = '"';
+	    }
+	  *p = '\0';
+
+	  new_argv[i] = quoted_string;
+	}
+      else
+	new_argv[i] = (char *) string;
+    }
+  new_argv[argc] = NULL;
+
+  return new_argv;
+}
 EOF
+		;;
+	    esac
 }
 # end: func_emit_cwrapperexe_src
 
diff --git a/tests/execute-mode.at b/tests/execute-mode.at
index 349c829..acbe081 100644
--- a/tests/execute-mode.at
+++ b/tests/execute-mode.at
@@ -25,10 +25,15 @@
 AT_SETUP([execute mode])
 AT_KEYWORDS([libtool])
 
+eval `$LIBTOOL --config | $EGREP '^(FGREP)='`
+
 AT_DATA([foo],
 [[#! /bin/sh
 if test $# -gt 0; then
-  echo "$@"
+  for arg
+  do
+    printf %s\\n "$arg"
+  done
 else
   :
 fi
@@ -50,7 +55,10 @@ fi
 
 AT_DATA([lt-real],
 [[#! /bin/sh
-echo "$@"
+for arg
+do
+  printf %s\\n "$arg"
+done
 cat
 ]])
 
@@ -81,6 +89,45 @@ mkdir sub
 cp foo sub/foo
 chmod +x foo sub/foo lt-wrapper lt-real
 
+AT_DATA([liba.c],
+[[int a () { return 0; }
+]])
+
+AT_DATA([main.c],
+[[#include <stdio.h>
+extern int a ();
+int main (int argc, char **argv)
+{
+  int i;
+  for (i=1; i<argc; ++i)
+    {
+      if (i != 1)
+	fputc ('\n', stdout);
+      fputs (argv[i], stdout);
+    }
+  fputc ('\n', stdout);
+  return a ();
+}
+]])
+
+instdir=`pwd`/inst
+libdir=$instdir/lib
+
+AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la -rpath $libdir liba.lo],
+	 [], [ignore], [ignore])
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c main.c],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la],
+	 [], [ignore], [ignore])
+
+# end of preparatory blurb.
+# Now, when doing the tests, we both try the fake wrappers plus the real one
+# (only the latter exposes the C wrappers used for w32 systems).
+# With the latter, however, we need to ignore additional output; esp. wine
+# may be rather noisy.
+
 AT_CHECK([$LIBTOOL --mode=execute ./foo])
 AT_CHECK([$LIBTOOL --mode=execute sub/foo])
 AT_CHECK([$LIBTOOL --mode=execute ./foo foo], [], [foo
@@ -91,7 +138,9 @@ AT_CHECK([cd sub && $LIBTOOL --mode=execute ./foo ../foo], [], [../foo
 ])
 # suppose that ./foo is gdb, and lt-wrapper is the wrapper script.
 AT_CHECK([$LIBTOOL --mode=execute ./foo lt-wrapper bar baz </dev/null], [],
-	 [./lt-real bar baz
+	 [./lt-real
+bar
+baz
 ])
 
 # check that stdin works even with -dlopen.
@@ -116,7 +165,41 @@ AT_CHECK([$LIBTOOL --mode=execute ./lt-wrapper "arg  with special chars: \$!&*\`
 	 [], [arg  with special chars: $!&*`'()
 ])
 AT_CHECK([$LIBTOOL --mode=execute ./foo lt-wrapper "arg  with special chars: \$!&*\`'()"],
-	 [], [./lt-real arg  with special chars: $!&*`'()
+	 [], [./lt-real
+arg  with special chars: $!&*`'()
 ])
 
+# We always pair two args.  The first one is never the empty string.
+arg1=
+for arg2 in \
+   'def ghi' '' \
+   'd"e' 'f"g' \
+   'd\"e' 'f\"g' \
+   'd\\"e' 'f\\"g' \
+   'd\\\"e' 'f\\\"g' \
+   'd\' '' \
+   'd\\' '' \
+   'd\\\' '' \
+   'd\\\\' '' \
+   '<' '>' \
+   '<def>' ''
+do
+  if test -z "$arg1"; then
+    arg1=$arg2; continue
+  fi
+  AT_CHECK([$LIBTOOL --mode=execute ./foo abc "$arg1" "$arg2" xyz], [], [stdout])
+  AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
+  AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
+  AT_CHECK([test `sed -n '/^abc$/,/^xyz$/p' stdout | wc -l` -eq 4])
+  AT_CHECK([$LIBTOOL --mode=execute ./lt-wrapper abc "$arg1" "$arg2" xyz </dev/null], [], [stdout])
+  AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
+  AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
+  AT_CHECK([test `sed -n '/^abc$/,/^xyz$/p' stdout | wc -l` -eq 4])
+  AT_CHECK([$LIBTOOL --mode=execute ./foo lt-wrapper abc "$arg1" "$arg2" xyz], [], [stdout])
+  AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
+  AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
+  AT_CHECK([test `sed -n '/^abc$/,/^xyz$/p' stdout | wc -l` -eq 4])
+  arg1=
+done
+
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Nov 11 04:25:11 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KzpUl-00038D-QA
	for mharc-libtool-commit@gnu.org; Tue, 11 Nov 2008 04:25:11 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KzpSN-0002mV-Ls
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 04:22:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KzpSL-0002mJ-QP
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 04:22:42 -0500
Received: from [199.232.76.173] (port=49252 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KzpSL-0002mG-Le
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 04:22:41 -0500
Received: from savannah.gnu.org ([199.232.41.3]:41236 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1KzpSL-0007uF-C6
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 04:22:41 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzpSK-0006bq-HL
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 09:22:40 +0000
Received: from bonzini by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KzpSJ-0006bG-9f
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 09:22:40 +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: 101ad44541c6d303cf465937a212042885f4338e
X-Git-Newrev: cdeb1af5111ab6a034e134a6a5f8689e463984be
Message-Id: <E1KzpSJ-0006bG-9f@cvs.savannah.gnu.org>
Date: Tue, 11 Nov 2008 09:22:39 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Mailman-Approved-At: Tue, 11 Nov 2008 04:25:11 -0500
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-22-gcdeb1af
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/pipermail/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, 11 Nov 2008 09:22:43 -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  cdeb1af5111ab6a034e134a6a5f8689e463984be (commit)
       via  bf5eab9d04b339fe1123724f62d2e96579f1f087 (commit)
       via  3796d1fe58e5cab065021f215aec47e44ab91f78 (commit)
       via  621e2d7cb34b88dee9f5c46f2e58254d3c447d0e (commit)
       via  e5ba92ad9c707d003caed0eaa9f697a10a01daba (commit)
      from  101ad44541c6d303cf465937a212042885f4338e (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 cdeb1af5111ab6a034e134a6a5f8689e463984be
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Fri Nov 7 14:47:19 2008 +0100

    Separate part of _LT_SETUP into other macros, detect ECHO sooner.
    
    * libltdl/m4/libtool.m4 (_LT_PREPARE_SED_QUOTE_VARS): New macro,
    extracted from...
    (_LT_SETUP): ... here.  Require _LT_PROG_ECHO_BACKSLASH sooner.

commit bf5eab9d04b339fe1123724f62d2e96579f1f087
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Mon Nov 10 08:27:45 2008 +0100

    Fix quoting when config.status generates libtool config.
    
    * libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
    Double quote ECHO-ed variables.

commit 3796d1fe58e5cab065021f215aec47e44ab91f78
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Mon Nov 10 08:25:24 2008 +0100

    Use documented M4sh interfaces.
    
    * clcommit.m4sh: Do not unset CDPATH, use AS_INIT and M4sh diversions.
    * libltdl/config/mailnotify.m4sh: Likewise.
    * libtoolize.m4sh: Likewise.
    * tests/defs.m4sh: Likewise.
    * tests/testsuite.at: Move AT_INIT invocation at the top.
    
    * libltdl/m4/libtool.m4 (_LT_GENERATED_FILE_INIT): New.
    (LT_OUTPUT): Use it.
    
    * libltdl/config/general.m4sh (M4SH_IN_HEADER): New.
    (progpath): Move setting before $0 could be clobbered.
    * libltdl/config/ltmain.m4sh (M4SH_IN_HEADER): New.

commit 621e2d7cb34b88dee9f5c46f2e58254d3c447d0e
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Mon Nov 10 08:22:02 2008 +0100

    Run sh.test on the M4sh source.
    
    * tests/defs.m4sh (scripts): Point to pre-m4 sources.

commit e5ba92ad9c707d003caed0eaa9f697a10a01daba
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Fri Nov 7 08:58:24 2008 +0100

    Avoid that autom4te complains about unexpanded macros.
    
    * libtoolize.m4sh: Allow occurrences of "dnl" and use quadrigraphs
    to protect other m4 macros.

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

Summary of changes:
 ChangeLog                      |   40 +++++++++++++++++
 clcommit.m4sh                  |    7 +--
 libltdl/config/general.m4sh    |   20 ++++++---
 libltdl/config/ltmain.m4sh     |    4 ++
 libltdl/config/mailnotify.m4sh |    7 +--
 libltdl/m4/libtool.m4          |   91 ++++++++++++++++++++++++++--------------
 libtoolize.m4sh                |   17 ++++----
 tests/defs.m4sh                |   10 ++---
 tests/testsuite.at             |    5 +-
 9 files changed, 135 insertions(+), 66 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1abce44..1d22ee7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,43 @@
+2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
+
+	Separate part of _LT_SETUP into other macros, detect ECHO sooner.
+	* libltdl/m4/libtool.m4 (_LT_PREPARE_SED_QUOTE_VARS): New macro,
+	extracted from...
+	(_LT_SETUP): ... here.  Require _LT_PROG_ECHO_BACKSLASH sooner.
+
+2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
+
+	Fix quoting when config.status generates libtool config.
+	* libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
+	Double quote ECHO-ed variables.
+
+2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
+
+	Use documented M4sh interfaces.
+	* clcommit.m4sh: Do not unset CDPATH, use AS_INIT and M4sh diversions.
+	* libltdl/config/mailnotify.m4sh: Likewise.
+	* libtoolize.m4sh: Likewise.
+	* tests/defs.m4sh: Likewise.
+	* tests/testsuite.at: Move AT_INIT invocation at the top.
+
+	* libltdl/m4/libtool.m4 (_LT_INIT_GENERATED): New.
+	(LT_OUTPUT): Use it.
+
+	* libltdl/config/general.m4sh (M4SH_IN_HEADER): New.
+	(progpath): Move setting before $0 could be clobbered.
+	* libltdl/config/ltmain.m4sh (M4SH_IN_HEADER): New.
+
+2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
+
+	Run sh.test on the M4sh source.
+	* tests/defs.m4sh (scripts): Point to pre-m4 sources.
+
+2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
+
+	Avoid that autom4te complains about unexpanded macros.
+	* libtoolize.m4sh: Allow occurrences of "dnl" and use quadrigraphs
+	to protect other m4 macros.
+
 2008-11-11  Bruno Haible  <bruno@clisp.org>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/clcommit.m4sh b/clcommit.m4sh
index 0d3ba42..73719cc 100644
--- a/clcommit.m4sh
+++ b/clcommit.m4sh
@@ -1,5 +1,4 @@
-m4_define([_m4_divert(SCRIPT)], 100)
-m4_divert_push([SCRIPT])#!/bin/sh
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
 # @configure_input@
 
 # clcommit (GNU @PACKAGE@) version 2.0
@@ -80,9 +79,7 @@ test -f "libltdl/config/$MKSTAMP" && MKSTAMP="libltdl/config/$MKSTAMP"
 
 PROGRAM=clcommit
 
-AS_SHELL_SANITIZE
-$as_unset CDPATH
-
+m4_divert_pop
 m4_include([getopt.m4sh])
 
 M4SH_VERBATIM([[
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 53ff5ea..cde7354 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -30,6 +30,19 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 m4_define([M4SH_VERBATIM], [$1])dnl
 
+m4_ifndef([M4SH_IN_HEADER],
+[m4_define([M4SH_IN_HEADER],
+[m4_divert_text([HEADER-COPYRIGHT], [$1])])])
+
+M4SH_IN_HEADER([dnl
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath="$0"
+])
+
 M4SH_VERBATIM([[
 : ${CP="cp -f"}
 : ${ECHO="echo"}
@@ -87,13 +100,6 @@ func_dirname_and_basename ()
 
 # Generated shell functions inserted here.
 
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-# is ksh but when the shell is invoked as "sh" and the current value of
-# the _XPG environment variable is not equal to 1 (one), the special
-# positional parameter $0, within a function call, is the name of the
-# function.
-progpath="$0"
-
 # The name of this program:
 # In the unlikely event $progname began with a '-', it would play havoc with
 # func_echo (imagine progname=-n), so we prepend ./ in that case:
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index e7a5ff0..363ab93 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -111,6 +111,10 @@ done
 
 $lt_unset CDPATH
 
+dnl This script is generated by config.status, so we cannot put things
+dnl in the header.
+m4_define([M4SH_IN_HEADER], [$1])dnl
+
 m4_include([getopt.m4sh])
 
 M4SH_VERBATIM([[
diff --git a/libltdl/config/mailnotify.m4sh b/libltdl/config/mailnotify.m4sh
index 20d6b83..a95f201 100644
--- a/libltdl/config/mailnotify.m4sh
+++ b/libltdl/config/mailnotify.m4sh
@@ -1,5 +1,4 @@
-m4_define([_m4_divert(SCRIPT)], 100)
-m4_divert_push([SCRIPT])#!/bin/sh
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
 # @configure_input@
 
 # mailnotify (GNU @PACKAGE@) version 0.6
@@ -63,9 +62,7 @@ m4_divert_push([SCRIPT])#!/bin/sh
 
 PROGRAM=mailnotify
 
-AS_SHELL_SANITIZE
-$as_unset CDPATH
-
+m4_divert_pop
 m4_include([getopt.m4sh])
 
 M4SH_VERBATIM([[
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index caf88b1..0b2f320 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -138,6 +138,9 @@ m4_defun([_LT_FILEUTILS_DEFAULTS],
 m4_defun([_LT_SETUP],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
 _LT_DECL([], [host_alias], [0], [The host system])dnl
 _LT_DECL([], [host], [0])dnl
 _LT_DECL([], [host_os], [0])dnl
@@ -179,7 +182,6 @@ fi
 _LT_CHECK_OBJDIR
 
 m4_require([_LT_TAG_COMPILER])dnl
-_LT_PROG_ECHO_BACKSLASH
 
 case $host_os in
 aix3*)
@@ -193,23 +195,6 @@ aix3*)
   ;;
 esac
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
 # Global variables:
 ofile=libtool
 can_build_shared=yes
@@ -250,6 +235,28 @@ _LT_CONFIG_COMMANDS
 ])# _LT_SETUP
 
 
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
 # _LT_PROG_LTMAIN
 # ---------------
 # Note that this code is called both from `configure', and `config.status'
@@ -520,7 +527,7 @@ compiler='$compiler_DEFAULT'
 # Quote evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_quote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""X\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
       ;;
@@ -533,7 +540,7 @@ done
 # Double-quote double-evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_dquote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""X\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
       ;;
@@ -553,6 +560,35 @@ esac
 _LT_OUTPUT_LIBTOOL_INIT
 ])
 
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable.  If COMMENT is supplied, it is inserted after the
+# `#!' sequence but before initialization text begins.  After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script.  The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test $lt_write_fail = 0 && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
 
 # LT_OUTPUT
 # ---------
@@ -562,20 +598,11 @@ _LT_OUTPUT_LIBTOOL_INIT
 AC_DEFUN([LT_OUTPUT],
 [: ${CONFIG_LT=./config.lt}
 AC_MSG_NOTICE([creating $CONFIG_LT])
-cat >"$CONFIG_LT" <<_LTEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate a libtool stub with the current configuration.
-
-lt_cl_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_LTEOF
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
 
 cat >>"$CONFIG_LT" <<\_LTEOF
-AS_SHELL_SANITIZE
-_AS_PREPARE
-
-exec AS_MESSAGE_FD>&1
+lt_cl_silent=false
 exec AS_MESSAGE_LOG_FD>>config.log
 {
   echo
diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index f74cd7c..30c3e3b 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -1,5 +1,5 @@
-m4_define([_m4_divert(SCRIPT)], 100)
-m4_divert_push([SCRIPT])#! /bin/sh
+m4_pattern_allow([dnl])
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
 # @configure_input@
 
 # libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
@@ -70,9 +70,7 @@ m4_divert_push([SCRIPT])#! /bin/sh
 
 PROGRAM=libtoolize
 
-AS_SHELL_SANITIZE
-$as_unset CDPATH
-
+m4_divert_pop
 m4_include([getopt.m4sh])
 
 M4SH_VERBATIM([[
@@ -478,8 +476,9 @@ func_scan_files ()
     # ---------------------------------------------------- #
 
     my_sed_traces='s,#.*$,,; s,^dnl .*$,,; s, dnl .*$,,
-        s,^.*AC_REQUIRE(.*$,,; s,^.*m4_require(.*$,,; s,^.*m4_define(.*$,,
-	s,^.*A[CU]_DEFUN(.*$,,; s,^.*m4_defun(.*$,,
+        s,^.*AC_REQUIRE(.*$,,; s,^.*m4@&t@_require(.*$,,;
+	s,^.*m4@&t@_define(.*$,,
+	s,^.*A[CU]_DEFUN(.*$,,; s,^.*m4@&t@_defun(.*$,,
     	/AC_CONFIG_AUX_DIR(/ {
 	    s,^.*AC_CONFIG_AUX_DIR([[ 	]*\([^])]*\).*$,ac_auxdir=\1,
 	    p
@@ -670,8 +669,8 @@ func_included_files ()
 
     my_include_regex=
     my_sed_include='
-        /^m4_include(\[.*\])$/ {
-	    s,^m4_include(\[\(.*\)\])$,\1,
+        /^m4@&t@_include(\[.*\])$/ {
+	    s,^m4@&t@_include(\[\(.*\)\])$,\1,
 	    p
 	}
         d'
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index d63558c..48d1d37 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -1,5 +1,5 @@
-m4_define([_m4_divert(SCRIPT)], 100)
-m4_divert_push([SCRIPT])# @configure_input@
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
+# @configure_input@
 # defs -- Defines for Libtool testing environment.
 #
 #   Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software
@@ -26,9 +26,7 @@ m4_divert_push([SCRIPT])# @configure_input@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 ####
 
-AS_SHELL_SANITIZE
-$as_unset CDPATH
-
+m4_divert_pop
 m4_include([general.m4sh])
 
 M4SH_VERBATIM([[
@@ -349,7 +347,7 @@ prefix="./_inst"
 srcdir=`cd $srcdir && pwd`
 m4dir=$srcdir/libltdl/m4
 auxdir=$srcdir/libltdl/config
-scripts="$auxdir/ltmain.sh ./libtoolize"
+scripts="$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh"
 
 func_msg "Running $progname"
 
diff --git a/tests/testsuite.at b/tests/testsuite.at
index d5b0fe8..5990291 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -23,6 +23,8 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 ####
 
+AT_INIT
+
 m4_divert_push([PREPARE_TESTS])dnl
 : ${tst_dist=dist}
 : ${ACLOCAL=aclocal}
@@ -371,5 +373,4 @@ dnl AT_TESTED([grep autoreconf autom4te automake])
 ## The suite.  ##
 ## ----------- ##
 
-AT_INIT
-# The other tests will be appended here by the Makefile rule.
+# Tests will be appended here by the Makefile rule.


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Nov 11 16:10:21 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L00VA-0007Rx-Nf
	for mharc-libtool-commit@gnu.org; Tue, 11 Nov 2008 16:10:20 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L00V9-0007RJ-8h
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:10:19 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L00V8-0007QZ-Dd
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:10:18 -0500
Received: from [199.232.76.173] (port=56397 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L00V7-0007QQ-Re
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:10:17 -0500
Received: from savannah.gnu.org ([199.232.41.3]:36024 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L00V7-0007OQ-9B
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:10:17 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L00V6-0005R0-DQ
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 21:10:16 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L00V0-0005QN-VS
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 21:10:15 +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: cdeb1af5111ab6a034e134a6a5f8689e463984be
X-Git-Newrev: 984ff43d3ddad2b86958a0b4d9bb55fd73326a9d
Message-Id: <E1L00V0-0005QN-VS@cvs.savannah.gnu.org>
Date: Tue, 11 Nov 2008 21:10:11 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-23-g984ff43
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/pipermail/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, 11 Nov 2008 21:10:19 -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  984ff43d3ddad2b86958a0b4d9bb55fd73326a9d (commit)
      from  cdeb1af5111ab6a034e134a6a5f8689e463984be (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 984ff43d3ddad2b86958a0b4d9bb55fd73326a9d
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Nov 11 22:08:57 2008 +0100

    Simplify cwrapper handling a bit.
    
    * libltdl/config/ltmain.m4sh (func_emit_wrapper_part1)
    (func_emit_wrapper_part2, func_to_host_path)
    (func_to_host_pathlist, func_emit_wrapper): Simplify using
    default argument, func_append.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 1d22ee7..b6afb09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Simplify cwrapper handling a bit.
+	* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1)
+	(func_emit_wrapper_part2, func_to_host_path)
+	(func_to_host_pathlist, func_emit_wrapper): Simplify using
+	default argument, func_append.
+
 2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
 
 	Separate part of _LT_SETUP into other macros, detect ECHO sooner.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 363ab93..45e37af 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2310,10 +2310,7 @@ func_extract_archives ()
 # func_emit_wrapper(), below.
 func_emit_wrapper_part1 ()
 {
-	func_emit_wrapper_part1_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_part1_arg1=$1
-	fi
+	func_emit_wrapper_part1_arg1=${1-no}
 
 	$ECHO "\
 #! $SHELL
@@ -2408,10 +2405,7 @@ else
 # func_emit_wrapper(), below.
 func_emit_wrapper_part2 ()
 {
-	func_emit_wrapper_part2_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_part2_arg1=$1
-	fi
+    func_emit_wrapper_part2_arg1=${1-no}
 
 	$ECHO "\
 
@@ -2553,15 +2547,10 @@ fi\
 # behavior.
 func_emit_wrapper ()
 {
-	func_emit_wrapper_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_arg1=$1
-	fi
-
 	# split this up so that func_emit_cwrapperexe_src
 	# can call each part independently.
-	func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
-	func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
+	func_emit_wrapper_part1 ${1-no}
+	func_emit_wrapper_part2 ${1-no}
 }
 
 
@@ -2589,23 +2578,19 @@ func_emit_wrapper ()
 func_to_host_path ()
 {
   func_to_host_path_result="$1"
-  if test -n "$1" ; then
+  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
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
+            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_tmp1=`cygpath -w "$1"`
-            func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
+            func_to_host_path_result=`cygpath -w "$1" |
+	      $SED -e "$lt_sed_naive_backslashify"`
             ;;
           * )
             # Unfortunately, winepath does not exit with a non-zero
@@ -2617,17 +2602,17 @@ func_to_host_path ()
             # 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" |\
+              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=""
+              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 "  \`$1'"
           func_error "Continuing, but uninstalled executables may not work."
           # Fallback:
           func_to_host_path_result="$1"
@@ -2660,30 +2645,24 @@ func_to_host_path ()
 func_to_host_pathlist ()
 {
   func_to_host_pathlist_result="$1"
-  if test -n "$1" ; then
+  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_to_host_pathlist_tmp2="$1"
-        # Once set for this call, this variable should not be
-        # reassigned. It is used in tha fallback case.
-        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
-          $SED -e 's|^:*||' -e 's|:*$||'`
+	func_stripname : : "$1"
+        func_to_host_pathlist_tmp1=$func_stripname_result
         case $build in
           *mingw* ) # Actually, msys.
             # Awkward: cmd appends spaces to result.
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
+            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_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
+            func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
               $SED -e "$lt_sed_naive_backslashify"`
             ;;
           * )
@@ -2699,18 +2678,17 @@ func_to_host_pathlist ()
                   if test -z "$func_to_host_pathlist_result" ; then
                     func_to_host_pathlist_result="$func_to_host_path_result"
                   else
-                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
+                    func_append func_to_host_pathlist_result ";$func_to_host_path_result"
                   fi
                 fi
               fi
-              IFS=:
             done
             IFS=$func_to_host_pathlist_oldIFS
             ;;
         esac
-        if test -z "$func_to_host_pathlist_result" ; then
+        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 "  \`$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
@@ -2727,7 +2705,7 @@ func_to_host_pathlist ()
             ;;
         esac
         case "$1" in
-          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
+          *: ) func_append func_to_host_pathlist_result ";"
             ;;
         esac
         ;;


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Nov 11 16:27:38 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L00lu-0007WR-0N
	for mharc-libtool-commit@gnu.org; Tue, 11 Nov 2008 16:27:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L00ls-0007VR-1V
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:27:36 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L00lr-0007Uq-Ib
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:27:35 -0500
Received: from [199.232.76.173] (port=36562 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L00lq-0007Ua-K1
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:27:34 -0500
Received: from savannah.gnu.org ([199.232.41.3]:59907 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L00lp-0000sF-O1
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:27:34 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L00lh-0002Kh-CY
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 21:27:25 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L00lg-0002KA-7C
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 21:27:25 +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: 984ff43d3ddad2b86958a0b4d9bb55fd73326a9d
X-Git-Newrev: 800959471b59bb2dcfc990e518491762e6d834b7
Message-Id: <E1L00lg-0002KA-7C@cvs.savannah.gnu.org>
Date: Tue, 11 Nov 2008 21:27:24 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-24-g8009594
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/pipermail/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, 11 Nov 2008 21:27: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  800959471b59bb2dcfc990e518491762e6d834b7 (commit)
      from  984ff43d3ddad2b86958a0b4d9bb55fd73326a9d (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 800959471b59bb2dcfc990e518491762e6d834b7
Author: Roumen Petrov <bugtrack@roumenpetrov.info>
Date:   Tue Nov 11 22:24:25 2008 +0100

    Fix destdir tests in cross compile mode.
    
    * tests/destdir.at (Simple DESTDIR install)
    (DESTDIR with in-package deplibs): Use $EXEEXT throughout.
    * THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog        |    7 +++++++
 THANKS           |    1 +
 tests/destdir.at |    8 ++++----
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b6afb09..fd5c82b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-11  Roumen Petrov  <bugtrack@roumenpetrov.info>  (tiny change)
+
+	Fix destdir tests in cross compile mode.
+	* tests/destdir.at (Simple DESTDIR install)
+	(DESTDIR with in-package deplibs): Use $EXEEXT throughout.
+	* THANKS: Update.
+
 2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Simplify cwrapper handling a bit.
diff --git a/THANKS b/THANKS
index 08971f9..2f18f62 100644
--- a/THANKS
+++ b/THANKS
@@ -128,6 +128,7 @@
   Robert Ögren			lists@roboros.com
   Roberto Bagnara		bagnara@cs.unipr.it
   Roland Mainz			roland.mainz@nrubsig.org
+  Roumen Petrov			bugtrack@roumenpetrov.info
   Sam Thursfield		ssssam@gmail.com
   Sebastian Wilhelmi		wilhelmi@ira.uka.de
   Simon Josefsson		jas@extundo.com
diff --git a/tests/destdir.at b/tests/destdir.at
index 8ce8df3..386c728 100644
--- a/tests/destdir.at
+++ b/tests/destdir.at
@@ -56,7 +56,7 @@ $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c
 $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo -rpath $libdir
 echo 'extern int a(); int main() { return a(); }' > m.c
 $CC $CPPFLAGS $CFLAGS -c m.c
-$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m m.$OBJEXT liba.la
+$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT m.$OBJEXT liba.la
 mkdir $DESTDIR$libdir $DESTDIR$bindir
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $DESTDIR$libdir/liba.la],
 	 [], [ignore], [ignore])
@@ -67,7 +67,7 @@ LT_AT_MVDIR(["$DESTDIR$libdir"], ["$libdir"])
 LT_AT_MVDIR(["$DESTDIR$bindir"], ["$bindir"])
 # We ignore failure on purpose here: we may not be root.
 AT_CHECK([$LIBTOOL --mode=finish $libdir], [ignore], [ignore], [ignore])
-LT_AT_EXEC_CHECK([$bindir/m])
+LT_AT_EXEC_CHECK([$bindir/m$EXEEXT])
 
 AT_CLEANUP
 
@@ -91,7 +91,7 @@ $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c
 $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo -rpath $libdir liba1dep.la liba2dep.la
 echo 'extern int a(); int main() { return a(); }' > m.c
 $CC $CPPFLAGS $CFLAGS -c m.c
-$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m m.$OBJEXT liba.la
+$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT m.$OBJEXT liba.la
 mkdir $DESTDIR$libdir $DESTDIR${libdir}2 $DESTDIR$bindir
 AT_CHECK([$LIBTOOL --mode=install cp liba1dep.la $DESTDIR$libdir/liba1dep.la],
 	 [], [ignore], [ignore])
@@ -124,7 +124,7 @@ for lib in a1dep a2dep a; do
   $LIBTOOL --mode=install cp lib$lib.la $DESTDIR$ldir/lib$lib.la
 done
 
-LT_AT_EXEC_CHECK([$bindir/m])
+LT_AT_EXEC_CHECK([$bindir/m$EXEEXT])
 
 # TODO: make this more portable:
 if test "$OBJDUMP" != false && ($OBJDUMP -p $bindir/m$EXEEXT) >/dev/null 2>&1; then


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Nov 11 16:57:31 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L01Eo-00034i-Nu
	for mharc-libtool-commit@gnu.org; Tue, 11 Nov 2008 16:57:30 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L01En-00033U-E4
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:57:29 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L01Em-00032y-J2
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:57:28 -0500
Received: from [199.232.76.173] (port=47172 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L01Em-00032r-D7
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:57:28 -0500
Received: from savannah.gnu.org ([199.232.41.3]:35974 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L01El-0004Df-QQ
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 16:57:28 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L01Ek-0003TG-09
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 21:57:26 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L01Ej-0003Sn-JS
	for libtool-commit@gnu.org; Tue, 11 Nov 2008 21:57:25 +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: 800959471b59bb2dcfc990e518491762e6d834b7
X-Git-Newrev: 4febcf0449fc14b2022a8838d5bde9a733ac116f
Message-Id: <E1L01Ej-0003Sn-JS@cvs.savannah.gnu.org>
Date: Tue, 11 Nov 2008 21:57:25 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-25-g4febcf0
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/pipermail/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, 11 Nov 2008 21:57: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  4febcf0449fc14b2022a8838d5bde9a733ac116f (commit)
      from  800959471b59bb2dcfc990e518491762e6d834b7 (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 4febcf0449fc14b2022a8838d5bde9a733ac116f
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Nov 11 22:55:45 2008 +0100

    Do not use `test ... -a ...'.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
    Replace test -a with test && test.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index fd5c82b..3753fc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Do not use `test ... -a ...'.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
+	Replace test -a with test && test.
+
 2008-11-11  Roumen Petrov  <bugtrack@roumenpetrov.info>  (tiny change)
 
 	Fix destdir tests in cross compile mode.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 0b2f320..461e3cd 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4783,7 +4783,7 @@ _LT_EOF
       ;;
 
     hpux10*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      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'
       else
 	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
@@ -4802,7 +4802,7 @@ _LT_EOF
       ;;
 
     hpux11*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 	case $host_cpu in
 	hppa*64*)
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Wed Nov 12 01:23:41 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L098e-0006WD-Ou
	for mharc-libtool-commit@gnu.org; Wed, 12 Nov 2008 01:23:40 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L098d-0006Vn-1y
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 01:23:39 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L098c-0006Vb-IQ
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 01:23:38 -0500
Received: from [199.232.76.173] (port=54753 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L098c-0006VY-2C
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 01:23:38 -0500
Received: from savannah.gnu.org ([199.232.41.3]:38985 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L098c-0007C3-3S
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 01:23:38 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L098a-00016b-LH
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 06:23:36 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L098Z-000161-Gq
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 06:23: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: 4febcf0449fc14b2022a8838d5bde9a733ac116f
X-Git-Newrev: f7cccd31202d0a6d0ff91e0798d29664dc916f5d
Message-Id: <E1L098Z-000161-Gq@cvs.savannah.gnu.org>
Date: Wed, 12 Nov 2008 06:23:36 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-26-gf7cccd3
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/pipermail/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, 12 Nov 2008 06:23: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  f7cccd31202d0a6d0ff91e0798d29664dc916f5d (commit)
      from  4febcf0449fc14b2022a8838d5bde9a733ac116f (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 f7cccd31202d0a6d0ff91e0798d29664dc916f5d
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Nov 12 07:21:20 2008 +0100

    Use -no-undefined in install tests.
    
    * tests/install.at (Install tests): Use `-no-undefined'.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 3753fc6..5def4b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Use -no-undefined in install tests.
+	* tests/install.at (Install tests): Use `-no-undefined'.
+
 2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Do not use `test ... -a ...'.
diff --git a/tests/install.at b/tests/install.at
index e0a075c..f77970e 100644
--- a/tests/install.at
+++ b/tests/install.at
@@ -39,7 +39,8 @@ mkdir inst
 
 echo 'int a () { return 0; }' > a.c
 $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c
-$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo -rpath $inst
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo ]dnl
+	 [-rpath $inst -no-undefined], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=install $INSTALL liba.la $inst],
 	 [], [stdout], [ignore])
 AT_CHECK([grep ' -m 755' stdout], [], [ignore])


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Wed Nov 12 02:43:02 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L0ANS-0002GF-Kr
	for mharc-libtool-commit@gnu.org; Wed, 12 Nov 2008 02:43:02 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L0ANP-0002DB-On
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 02:42:59 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L0ANO-0002Cx-Tb
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 02:42:59 -0500
Received: from [199.232.76.173] (port=43163 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L0ANO-0002Cm-Mg
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 02:42:58 -0500
Received: from savannah.gnu.org ([199.232.41.3]:55670 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L0ANO-0007XW-Nx
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 02:42:59 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L0ANN-0004CP-Gr
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 07:42:57 +0000
Received: from bonzini by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L0ANM-0004Bw-Th
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 07:42:57 +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: f7cccd31202d0a6d0ff91e0798d29664dc916f5d
X-Git-Newrev: a0283899e7e8a1db793d082537850dd43143268a
Message-Id: <E1L0ANM-0004Bw-Th@cvs.savannah.gnu.org>
Date: Wed, 12 Nov 2008 07:42:57 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-27-ga028389
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/pipermail/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, 12 Nov 2008 07:43:00 -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  a0283899e7e8a1db793d082537850dd43143268a (commit)
      from  f7cccd31202d0a6d0ff91e0798d29664dc916f5d (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 a0283899e7e8a1db793d082537850dd43143268a
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Fri Nov 7 09:03:35 2008 +0100

    Implement $ECHO with print -r, printf or cat in a shell function.
    
    * configure.ac: Bump Autoconf requirement.
    * libltdl/config/general.m4sh: Use $as_echo as default $ECHO.
    * tests/testsuite.at: Use $as_echo as default $ECHO.
    
    * libltdl/m4/libtool.m4 (LT_INIT): Add _LT_SHELL_INIT to
    work around Autoconf <2.64 bug.
    (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Add func_fallback_echo.
    Eliminate lt_ECHO requoting.
    (_LT_SHELL_INIT): Use a public M4sh diversion.
    (_LT_PROG_ECHO_BACKSLASH): Rewrite.
    (LT_CMD_MAX_LEN): Do not use --fallback-echo.
    * libltdl/config/ltmain.m4sh: Remove --no-reexec and --fallback-echo
    handling.
    (func_fallback_echo): New.
    (func_emit_wrapper_part1): Quote ECHO.  Remove --no-reexec and
    --fallback-echo handling.
    (Execute mode): Do not set qecho.

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

Summary of changes:
 ChangeLog                   |   20 ++++
 HACKING                     |   13 +--
 configure.ac                |    2 +-
 libltdl/config/general.m4sh |    2 +-
 libltdl/config/ltmain.m4sh  |   70 ++++----------
 libltdl/m4/libtool.m4       |  212 ++++++++++--------------------------------
 tests/testsuite.at          |    3 +-
 7 files changed, 102 insertions(+), 220 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5def4b4..11a8488 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2008-11-12  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure.ac: Bump Autoconf requirement.
+	* libltdl/config/general.m4sh: Use $as_echo as default $ECHO.
+	* tests/testsuite.at: Use $as_echo as default $ECHO.
+
+	* libltdl/m4/libtool.m4 (LT_INIT): Add _LT_SHELL_INIT to
+	work around Autoconf <2.64 bug.
+	(_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Add func_fallback_echo.
+	Eliminate lt_ECHO requoting.
+	(_LT_SHELL_INIT): Use a public M4sh diversion.
+	(_LT_PROG_ECHO_BACKSLASH): Rewrite.
+	(LT_CMD_MAX_LEN): Do not use --fallback-echo.
+	* libltdl/config/ltmain.m4sh: Remove --no-reexec and --fallback-echo
+	handling.
+	(func_fallback_echo): New.
+	(func_emit_wrapper_part1): Quote ECHO.  Remove --no-reexec and
+	--fallback-echo handling.
+	(Execute mode): Do not set qecho.
+
 2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Use -no-undefined in install tests.
diff --git a/HACKING b/HACKING
index c7efe41..71f2dad 100644
--- a/HACKING
+++ b/HACKING
@@ -290,16 +290,15 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
 ======================
 
 * Be careful with both `echo' and `$ECHO'.  As the latter may be one of
-   echo
-   print -r
+   print -r --
    printf %s\n
-   $CONFIG_SHELL $0 --fallback-echo
-  it may not have more than one argument, its value may not be eval'ed
-  and the argument may not start with a `-'.  As a rule of thumb, use
+   func_fallback_echo
+  it may not have more than one argument and its value may not be
+  eval'ed.  However, the argument may start with a `-'.  As a rule of
+  thumb, use
    echo ..		for literal (constant) strings without leading
 			hyphen and no backslashes within,
-   $ECHO ".."		for strings without leading hyphen,
-   $ECHO "X.." | $Xsed	otherwise.
+   $ECHO ".."		otherwise.
 
 * The Autoconf manual says that giving an empty parameter is equivalent
   to not giving it at all.  (In particular, the Autoconf manual doesn't
diff --git a/configure.ac b/configure.ac
index 9b15ccc..56325f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 ####
 
 
-AC_PREREQ(2.59)dnl We use AS_HELP_STRING
+AC_PREREQ(2.62)dnl Some m4sh scripts use $as_echo
 dnl Oldest automake required for bootstrap is below in AM_INIT_AUTOMAKE.
 
 
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index cde7354..bd740fd 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -45,7 +45,7 @@ progpath="$0"
 
 M4SH_VERBATIM([[
 : ${CP="cp -f"}
-: ${ECHO="echo"}
+: ${ECHO=$as_echo}
 : ${EGREP="@EGREP@"}
 : ${FGREP="@FGREP@"}
 : ${GREP="@GREP@"}
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 45e37af..db0ea67 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -92,6 +92,14 @@ fi
 BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
 # NLS nuisances: We save the old values to restore during execute mode.
 # Only set LANG and LC_ALL to C if already set.
 # These must not be set unconditionally because not all systems understand
@@ -118,29 +126,6 @@ m4_define([M4SH_IN_HEADER], [$1])dnl
 m4_include([getopt.m4sh])
 
 M4SH_VERBATIM([[
-# Check that we have a working $ECHO.
-if test "X$1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X$1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell, and then maybe $ECHO will work.
-  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
-fi
-
-if test "X$1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<EOF
-$*
-EOF
-  exit $EXIT_SUCCESS
-fi
 
 magic="%%%MAGIC variable%%%"
 magic_exe="%%%MAGIC EXE variable%%%"
@@ -2357,22 +2342,20 @@ if test \"\$libtool_install_magic\" = \"$magic\"; then
 else
   # When we are sourced in execute mode, \$file and \$ECHO are already set.
   if test \"\$libtool_execute_magic\" != \"$magic\"; then
-    ECHO=\"$qecho\"
-    file=\"\$0\"
-    # Make sure echo works.
-    if test \"X\$1\" = X--no-reexec; then
-      # Discard the --no-reexec flag, and continue.
-      shift
-    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
-      # Yippee, \$ECHO works!
-      :
-    else
-      # Restart under the correct shell, and then maybe \$ECHO will work.
-      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
-    fi
+    file=\"\$0\""
+
+    qECHO=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
+    $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+    ECHO=\"$qECHO\"
   fi\
-"
-	$ECHO "\
 
   # Find the directory that this script lives in.
   thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
@@ -7505,17 +7488,6 @@ EOF
 	relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
       fi
 
-      # Quote $ECHO for shipping.
-      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
-	case $progpath in
-	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
-	*) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
-	esac
-	qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
-      else
-	qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
-      fi
-
       # Only actually do things if not in dry run mode.
       $opt_dry_run || {
 	# win32 will think the script is a binary if it has
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 461e3cd..b193fc0 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -82,6 +82,8 @@ AC_REQUIRE([LTVERSION_VERSION])dnl
 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 m4_require([_LT_PROG_LTMAIN])dnl
 
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
 dnl Parse OPTIONS
 _LT_SET_OPTIONS([$0], [$1])
 
@@ -524,6 +526,14 @@ LTCC='$LTCC'
 LTCFLAGS='$LTCFLAGS'
 compiler='$compiler_DEFAULT'
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
 # Quote evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_quote_varnames); do
@@ -550,13 +560,6 @@ for var in lt_decl_all_varnames([[ \
     esac
 done
 
-# Fix-up fallback echo if it was mangled by the above quoting rules.
-case \$lt_ECHO in
-*'\\\[$]0 --fallback-echo"')dnl "
-  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
-  ;;
-esac
-
 _LT_OUTPUT_LIBTOOL_INIT
 ])
 
@@ -1068,170 +1071,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 # _LT_SHELL_INIT(ARG)
 # -------------------
 m4_define([_LT_SHELL_INIT],
-[ifdef([AC_DIVERSION_NOTICE],
-	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
-	 [AC_DIVERT_PUSH(NOTICE)])
-$1
-AC_DIVERT_POP
-])# _LT_SHELL_INIT
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
 
 
 # _LT_PROG_ECHO_BACKSLASH
 # -----------------------
-# Add some code to the start of the generated configure script which
-# will find an echo command which doesn't interpret backslashes.
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script which will find a shell with a builtin
+# printf (which we can use as an echo command).
 m4_defun([_LT_PROG_ECHO_BACKSLASH],
-[_LT_SHELL_INIT([
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-case X$lt_ECHO in
-X*--fallback-echo)
-  # Remove one level of quotation (which was required for Make).
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
-  ;;
-esac
-
-ECHO=${lt_ECHO-echo}
-if test "X[$]1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X[$]1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
-  # Yippee, $ECHO works!
-  :
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+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 && \
+   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
+  ECHO='printf %s\n'
 else
-  # Restart under the correct shell.
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
-fi
-
-if test "X[$]1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<_LT_EOF
-[$]*
-_LT_EOF
-  exit 0
+  # Use this function as a fallback that always works.
+  func_fallback_echo ()
+  {
+    eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+  }
+  ECHO='func_fallback_echo'
 fi
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test -z "$lt_ECHO"; then
-  if test "X${echo_test_string+set}" != Xset; then
-    # find a string as large as possible, as long as the shell can cope with it
-    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
-	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
-      then
-        break
-      fi
-    done
-  fi
-
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-     test "X$echo_testing_string" = "X$echo_test_string"; then
-    :
-  else
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
-    # backslashes.  This makes it impossible to quote backslashes using
-    #   echo "$something" | sed 's/\\/\\\\/g'
-    #
-    # So, first we look for a working echo in the user's PATH.
-
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for dir in $PATH /usr/ucb; do
-      IFS="$lt_save_ifs"
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        ECHO="$dir/echo"
-        break
-      fi
-    done
-    IFS="$lt_save_ifs"
-
-    if test "X$ECHO" = Xecho; then
-      # We didn't find a better echo, so look for alternatives.
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        # This shell has a builtin print -r that does the trick.
-        ECHO='print -r'
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
-	   test "X$CONFIG_SHELL" != X/bin/ksh; then
-        # If we have ksh, try running configure again with it.
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-        export ORIGINAL_CONFIG_SHELL
-        CONFIG_SHELL=/bin/ksh
-        export CONFIG_SHELL
-        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
-      else
-        # Try using printf.
-        ECHO='printf %s\n'
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-	   test "X$echo_testing_string" = "X$echo_test_string"; then
-	  # Cool, printf works
-	  :
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
-	  export CONFIG_SHELL
-	  SHELL="$CONFIG_SHELL"
-	  export SHELL
-	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        else
-	  # maybe with a smaller string...
-	  prev=:
-
-	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
-	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
-	    then
-	      break
-	    fi
-	    prev="$cmd"
-	  done
-
-	  if test "$prev" != 'sed 50q "[$]0"'; then
-	    echo_test_string=`eval $prev`
-	    export echo_test_string
-	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
-	  else
-	    # Oops.  We lost completely, so just stick with echo.
-	    ECHO=echo
-	  fi
-        fi
-      fi
-    fi
-  fi
-fi
+case "$ECHO" in
+  printf*) AC_MSG_RESULT([printf]) ;;
+  print*) AC_MSG_RESULT([print -r]) ;;
+  *) AC_MSG_RESULT([cat]) ;;
+esac
 
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-lt_ECHO=$ECHO
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
-   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
-fi
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+  ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+  PATH=/tmp/nonexistent; export PATH;
+  FPATH=$PATH; export FPATH;
+  test "X`printf %s $ECHO`" = "X$ECHO"])])
 
-AC_SUBST(lt_ECHO)
-])
 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
-_LT_DECL([], [ECHO], [1],
-    [An echo program that does not interpret backslashes])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 ])# _LT_PROG_ECHO_BACKSLASH
 
 
@@ -1618,7 +1508,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
-      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
+      while { test "X"`$ECHO "X$teststring$teststring" 2>/dev/null` \
 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 	      test $i != 17 # 1/2 MB should be enough
       do
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 5990291..f7e805e 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -32,12 +32,13 @@ m4_divert_push([PREPARE_TESTS])dnl
 : ${AUTOCONF=autoconf}
 : ${AUTOMAKE=automake}
 : ${AUTORECONF=autoreconf}
+: ${ECHO=$as_echo}
 for tool in ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF; do
   if eval \$$tool --version >/dev/null 2>&1; then :; else eval $tool=no; fi
 done
 export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF
 eval `$LIBTOOL --config | grep '^EGREP='`
-eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias|ECHO)='`
+eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias)='`
 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 Wed Nov 12 15:13:54 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L0M66-0008Ux-At
	for mharc-libtool-commit@gnu.org; Wed, 12 Nov 2008 15:13:54 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L0M65-0008Us-8H
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 15:13:53 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L0M64-0008Ug-0X
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 15:13:52 -0500
Received: from [199.232.76.173] (port=49120 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L0M63-0008Ud-RL
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 15:13:51 -0500
Received: from savannah.gnu.org ([199.232.41.3]:36862 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L0M63-0001ns-MM
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 15:13:51 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L0M62-0002bO-Qx
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 20:13:50 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L0M62-0002av-9N
	for libtool-commit@gnu.org; Wed, 12 Nov 2008 20:13:50 +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: a0283899e7e8a1db793d082537850dd43143268a
X-Git-Newrev: 0973f2de9afdeb7d2c90749198115b029513b272
Message-Id: <E1L0M62-0002av-9N@cvs.savannah.gnu.org>
Date: Wed, 12 Nov 2008 20:13:50 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-28-g0973f2d
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/pipermail/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, 12 Nov 2008 20:13: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  0973f2de9afdeb7d2c90749198115b029513b272 (commit)
      from  a0283899e7e8a1db793d082537850dd43143268a (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 0973f2de9afdeb7d2c90749198115b029513b272
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Nov 12 21:13:17 2008 +0100

    Fix archive_cmds for older cc on HP-UX 11.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
    [!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
    11.00 C compiler do not support -b yet; use a link test to
    decide whether $LD should be used for library creation.
    * THANKS: Update.
    Report by Daniel Richard G.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |   10 ++++++++++
 THANKS                |    1 +
 libltdl/m4/libtool.m4 |    9 ++++++++-
 3 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 11a8488..62f483a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix archive_cmds for older cc on HP-UX 11.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
+	[!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
+	11.00 C compiler do not support -b yet; use a link test to
+	decide whether $LD should be used for library creation.
+	* THANKS: Update.
+	Report by Daniel Richard G.
+
 2008-11-12  Paolo Bonzini  <bonzini@gnu.org>
 
 	* configure.ac: Bump Autoconf requirement.
diff --git a/THANKS b/THANKS
index 2f18f62..66f705b 100644
--- a/THANKS
+++ b/THANKS
@@ -82,6 +82,7 @@
   Craig Tierney			Craig.Tierney@noaa.gov
   Dalibor Topic			robilad@kaffe.org
   Daniel Reed			n@ml.org
+  Daniel Richard G.		skunk@iSKUNK.ORG
   DJ Delorie			dj@delorie.com
   Edouard G. Parmelan		Edouard.Parmelan@France.NCR.COM
   Erez Zadok			ezk@shekel.mcl.cs.columbia.edu
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index b193fc0..a51c47d 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4713,7 +4713,14 @@ _LT_EOF
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+	m4_if($1, [], [
+	  # Older versions of the 11.00 compiler do not understand -b yet
+	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+	  _LT_LINKER_OPTION([if $CC understands -b],
+	    _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+	    [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+	    [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+	  [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
 	  ;;
 	esac
       fi


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Nov 15 13:37:08 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L1Q16-0006fH-PK
	for mharc-libtool-commit@gnu.org; Sat, 15 Nov 2008 13:37:08 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L1Q14-0006fC-JG
	for libtool-commit@gnu.org; Sat, 15 Nov 2008 13:37:06 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L1Q14-0006f0-2m
	for libtool-commit@gnu.org; Sat, 15 Nov 2008 13:37:06 -0500
Received: from [199.232.76.173] (port=49228 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L1Q13-0006ex-Rf
	for libtool-commit@gnu.org; Sat, 15 Nov 2008 13:37:05 -0500
Received: from savannah.gnu.org ([199.232.41.3]:37083 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L1Q12-0004eF-R9
	for libtool-commit@gnu.org; Sat, 15 Nov 2008 13:37:05 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1Q12-0001xB-0q
	for libtool-commit@gnu.org; Sat, 15 Nov 2008 18:37:04 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1Q10-0001wb-B8
	for libtool-commit@gnu.org; Sat, 15 Nov 2008 18:37:03 +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: 0973f2de9afdeb7d2c90749198115b029513b272
X-Git-Newrev: bbf0ec783512da7001d1edf72caa72df4742453b
Message-Id: <E1L1Q10-0001wb-B8@cvs.savannah.gnu.org>
Date: Sat, 15 Nov 2008 18:37:03 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-29-gbbf0ec7
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/pipermail/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, 15 Nov 2008 18:37: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  bbf0ec783512da7001d1edf72caa72df4742453b (commit)
      from  0973f2de9afdeb7d2c90749198115b029513b272 (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 bbf0ec783512da7001d1edf72caa72df4742453b
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sat Nov 15 13:29:19 2008 -0500

    Add func_win32_import_lib_p.
    
    * libltdl/config/ltmain.m4sh (func_win32_import_lib_p):
    New function.

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

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

diff --git a/ChangeLog b/ChangeLog
index 62f483a..7e49432 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-15  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Add func_win32_import_lib_p.
+	* libltdl/config/ltmain.m4sh (func_win32_import_lib_p):
+	New function.
+
 2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix archive_cmds for older cc on HP-UX 11.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index db0ea67..91c1f47 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -3720,6 +3720,17 @@ EOF
 }
 # end: func_emit_cwrapperexe_src
 
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+    $opt_debug
+    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+    *import*) : ;;
+    *) false ;;
+    esac
+}
+
 # func_mode_link arg...
 func_mode_link ()
 {


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 16 12:29:51 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L1lRX-0006hM-4n
	for mharc-libtool-commit@gnu.org; Sun, 16 Nov 2008 12:29:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L1lRV-0006hH-BE
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 12:29:49 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L1lRU-0006gz-Ok
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 12:29:48 -0500
Received: from [199.232.76.173] (port=53521 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L1lRU-0006gu-IY
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 12:29:48 -0500
Received: from savannah.gnu.org ([199.232.41.3]:36266 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L1lRU-0003vT-MB
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 12:29:48 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1lRT-0006HO-9Z
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:29:47 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1lRS-0006Gv-St
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:29:47 +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: bbf0ec783512da7001d1edf72caa72df4742453b
X-Git-Newrev: b7109dab7251a5f3608c68830f63cab97b58ff04
Message-Id: <E1L1lRS-0006Gv-St@cvs.savannah.gnu.org>
Date: Sun, 16 Nov 2008 17:29:46 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-30-gb7109da
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/pipermail/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, 16 Nov 2008 17:29: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  b7109dab7251a5f3608c68830f63cab97b58ff04 (commit)
      from  bbf0ec783512da7001d1edf72caa72df4742453b (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 b7109dab7251a5f3608c68830f63cab97b58ff04
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 16 18:29:34 2008 +0100

    Fix execute mode test to actually expose cwrapper failures.
    
    * tests/execute-mode.at (execute mode): Actually also test the
    cwrapper on the arguments.
    Report by Bruno Haible.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |    7 +++++++
 tests/execute-mode.at |   10 +++++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7e49432..aff79eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix execute mode test to actually expose cwrapper failures.
+	* tests/execute-mode.at (execute mode): Actually also test the
+	cwrapper on the arguments.
+	Report by Bruno Haible.
+
 2008-11-15  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Add func_win32_import_lib_p.
diff --git a/tests/execute-mode.at b/tests/execute-mode.at
index acbe081..a019e8e 100644
--- a/tests/execute-mode.at
+++ b/tests/execute-mode.at
@@ -119,7 +119,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la -rpath $libdir li
 	 [], [ignore], [ignore])
 AT_CHECK([$CC $CPPFLAGS $CFLAGS -c main.c],
 	 [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la],
 	 [], [ignore], [ignore])
 
 # end of preparatory blurb.
@@ -168,6 +168,9 @@ AT_CHECK([$LIBTOOL --mode=execute ./foo lt-wrapper "arg  with special chars: \$!
 	 [], [./lt-real
 arg  with special chars: $!&*`'()
 ])
+AT_CHECK([$LIBTOOL --mode=execute ./main$EXEEXT "arg  with special chars: \$!&*\`'()"],
+	 [], [stdout])
+AT_CHECK([$FGREP 'arg  with special chars: $!&*`'\''()' stdout], [], [ignore])
 
 # We always pair two args.  The first one is never the empty string.
 arg1=
@@ -199,6 +202,11 @@ do
   AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
   AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
   AT_CHECK([test `sed -n '/^abc$/,/^xyz$/p' stdout | wc -l` -eq 4])
+  AT_CHECK([$LIBTOOL --mode=execute ./main$EXEEXT abc "$arg1" "$arg2" xyz], [], [stdout])
+  AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
+  AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
+  # Do not match EOL here, cross setups may have an extra \r here.
+  AT_CHECK([test `sed -n '/^abc/,/^xyz/p' stdout | wc -l` -eq 4])
   arg1=
 done
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 16 17:33:20 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L1qBE-0004UJ-J3
	for mharc-libtool-commit@gnu.org; Sun, 16 Nov 2008 17:33:20 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L1qBC-0004UE-PI
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:33:18 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L1qBB-0004U2-4C
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:33:17 -0500
Received: from [199.232.76.173] (port=50273 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L1qBB-0004Tz-0Q
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:33:17 -0500
Received: from savannah.gnu.org ([199.232.41.3]:54535 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L1qBA-0001NH-RX
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:33:16 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1qBA-0006fl-6t
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 22:33:16 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1qB9-0006fG-2a
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 22:33:15 +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: b7109dab7251a5f3608c68830f63cab97b58ff04
X-Git-Newrev: 44ee284ba2f235ae39460a0d372ec1ef8ac3dc34
Message-Id: <E1L1qB9-0006fG-2a@cvs.savannah.gnu.org>
Date: Sun, 16 Nov 2008 22:33:15 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-32-g44ee284
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/pipermail/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, 16 Nov 2008 22:33:19 -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  44ee284ba2f235ae39460a0d372ec1ef8ac3dc34 (commit)
       via  bbd9f2903d2b84c71bccbb16de338ba75329e59a (commit)
      from  b7109dab7251a5f3608c68830f63cab97b58ff04 (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 44ee284ba2f235ae39460a0d372ec1ef8ac3dc34
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 16 23:31:56 2008 +0100

    Skip sys_lib_search_path on systems without libz.
    
    * tests/search-path.at (sys_lib_search_path): Autotest needs at
    least one AT_CHECK executed in a test group.  So if we haven't
    found -lz anywhere, as may happen with cross-compilers, skip the
    test.
    * THANKS: Update.
    Report by Alon Bar-Lev.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit bbd9f2903d2b84c71bccbb16de338ba75329e59a
Author: Alon Bar-Lev <alon.barlev@gmail.com>
Date:   Sun Nov 16 23:29:20 2008 +0100

    Ignore .exe files.
    
    * .gitignore: Ignore *.exe.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 .gitignore           |    1 +
 ChangeLog            |    8 ++++++++
 THANKS               |    1 +
 tests/search-path.at |    9 ++++++++-
 4 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index cacff4e..e8e1bc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
 *.cp
 *.cps
 *.dvi
+*.exe
 *.fn
 *.ky
 *.la
diff --git a/ChangeLog b/ChangeLog
index aff79eb..05285be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2008-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Skip sys_lib_search_path on systems without libz.
+	* tests/search-path.at (sys_lib_search_path): Autotest needs at
+	least one AT_CHECK executed in a test group.  So if we haven't
+	found -lz anywhere, as may happen with cross-compilers, skip the
+	test.
+	* THANKS: Update.
+	Report by Alon Bar-Lev.
+
 	Fix execute mode test to actually expose cwrapper failures.
 	* tests/execute-mode.at (execute mode): Actually also test the
 	cwrapper on the arguments.
diff --git a/THANKS b/THANKS
index 66f705b..d37d264 100644
--- a/THANKS
+++ b/THANKS
@@ -68,6 +68,7 @@
   and generally assist in the libtool maintainership process:
 
   Alexei Sheplyakov		varg@theor.jinr.ru
+  Alon Bar-Lev			alon.barlev@gmail.com
   Andreas Schwab		schwab@suse.de
   Andrey Slepuhin		pooh@msu.ru
   Aneesh Kumar K.V		kvaneesh@hotmail.com
diff --git a/tests/search-path.at b/tests/search-path.at
index 2bc56c0..929d2dd 100644
--- a/tests/search-path.at
+++ b/tests/search-path.at
@@ -1,6 +1,6 @@
 # search-path.at -- test sys_lib_search_path_spec             -*- Autotest -*-
 #
-#   Copyright (C) 2006 Free Software Foundation, Inc.
+#   Copyright (C) 2006, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2006
 #
 #   This file is part of GNU Libtool.
@@ -41,13 +41,20 @@ int main()
 $CC $CPPFLAGS $CFLAGS -c main.c
 eval `$LIBTOOL --config | $EGREP '^(sys_lib_search_path_spec)='`
 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+no_libz=:
 for path in $sys_lib_search_path; do
   if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT -L$path -lz
   then
     AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT -lz],
              [], [ignore], [ignore])
+    no_libz=false
     break
   fi
 done
 
+# If -lz doesn't exist (hello, cross compiler!), we need a dummy test.
+if $no_libz; then
+  AT_CHECK([exit 77])
+fi
+
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 16 17:38:35 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L1qGJ-00063y-Hi
	for mharc-libtool-commit@gnu.org; Sun, 16 Nov 2008 17:38:35 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L1qGI-00063V-HX
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:38:34 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L1qGH-00062u-OT
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:38:34 -0500
Received: from [199.232.76.173] (port=50950 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L1qGH-00062q-Ek
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:38:33 -0500
Received: from savannah.gnu.org ([199.232.41.3]:49554 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L1qGH-0001kb-AX
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 17:38:33 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1qGG-0006qM-Mn
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 22:38:32 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L1qGG-0006po-72
	for libtool-commit@gnu.org; Sun, 16 Nov 2008 22:38:32 +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: 44ee284ba2f235ae39460a0d372ec1ef8ac3dc34
X-Git-Newrev: d885f7721320c1ac77c29b0f0313a84622924188
Message-Id: <E1L1qGG-0006po-72@cvs.savannah.gnu.org>
Date: Sun, 16 Nov 2008 22:38:32 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-33-gd885f77
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/pipermail/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, 16 Nov 2008 22:38: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  d885f7721320c1ac77c29b0f0313a84622924188 (commit)
      from  44ee284ba2f235ae39460a0d372ec1ef8ac3dc34 (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 d885f7721320c1ac77c29b0f0313a84622924188
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 16 23:36:25 2008 +0100

    Fix $ECHO abuse exposed by recent patch.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
    _LT_CHECK_SHELL_FEATURES, for $lt_NL2SP.  Always quote argument
    to $ECHO.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 05285be..4ad511a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix $ECHO abuse exposed by recent patch.
+	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
+	_LT_CHECK_SHELL_FEATURES, for $lt_NL2SP.  Always quote argument
+	to $ECHO.
+
 	Skip sys_lib_search_path on systems without libz.
 	* tests/search-path.at (sys_lib_search_path): Autotest needs at
 	least one AT_CHECK executed in a test group.  So if we haven't
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a51c47d..763a410 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1954,6 +1954,7 @@ m4_require([_LT_DECL_EGREP])dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_OBJDUMP])dnl
 m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 AC_MSG_CHECKING([dynamic linker characteristics])
 m4_if([$1],
 	[], [
@@ -1984,7 +1985,7 @@ if test "$GCC" = yes; then
 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     fi
   done
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
+  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 BEGIN {RS=" "; FS="/|\n";} {
   lt_foo="";
   lt_count=0;
@@ -2004,7 +2005,7 @@ BEGIN {RS=" "; FS="/|\n";} {
   if (lt_foo != "") { lt_freq[[lt_foo]]++; }
   if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 }'`
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
+  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 fi])


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Nov 20 01:14:39 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L32oJ-0001Fe-9n
	for mharc-libtool-commit@gnu.org; Thu, 20 Nov 2008 01:14:39 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L32oI-0001Eh-9P
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:14:38 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L32oG-0001DA-KL
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:14:37 -0500
Received: from [199.232.76.173] (port=42046 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L32oG-0001D1-Ei
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:14:36 -0500
Received: from savannah.gnu.org ([199.232.41.3]:35096 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L32oG-0001uA-5w
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:14:36 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L32oD-0005Be-9D
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 06:14:33 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L32oB-0005B2-Oy
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 06:14:33 +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: d885f7721320c1ac77c29b0f0313a84622924188
X-Git-Newrev: 3745830dcbc27ed4f4a760850713e721f326be64
Message-Id: <E1L32oB-0005B2-Oy@cvs.savannah.gnu.org>
Date: Thu, 20 Nov 2008 06:14:32 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-34-g3745830
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/pipermail/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, 20 Nov 2008 06:14: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  3745830dcbc27ed4f4a760850713e721f326be64 (commit)
      from  d885f7721320c1ac77c29b0f0313a84622924188 (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 3745830dcbc27ed4f4a760850713e721f326be64
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Nov 20 07:13:36 2008 +0100

    Check for bogus aclocal.m4 contents in bootstrap and dist-hook.
    
    * Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
    contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
    definitions.  These can only come from bogus pull-ins from older
    installed Libtool macro files.
    * bootstrap: Likewise.
    Report by Akim Demaille.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog   |   10 ++++++++++
 Makefile.am |    7 +++++++
 bootstrap   |    7 +++++++
 3 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4ad511a..35ca37e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Check for bogus aclocal.m4 contents in bootstrap and dist-hook.
+	* Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
+	contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
+	definitions.  These can only come from bogus pull-ins from older
+	installed Libtool macro files.
+	* bootstrap: Likewise.
+	Report by Akim Demaille.
+
 2008-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix $ECHO abuse exposed by recent patch.
diff --git a/Makefile.am b/Makefile.am
index 8b19ea5..a09ed3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -433,6 +433,13 @@ dist-hook:
 	case $(VERSION) in \
 	  *[a-z]) cp -p $(srcdir)/README.alpha $(distdir)/README ;; \
 	esac; else :; fi
+## Ensure aclocal has not wrongly picked up old macro definitions.
+	for macro in LT_INIT AC_PROG_LIBTOOL AM_PROG_LIBTOOL; do \
+	  if grep $$macro $(srcdir)/aclocal.m4 $(srcdir)/libltdl/aclocal.m4; then \
+	    echo "Bogus $$macro macro contents in an aclocal.m4 file." >&2; \
+	    exit 1; \
+	  else :; fi; \
+	done
 
 
 ## ----------- ##
diff --git a/bootstrap b/bootstrap
index 8ce6ac7..f8b44c1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -183,6 +183,13 @@ rm -f Makefile libltdl/Makefile libtool vcl.tmp
 # to be regenerated at make-time with proper substitutions in place:
 touch $auxdir/ltmain.m4sh
 
+for macro in LT_INIT AC_PROG_LIBTOOL AM_PROG_LIBTOOL; do
+  if grep $macro aclocal.m4 libltdl/aclocal.m4; then
+    echo "Bogus $macro macro contents in an aclocal.m4 file." >&2
+    exit 1
+  else :; fi
+done
+
 # Commit script caveat:
 cat <<EOF
 WARNING: You might want to regenerate \`commit' and \`$auxdir/mailnotify'


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Nov 20 01:20:36 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L32u3-0004RE-SM
	for mharc-libtool-commit@gnu.org; Thu, 20 Nov 2008 01:20:35 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L32u2-0004QD-9F
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:20:34 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L32u1-0004Pb-N8
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:20:33 -0500
Received: from [199.232.76.173] (port=57227 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L32u1-0004PU-Ci
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:20:33 -0500
Received: from savannah.gnu.org ([199.232.41.3]:45076 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L32u1-0002k8-1p
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:20:33 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L32tx-0005q4-PL
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 06:20:30 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L32ts-0005p5-1z
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 06:20:27 +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: 3745830dcbc27ed4f4a760850713e721f326be64
X-Git-Newrev: 1ae7ff35f29633fd1abf6a07db8c122dedf2869b
Message-Id: <E1L32ts-0005p5-1z@cvs.savannah.gnu.org>
Date: Thu, 20 Nov 2008 06:20:26 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-35-g1ae7ff3
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/pipermail/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, 20 Nov 2008 06:20: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  1ae7ff35f29633fd1abf6a07db8c122dedf2869b (commit)
      from  3745830dcbc27ed4f4a760850713e721f326be64 (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 1ae7ff35f29633fd1abf6a07db8c122dedf2869b
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Nov 20 07:18:38 2008 +0100

    Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
    
    * libltdl/m4/libtool.m4 (LT_INIT): Require
    AC_CONFIG_AUX_DIR_DEFAULT.
    * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
    expose this.
    Report, analysis, and test example by Jakub Bogusz.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |    7 +++++++
 libltdl/m4/libtool.m4 |    1 +
 tests/old-m4-iface.at |    7 ++++++-
 3 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 35ca37e..a9c3db4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
+	* libltdl/m4/libtool.m4 (LT_INIT): Require
+	AC_CONFIG_AUX_DIR_DEFAULT.
+	* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
+	expose this.
+	Report, analysis, and test example by Jakub Bogusz.
+
 	Check for bogus aclocal.m4 contents in bootstrap and dist-hook.
 	* Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
 	contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 763a410..011b99c 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -66,6 +66,7 @@ esac
 # ------------------
 AC_DEFUN([LT_INIT],
 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 AC_BEFORE([$0], [LT_LANG])dnl
 AC_BEFORE([$0], [LT_OUTPUT])dnl
 AC_BEFORE([$0], [LTDL_INIT])dnl
diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at
index 3365a2a..1e374d4 100644
--- a/tests/old-m4-iface.at
+++ b/tests/old-m4-iface.at
@@ -42,6 +42,7 @@ AT_SETUP([AM_PROG_LIBTOOL])
 AT_DATA([configure.in],
 [[AC_INIT(old.c)
 AM_PROG_LIBTOOL
+AC_SUBST([LIBTOOL_DEPS])
 AC_OUTPUT(Makefile)
 ]])
 
@@ -49,8 +50,9 @@ AT_DATA([Makefile.in],
 [[COMPILE = @CC@ @CPPFLAGS@ @CFLAGS@
 LINK      = @CC@ @CFLAGS@ @LDFLAGS@ -o $@
 SHELL     = @SHELL@
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
 
-all: old@EXEEXT@
+all: libtool old@EXEEXT@
 
 old@EXEEXT@: old.@OBJEXT@
 	$(LINK) old.@OBJEXT@
@@ -60,6 +62,9 @@ old@EXEEXT@: old.@OBJEXT@
 
 .c.@OBJEXT@:
 	$(COMPILE) -c $<
+
+libtool: $(LIBTOOL_DEPS)
+	$(SHELL) ./config.status --recheck
 ]])
 
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Nov 20 01:26:39 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L32zu-0007MX-Rc
	for mharc-libtool-commit@gnu.org; Thu, 20 Nov 2008 01:26:39 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L32zr-0007LY-9T
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:26:35 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L32zq-0007L6-5Q
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:26:34 -0500
Received: from [199.232.76.173] (port=36175 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L32zp-0007L2-VP
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:26:34 -0500
Received: from savannah.gnu.org ([199.232.41.3]:42766 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L32zp-0003Wt-PJ
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 01:26:33 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L32zo-0006Re-Vj
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 06:26:33 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L32zn-0006R8-D9
	for libtool-commit@gnu.org; Thu, 20 Nov 2008 06:26:32 +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: 1ae7ff35f29633fd1abf6a07db8c122dedf2869b
X-Git-Newrev: 4e7334c7c28e51d3943339f6f3617985c03e3f79
Message-Id: <E1L32zn-0006R8-D9@cvs.savannah.gnu.org>
Date: Thu, 20 Nov 2008 06:26:32 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-36-g4e7334c
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/pipermail/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, 20 Nov 2008 06:26: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  4e7334c7c28e51d3943339f6f3617985c03e3f79 (commit)
      from  1ae7ff35f29633fd1abf6a07db8c122dedf2869b (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 4e7334c7c28e51d3943339f6f3617985c03e3f79
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Nov 20 07:23:45 2008 +0100

    Fix match patterns for cegcc*.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
    instead of '*cegcc' for $host_os.
    * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
    * tests/lt_dladvise.at (lt_dlopenadvise library loading):
    Likewise.
    * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
    '*-*-cegcc*' for $host.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |    9 +++++++++
 libltdl/config/ltmain.m4sh |    2 +-
 libltdl/m4/libtool.m4      |    2 +-
 libltdl/m4/ltoptions.m4    |    2 +-
 tests/lt_dladvise.at       |    2 +-
 5 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a9c3db4..b1582fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix match patterns for cegcc*.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
+	instead of '*cegcc' for $host_os.
+	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
+	* tests/lt_dladvise.at (lt_dlopenadvise library loading):
+	Likewise.
+	* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
+	'*-*-cegcc*' for $host.
+
 	Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
 	* libltdl/m4/libtool.m4 (LT_INIT): Require
 	AC_CONFIG_AUX_DIR_DEFAULT.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 91c1f47..7b11e96 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7382,7 +7382,7 @@ EOF
           wrappers_required=no
         fi
         ;;
-      *cegcc)
+      *cegcc*)
         # Disable wrappers for cegcc, we are cross compiling anyway.
         wrappers_required=no
         ;;
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 011b99c..35d7d5c 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2931,7 +2931,7 @@ mingw* | pw32*)
   fi
   ;;
 
-cegcc)
+cegcc*)
   # use the weaker test based on 'objdump'. See mingw*.
   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   lt_cv_file_magic_cmd='$OBJDUMP -f'
diff --git a/libltdl/m4/ltoptions.m4 b/libltdl/m4/ltoptions.m4
index 34151a3..b8e0e71 100644
--- a/libltdl/m4/ltoptions.m4
+++ b/libltdl/m4/ltoptions.m4
@@ -125,7 +125,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 [enable_win32_dll=yes
 
 case $host in
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   AC_CHECK_TOOL(AS, as, false)
   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
   AC_CHECK_TOOL(OBJDUMP, objdump, false)
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index dccb122..b76746c 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -319,7 +319,7 @@ dlpreloadable='preload'
 # ------------------------------------------------------------------------- #
 
 case $host_os in
-cygwin* | mingw*)
+cygwin* | mingw* | cegcc*)
   # These hosts do not support linking without -no-undefined
   CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0"
   ;;


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Nov 21 20:34:18 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L3hO5-0004b8-SC
	for mharc-libtool-commit@gnu.org; Fri, 21 Nov 2008 20:34:17 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L3hO3-0004aQ-Uk
	for libtool-commit@gnu.org; Fri, 21 Nov 2008 20:34:16 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L3hO2-0004Zp-T7
	for libtool-commit@gnu.org; Fri, 21 Nov 2008 20:34:15 -0500
Received: from [199.232.76.173] (port=60130 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L3hO2-0004Zi-Lk
	for libtool-commit@gnu.org; Fri, 21 Nov 2008 20:34:14 -0500
Received: from savannah.gnu.org ([199.232.41.3]:60596 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L3hO2-00057U-OQ
	for libtool-commit@gnu.org; Fri, 21 Nov 2008 20:34:14 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L3hO1-00076t-B3
	for libtool-commit@gnu.org; Sat, 22 Nov 2008 01:34:13 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L3hO0-00076Q-Qc
	for libtool-commit@gnu.org; Sat, 22 Nov 2008 01:34:13 +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: 4e7334c7c28e51d3943339f6f3617985c03e3f79
X-Git-Newrev: 87cea4bf9e8341df8a317f8971fcccdad0cca9f3
Message-Id: <E1L3hO0-00076Q-Qc@cvs.savannah.gnu.org>
Date: Sat, 22 Nov 2008 01:34:12 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-37-g87cea4b
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/pipermail/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, 22 Nov 2008 01:34: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  87cea4bf9e8341df8a317f8971fcccdad0cca9f3 (commit)
      from  4e7334c7c28e51d3943339f6f3617985c03e3f79 (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 87cea4bf9e8341df8a317f8971fcccdad0cca9f3
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sat Nov 15 04:40:26 2008 -0500

    Fix --verbose option; add new --no-{silent|quiet|verbose} options.
    
    * libltdl/config/ltmain.m4sh (usage): Document
    new options --no-silent/--no-quiet and --no-verbose.
    (func_enable_tag): Handle new options.
    Modified --verbose to actually activate opt_verbose.
    New behavior: --silent disables both "normal" output and
    func_verbose output.  --verbose enables both "normal"
    output and func_verbose output. --no-silent enables
    "normal" output, but does not affect func_verbose output.
    --no-verbose disables func_verbose output, but does not
    affect "normal" output.
    * NEWS: announce new options --no-silent/--no-quiet, and
    --no-verbose.
    * doc/libtool.texi: document new options --no-silent/--no-quiet
    and --no-verbose.

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

Summary of changes:
 ChangeLog                  |   19 +++++++++++++++++++
 NEWS                       |    9 +++++++++
 doc/libtool.texi           |   39 ++++++++++++++++++++++++++++++++++++++-
 libltdl/config/ltmain.m4sh |   16 +++++++++++++++-
 4 files changed, 81 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b1582fd..cd1b1fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2008-11-21  Charles Wilson <libtool@cwilson.fastmail.fm>
+
+	Fix --verbose option; add new --no-{silent|quiet|verbose} options.
+
+	* libltdl/config/ltmain.m4sh (usage): Document
+	new options --no-silent/--no-quiet and --no-verbose.
+	(func_enable_tag): Handle new options.
+	Modified --verbose to actually activate opt_verbose.
+	New behavior: --silent disables both "normal" output and
+	func_verbose output.  --verbose enables both "normal"
+	output and func_verbose output. --no-silent enables
+	"normal" output, but does not affect func_verbose output.
+	--no-verbose disables func_verbose output, but does not
+	affect "normal" output.
+	* NEWS: announce new options --no-silent/--no-quiet, and
+	--no-verbose.
+	* doc/libtool.texi: document new options --no-silent/--no-quiet
+	and --no-verbose.
+
 2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix match patterns for cegcc*.
diff --git a/NEWS b/NEWS
index a38bfb3..c00e404 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,12 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
 
   - Libtool ships and installs man pages for libtool and libtoolize now.
   - New libtool command line flag --help-all.
+  - New libtool command line flag --no-silent (with alternate spelling
+    --no-quiet). This flag (re)enables the default informational messages,
+    but has no effect on so-called "verbose" output messages.
+  - New libtool command line flag --no-verbose, which disables only
+    the extra "verbose" output messages and has no effect on the
+    default informational messages.
 
 * Bug fixes:
 
@@ -13,6 +19,9 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
     with Autoconf 2.59 (`possibly undefined macro: LT_LIBEXT').
   - Fix 2.2.4 regression that caused arguments with special characters
     to be mangled by the compile wrapper for uninstalled programs on MinGW.
+  - libtool command line flag --verbose now also enables explicit
+    verbose output, in addition to its previous behavior of (re)enabling
+    only the default informational output. See New Features, --no-silent.
 
 * Miscellaneous changes:
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index f03adfb..fe9547e 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1207,7 +1207,44 @@ Do not print out any progress or informational messages.
 
 @item -v
 @itemx --verbose
-Print out progress and informational messages (enabled by default).
+Print out progress and informational messages (enabled by default),
+as well as additional messages not ordinary seen by default.
+
+@item --no-quiet
+@itemx --no-silent
+Print out the progress and informational messages that are seen
+by default. This option has no effect on whether the additional
+messages seen in @option{--verbose} mode are shown.
+
+@item --no-verbose
+Do not print out any additional informational messages beyond
+those ordinarily seen by default. This option has no effect
+on whether the ordinary progress and informational messages
+enabled by @option{--no-quiet} are shown.
+
+Thus, there are now three different message levels (not counting
+@option{--debug}), depending on whether the normal messages and/or
+the additional verbose messages are displayed.  Note that there is
+no mechanism to diplay verbose messages, without also displaying
+normal messages.
+
+@table @strong
+@item default
+Normal messages are displayed, verbose messages are not displayed.
+In addition to being the default mode, it can be forcibly achieved
+by using both option @option{--no-verbose} and either option
+@option{--no-silent} or option @option{--no-quiet}.
+
+@item silent
+Neither normal messages nor verbose messages are displayed. This
+mode can be achieved using either option @option{--silent} or
+option @option{--quiet}.
+
+@item verbose
+Both normal messages and verbose messages are displayed. This mode
+can be achieved using either option @option{-v} or option
+@option{--verbose}.
+@end table
 
 @item --version
 Print libtool version information and exit.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 7b11e96..676955a 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -40,8 +40,11 @@ m4_divert_push([SCRIPT])# @configure_input@
 #       --mode=MODE          use operation mode MODE
 #       --preserve-dup-deps  don't remove duplicate dependency libraries
 #       --quiet, --silent    don't print informational messages
+#       --no-quiet, --no-silent
+#                            print informational messages (default)
 #       --tag=TAG            use configuration variables from tag TAG
-#   -v, --verbose            print informational messages (default)
+#   -v, --verbose            print more informational messages than default
+#       --no-verbose         don't print the extra informational messages
 #       --version            print version information
 #   -h, --help, --help-all   print short, long, or detailed help message
 #
@@ -319,10 +322,21 @@ func_enable_tag ()
 
       --quiet|--silent)	preserve_args="$preserve_args $opt"
 			opt_silent=:
+			opt_verbose=false
+			;;
+
+      --no-quiet|--no-silent)
+			preserve_args="$preserve_args $opt"
+			opt_silent=false
 			;;
 
       --verbose| -v)	preserve_args="$preserve_args $opt"
 			opt_silent=false
+			opt_verbose=:
+			;;
+
+      --no-verbose)	preserve_args="$preserve_args $opt"
+			opt_verbose=false
 			;;
 
       --tag)		test "$#" -eq 0 && func_missing_arg "$opt" && break


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 03:15:26 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4A7q-0001Qa-N9
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 03:15:26 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4A7p-0001QM-ER
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 03:15:25 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4A7n-0001QA-Sm
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 03:15:24 -0500
Received: from [199.232.76.173] (port=51447 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4A7n-0001Q7-MC
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 03:15:23 -0500
Received: from savannah.gnu.org ([199.232.41.3]:36639 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4A7n-0005ed-3I
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 03:15:23 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4A7l-00035l-DZ
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:15:21 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4A7i-00035B-3S
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:15:20 +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: 87cea4bf9e8341df8a317f8971fcccdad0cca9f3
X-Git-Newrev: 76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac
Message-Id: <E1L4A7i-00035B-3S@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 08:15:18 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-38-g76fed6e
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/pipermail/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, 23 Nov 2008 08:15: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  76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac (commit)
      from  87cea4bf9e8341df8a317f8971fcccdad0cca9f3 (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 76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 09:13:13 2008 +0100

    Fix matching of Sun Fortran compiler on Linux.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
    match `Sun Ceres Fortran' compiler; reorder with C compiler
    matching.
    * THANKS: Update.
    Report by Ethan Mallove.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |    9 +++++++++
 THANKS                |    1 +
 libltdl/m4/libtool.m4 |   12 ++++++------
 3 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cd1b1fa..06d08ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix matching of Sun Fortran compiler on Linux.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
+	match `Sun Ceres Fortran' compiler; reorder with C compiler
+	matching.
+	* THANKS: Update.
+	Report by Ethan Mallove.
+
 2008-11-21  Charles Wilson <libtool@cwilson.fastmail.fm>
 
 	Fix --verbose option; add new --no-{silent|quiet|verbose} options.
diff --git a/THANKS b/THANKS
index d37d264..387a07e 100644
--- a/THANKS
+++ b/THANKS
@@ -88,6 +88,7 @@
   Edouard G. Parmelan		Edouard.Parmelan@France.NCR.COM
   Erez Zadok			ezk@shekel.mcl.cs.columbia.edu
   Eric Estievenart		eric@via.ecp.fr
+  Ethan Mallove			ethan.mallove@sun.com
   Frank Ch. Eigler		fche@cygnus.com
   Fred Cox			sailorfred@yahoo.com
   H.J. Lu			hjl@gnu.org
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 35d7d5c..bb2e6ef 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3941,17 +3941,17 @@ m4_if([$1], [CXX], [
 	;;
       *)
 	case `$CC -V 2>&1 | sed 5q` in
-	*Sun\ C*)
-	  # Sun C 5.9
+	*Sun\ F* | *Sun*Fortran*)
+	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
 	  ;;
-	*Sun\ F*)
-	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
+	*Sun\ C*)
+	  # Sun C 5.9
 	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	  ;;
 	esac
 	;;


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 08:42:55 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4FEi-0007Yi-R4
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 08:42:53 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4FEe-0007Wq-FK
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:42:49 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4FEY-0007VA-Vw
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:42:46 -0500
Received: from [199.232.76.173] (port=38651 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4FEX-0007Ut-J2
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:42:41 -0500
Received: from savannah.gnu.org ([199.232.41.3]:36168 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4FEX-0003NA-0Y
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:42:41 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4FEV-0000jH-Mc
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 13:42:39 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4FEV-0000in-2V
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 13:42:39 +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: 76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac
X-Git-Newrev: 9c3d4d8f91904f4b99446c7a1870acf61357d715
Message-Id: <E1L4FEV-0000in-2V@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 13:42:39 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-39-g9c3d4d8
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/pipermail/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, 23 Nov 2008 13:42: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  9c3d4d8f91904f4b99446c7a1870acf61357d715 (commit)
      from  76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac (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 9c3d4d8f91904f4b99446c7a1870acf61357d715
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 14:38:24 2008 +0100

    Revenge of the $ECHO. Kill most uses of Xsed.
    
    * libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
    | $Xsed' with `$ECHO "..." | $SED', and employ further trivial
    simplifications.  Replace $ECHO with echo where appropriate.
    (func_echo_all): New function.
    * libltdl/config/getopt.m4sh: Likewise simplifications.
    * libltdl/config/ltmain.m4sh: Likewise.
    * libltdl/m4/libtool.m4: Likewise.
    (LT_CMD_MAX_LEN): Use func_fallback_echo, to ensure that the
    command line is passed through an exec* function.
    * libtoolize.m4sh: Likewise simplifications.  Use func_echo_all
    to implement --dry-run.
    * tests/defs.m4sh: Likewise simplifications.
    * tests/quote.test: Likewise simplifications.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                   |   15 ++
 libltdl/config/general.m4sh |   21 ++-
 libltdl/config/getopt.m4sh  |    2 +-
 libltdl/config/ltmain.m4sh  |  343 +++++++++++++++++++++----------------------
 libltdl/m4/libtool.m4       |  120 ++++++++--------
 libtoolize.m4sh             |   62 ++++----
 tests/defs.m4sh             |    2 +-
 tests/quote.test            |    4 +-
 8 files changed, 297 insertions(+), 272 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 06d08ee..cc05721 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Revenge of the $ECHO. Kill most uses of Xsed.
+	* libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
+	| $Xsed' with `$ECHO "..." | $SED', and employ further trivial
+	simplifications.  Replace $ECHO with echo where appropriate.
+	(func_echo_all): New function.
+	* libltdl/config/getopt.m4sh: Likewise simplifications.
+	* libltdl/config/ltmain.m4sh: Likewise.
+	* libltdl/m4/libtool.m4: Likewise.
+	(LT_CMD_MAX_LEN): Use func_fallback_echo, to ensure that the
+	command line is passed through an exec* function.
+	* libtoolize.m4sh: Likewise simplifications.  Use func_echo_all
+	to implement --dry-run.
+	* tests/defs.m4sh: Likewise simplifications.
+	* tests/quote.test: Likewise simplifications.
+
 	Fix matching of Sun Fortran compiler on Linux.
 	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
 	match `Sun Ceres Fortran' compiler; reorder with C compiler
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index bd740fd..9fe5873 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -89,13 +89,13 @@ basename="s,^.*/,,"
 func_dirname_and_basename ()
 {
   # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
+  func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
   if test "X$func_dirname_result" = "X${1}"; then
     func_dirname_result="${3}"
   else
     func_dirname_result="$func_dirname_result${2}"
   fi
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
+  func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
 }
 
 # Generated shell functions inserted here.
@@ -181,6 +181,13 @@ func_verbose ()
     :
 }
 
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*"
+}
+
 # func_error arg...
 # Echo program name prefixed message to standard error.
 func_error ()
@@ -249,9 +256,9 @@ func_mkdir_p ()
         case $my_directory_path in */*) ;; *) break ;; esac
 
         # ...otherwise throw away the child directory and loop
-        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
+        my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
       done
-      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
+      my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
 
       save_mkdir_p_IFS="$IFS"; IFS=':'
       for my_dir in $my_dir_list; do
@@ -301,7 +308,7 @@ func_mktempdir ()
         func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
     fi
 
-    $ECHO "X$my_tmpdir" | $Xsed
+    $ECHO "$my_tmpdir"
 }
 
 
@@ -315,7 +322,7 @@ func_quote_for_eval ()
 {
     case $1 in
       *[\\\`\"\$]*)
-	func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
+	func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
       *)
         func_quote_for_eval_unquoted_result="$1" ;;
     esac
@@ -342,7 +349,7 @@ func_quote_for_expand ()
 {
     case $1 in
       *[\\\`\"]*)
-	my_arg=`$ECHO "X$1" | $Xsed \
+	my_arg=`$ECHO "$1" | $SED \
 	    -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
       *)
         my_arg="$1" ;;
diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh
index 1348468..8cf99de 100644
--- a/libltdl/config/getopt.m4sh
+++ b/libltdl/config/getopt.m4sh
@@ -54,7 +54,7 @@ func_usage ()
 	s/\$progname/'$progname'/
 	p
     }' < "$progpath"
-    $ECHO
+    echo
     $ECHO "run \`$progname --help | more' for full usage"
     exit $?
 }
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 676955a..937f14e 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -186,16 +186,16 @@ func_config ()
 # Display the features supported by this script.
 func_features ()
 {
-    $ECHO "host: $host"
+    echo "host: $host"
     if test "$build_libtool_libs" = yes; then
-      $ECHO "enable shared libraries"
+      echo "enable shared libraries"
     else
-      $ECHO "disable shared libraries"
+      echo "disable shared libraries"
     fi
     if test "$build_old_libs" = yes; then
-      $ECHO "enable static libraries"
+      echo "enable static libraries"
     else
-      $ECHO "disable static libraries"
+      echo "disable static libraries"
     fi
 
     exit $?
@@ -850,7 +850,7 @@ func_mode_compile ()
     # Calculate the filename of the output object if compiler does
     # not support -o with -c
     if test "$compiler_c_o" = no; then
-      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
       lockfile="$output_obj.lock"
     else
       output_obj=
@@ -1191,7 +1191,7 @@ Otherwise, only FILE itself is deleted using RM."
         ;;
     esac
 
-    $ECHO
+    echo
     $ECHO "Try \`$progname --help' for more information about other modes."
 }
 
@@ -1348,7 +1348,7 @@ func_mode_execute ()
       # Display what would be done.
       if test -n "$shlibpath_var"; then
 	eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
-	$ECHO "export $shlibpath_var"
+	echo "export $shlibpath_var"
       fi
       $ECHO "$cmd$args"
       exit $EXIT_SUCCESS
@@ -1389,23 +1389,23 @@ func_mode_finish ()
     # Exit here if they wanted silent mode.
     $opt_silent && exit $EXIT_SUCCESS
 
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
-    $ECHO "Libraries have been installed in:"
+    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:"
+    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"
+      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"
+      echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+      echo "     during linking"
     fi
     if test -n "$hardcode_libdir_flag_spec"; then
       libdir=LIBDIR
@@ -1417,21 +1417,21 @@ func_mode_finish ()
       $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'"
+      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
     fi
-    $ECHO
+    echo
 
-    $ECHO "See any operating system documentation about shared libraries for"
+    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), crle(1) and ld.so(8) manual"
+	echo "pages."
 	;;
       *)
-        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
+        echo "more information, such as the ld(1) and ld.so(8) manual pages."
         ;;
     esac
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
+    echo "----------------------------------------------------------------------"
     exit $EXIT_SUCCESS
 }
 
@@ -1446,7 +1446,7 @@ func_mode_install ()
     # install_prog (especially on Windows NT).
     if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
        # Allow the use of GNU shtool's install command.
-       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
+       case $nonopt in *shtool*) :;; *) false;; esac; then
       # Aesthetically quote it.
       func_quote_for_eval "$nonopt"
       install_prog="$func_quote_for_eval_result "
@@ -1620,7 +1620,7 @@ func_mode_install ()
 
 	if test -n "$relink_command"; then
 	  # Determine the prefix the user has applied to our future dir.
-	  inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
+	  inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
 
 	  # Don't allow the user to place us outside of our expected
 	  # location b/c this prevents finding dependent libraries that
@@ -1633,9 +1633,9 @@ func_mode_install ()
 
 	  if test -n "$inst_prefix_dir"; then
 	    # Stick the inst_prefix_dir data into the link command.
-	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+	    relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
 	  else
-	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
+	    relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
 	  fi
 
 	  func_warning "relinking \`$file'"
@@ -1793,7 +1793,7 @@ func_mode_install ()
 	    if test -f "$lib"; then
 	      func_source "$lib"
 	    fi
-	    libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+	    libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
 	    if test -n "$libdir" && test ! -f "$libfile"; then
 	      func_warning "\`$lib' has not been installed in \`$libdir'"
 	      finalize=no
@@ -1812,7 +1812,7 @@ func_mode_install ()
 		file="$func_basename_result"
 	        outputname="$tmpdir/$file"
 	        # Replace the output file specification.
-	        relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+	        relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
 
 	        $opt_silent || {
 	          func_quote_for_expand "$relink_command"
@@ -1831,7 +1831,7 @@ func_mode_install ()
 	    }
 	  else
 	    # Install the binary that we compiled earlier.
-	    file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+	    file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
 	  fi
 	fi
 
@@ -1942,7 +1942,7 @@ extern \"C\" {
 	  $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
 
 	  # Add our own program objects to the symbol list.
-	  progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	  progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
 	  for progfile in $progfiles; do
 	    func_verbose "extracting global C symbols from \`$progfile'"
 	    $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
@@ -2025,10 +2025,10 @@ extern \"C\" {
 	  if test -f "$nlist"S; then
 	    eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
 	  else
-	    $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
+	    echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
 	  fi
 
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
 
 /* The mapping between symbol names and symbols.  */
 typedef struct {
@@ -2038,7 +2038,7 @@ typedef struct {
 "
 	  case $host in
 	  *cygwin* | *mingw* | *cegcc* )
-	    $ECHO >> "$output_objdir/$my_dlsyms" "\
+	    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.  */"
@@ -2051,7 +2051,7 @@ typedef struct {
 	    lt_dlsym_const=const ;;
 	  esac
 
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
 extern $lt_dlsym_const lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[];
 $lt_dlsym_const lt_dlsymlist
@@ -2067,7 +2067,7 @@ lt_${my_prefix}_LTX_preloaded_symbols[] =
 	    eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
 	    ;;
 	  esac
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
   {0, (void *) 0}
 };
 
@@ -2125,16 +2125,16 @@ static const void *lt_preloaded_setup() {
 	case $host in
 	*cygwin* | *mingw* | *cegcc* )
 	  if test -f "$output_objdir/$my_outputname.def"; then
-	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
-	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+	    compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+	    finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
 	  else
-	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+	    compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+	    finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
 	  fi
 	  ;;
 	*)
-	  compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-	  finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+	  compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+	  finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
 	  ;;
 	esac
 	;;
@@ -2148,8 +2148,8 @@ static const void *lt_preloaded_setup() {
       # really was required.
 
       # Nullify the symbol file.
-      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
-      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+      compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
     fi
 }
 
@@ -2325,7 +2325,6 @@ func_emit_wrapper_part1 ()
 
 # Sed substitution that helps us do robust quoting.  It backslashifies
 # metacharacters that are still active within double-quoted strings.
-Xsed='${SED} -e 1s/^X//'
 sed_quote_subst='$sed_quote_subst'
 
 # Be Bourne compatible
@@ -2358,7 +2357,7 @@ else
   if test \"\$libtool_execute_magic\" != \"$magic\"; then
     file=\"\$0\""
 
-    qECHO=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
+    qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
     $ECHO "\
 
 # A function that is used when there is no print builtin or printf.
@@ -2372,13 +2371,13 @@ _LTECHO_EOF'
   fi\
 
   # Find the directory that this script lives in.
-  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
+  thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
   test \"x\$thisdir\" = \"x\$file\" && thisdir=.
 
   # Follow symbolic links until we get to the real thisdir.
-  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+  file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
   while test -n \"\$file\"; do
-    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+    destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
 
     # If there was a directory component, then change thisdir.
     if test \"x\$destdir\" != \"x\$file\"; then
@@ -2388,8 +2387,8 @@ _LTECHO_EOF'
       esac
     fi
 
-    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
-    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+    file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+    file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
   done
 "
 }
@@ -2416,7 +2415,7 @@ func_emit_wrapper_part2 ()
     fi
     # remove .libs from thisdir
     case \"\$thisdir\" in
-    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
     $objdir )   thisdir=. ;;
     esac
   fi
@@ -2479,7 +2478,7 @@ func_emit_wrapper_part2 ()
 
     # Some systems cannot cope with colon-terminated $shlibpath_var
     # The second colon is a workaround for a bug in BeOS R4 sed
-    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
+    $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
 
     export $shlibpath_var
 "
@@ -2519,7 +2518,7 @@ func_emit_wrapper_part2 ()
     # The program doesn't exist.
     \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
     \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
-    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
     exit 1
   fi
 fi\
@@ -4220,7 +4219,7 @@ func_mode_link ()
 	esac
 	case $host in
 	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-	  testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
+	  testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
 	  case :$dllsearchpath: in
 	  *":$dir:"*) ;;
 	  ::) dllsearchpath=$dir;;
@@ -4642,7 +4641,7 @@ func_mode_link ()
 
     if test -n "$shlibpath_var"; then
       # get the directories listed in $shlibpath_var
-      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
+      eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
     else
       shlib_search_path=
     fi
@@ -4765,7 +4764,7 @@ func_mode_link ()
 	  # Collect preopened libtool deplibs, except any this library
 	  # has declared as weak libs
 	  for deplib in $dependency_libs; do
-            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
+            deplib_base=`$ECHO "$deplib" | $SED "$basename"`
 	    case " $weak_libs " in
 	    *" $deplib_base "*) ;;
 	    *) deplibs="$deplibs $deplib" ;;
@@ -4944,7 +4943,7 @@ func_mode_link ()
 		match_pattern*)
 		  set dummy $deplibs_check_method; shift
 		  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-		  if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
+		  if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
 		    | $EGREP "$match_pattern_regex" > /dev/null; then
 		    valid_a_lib=yes
 		  fi
@@ -4954,15 +4953,15 @@ func_mode_link ()
 		;;
 	      esac
 	      if test "$valid_a_lib" != yes; then
-		$ECHO
+		echo
 		$ECHO "*** Warning: Trying to link with static lib archive $deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because the file extensions .$libext of this argument makes me believe"
-		$ECHO "*** that it is just a static archive that I should not use here."
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because the file extensions .$libext of this argument makes me believe"
+		echo "*** that it is just a static archive that I should not use here."
 	      else
-		$ECHO
+		echo
 		$ECHO "*** Warning: Linking the shared library $output against the"
 		$ECHO "*** static library $deplib is not portable!"
 		deplibs="$deplib $deplibs"
@@ -5035,7 +5034,7 @@ func_mode_link ()
 
 	# Convert "-framework foo" to "foo.ltframework"
 	if test -n "$inherited_linker_flags"; then
-	  tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
+	  tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
 	  for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
 	    case " $new_inherited_linker_flags " in
 	      *" $tmp_inherited_linker_flag "*) ;;
@@ -5043,7 +5042,7 @@ func_mode_link ()
 	    esac
 	  done
 	fi
-	dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	if test "$linkmode,$pass" = "lib,link" ||
 	   test "$linkmode,$pass" = "prog,scan" ||
 	   { test "$linkmode" != prog && test "$linkmode" != lib; }; then
@@ -5297,7 +5296,7 @@ func_mode_link ()
 	    fi
 	  done
 	  if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
-	    $ECHO
+	    echo
 	    if test "$linkmode" = prog; then
 	      $ECHO "*** Warning: Linking the executable $output against the loadable module"
 	    else
@@ -5400,9 +5399,9 @@ func_mode_link ()
 		      if test "X$dlopenmodule" != "X$lib"; then
 			$ECHO "*** Warning: lib $linklib is a module, not a shared library"
 			if test -z "$old_library" ; then
-			  $ECHO
-			  $ECHO "*** And there doesn't seem to be a static archive available"
-			  $ECHO "*** The link will probably fail, sorry"
+			  echo
+			  echo "*** And there doesn't seem to be a static archive available"
+			  echo "*** The link will probably fail, sorry"
 			else
 			  add="$dir/$old_library"
 			fi
@@ -5542,21 +5541,21 @@ func_mode_link ()
 
 	    # Just print a warning and add the library to dependency_libs so
 	    # that the program can be linked against the static library.
-	    $ECHO
+	    echo
 	    $ECHO "*** Warning: This system can not link to static lib archive $lib."
-	    $ECHO "*** I have the capability to make that library automatically link in when"
-	    $ECHO "*** you link to this library.  But I can only do this if you have a"
-	    $ECHO "*** shared version of the library, which you do not appear to have."
+	    echo "*** I have the capability to make that library automatically link in when"
+	    echo "*** you link to this library.  But I can only do this if you have a"
+	    echo "*** shared version of the library, which you do not appear to have."
 	    if test "$module" = yes; then
-	      $ECHO "*** But as you try to build a module library, libtool will still create "
-	      $ECHO "*** a static module, that should work as long as the dlopening application"
-	      $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
+	      echo "*** But as you try to build a module library, libtool will still create "
+	      echo "*** a static module, that should work as long as the dlopening application"
+	      echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
 	      if test -z "$global_symbol_pipe"; then
-		$ECHO
-		$ECHO "*** However, this would only work if libtool was able to extract symbol"
-		$ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-		$ECHO "*** not find such a program.  So, this module is probably useless."
-		$ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+		echo
+		echo "*** However, this would only work if libtool was able to extract symbol"
+		echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+		echo "*** not find such a program.  So, this module is probably useless."
+		echo "*** \`nm' from GNU binutils and a full rebuild may help."
 	      fi
 	      if test "$build_old_libs" = no; then
 		build_libtool_libs=module
@@ -5675,7 +5674,7 @@ func_mode_link ()
 	  compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
 	  finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
 	else
-	  compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e '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"
@@ -5843,7 +5842,7 @@ func_mode_link ()
 	if test "$deplibs_check_method" != pass_all; then
 	  func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
 	else
-	  $ECHO
+	  echo
 	  $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
 	  $ECHO "*** objects $objs is not portable!"
 	  libobjs="$libobjs $objs"
@@ -6145,14 +6144,14 @@ func_mode_link ()
 	oldlibs="$oldlibs $output_objdir/$libname.$libext"
 
 	# Transform .lo files to .o files.
-	oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
+	oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
       fi
 
       # Eliminate all temporary directories.
       #for path in $notinst_path; do
-      #	lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
-      #	deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
-      #	dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
+      #	lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+      #	deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+      #	dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
       #done
 
       if test -n "$xrpath"; then
@@ -6278,13 +6277,13 @@ EOF
 		    newdeplibs="$newdeplibs $i"
 		  else
 		    droppeddeps=yes
-		    $ECHO
+		    echo
 		    $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-		    $ECHO "*** I have the capability to make that library automatically link in when"
-		    $ECHO "*** you link to this library.  But I can only do this if you have a"
-		    $ECHO "*** shared version of the library, which I believe you do not have"
-		    $ECHO "*** because a test_compile did reveal that the linker did not use it for"
-		    $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
+		    echo "*** I have the capability to make that library automatically link in when"
+		    echo "*** you link to this library.  But I can only do this if you have a"
+		    echo "*** shared version of the library, which I believe you do not have"
+		    echo "*** because a test_compile did reveal that the linker did not use it for"
+		    echo "*** its dynamic dependency list that programs get resolved with at runtime."
 		  fi
 		fi
 		;;
@@ -6321,22 +6320,22 @@ EOF
 		      newdeplibs="$newdeplibs $i"
 		    else
 		      droppeddeps=yes
-		      $ECHO
+		      echo
 		      $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-		      $ECHO "*** I have the capability to make that library automatically link in when"
-		      $ECHO "*** you link to this library.  But I can only do this if you have a"
-		      $ECHO "*** shared version of the library, which you do not appear to have"
-		      $ECHO "*** because a test_compile did reveal that the linker did not use this one"
-		      $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
+		      echo "*** I have the capability to make that library automatically link in when"
+		      echo "*** you link to this library.  But I can only do this if you have a"
+		      echo "*** shared version of the library, which you do not appear to have"
+		      echo "*** because a test_compile did reveal that the linker did not use this one"
+		      echo "*** as a dynamic dependency that programs can get resolved with at runtime."
 		    fi
 		  fi
 		else
 		  droppeddeps=yes
-		  $ECHO
+		  echo
 		  $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
-		  $ECHO "*** make it link in!  You will probably need to install it or some"
-		  $ECHO "*** library that it depends on before this library will be fully"
-		  $ECHO "*** functional.  Installing it before continuing would be even better."
+		  echo "*** make it link in!  You will probably need to install it or some"
+		  echo "*** library that it depends on before this library will be fully"
+		  echo "*** functional.  Installing it before continuing would be even better."
 		fi
 		;;
 	      *)
@@ -6382,7 +6381,7 @@ EOF
 			potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
 			case $potliblink in
 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
-			*) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+			*) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
 			esac
 		      done
 		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
@@ -6397,12 +6396,12 @@ EOF
 	      fi
 	      if test -n "$a_deplib" ; then
 		droppeddeps=yes
-		$ECHO
+		echo
 		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because I did check the linker path looking for a file starting"
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because I did check the linker path looking for a file starting"
 		if test -z "$potlib" ; then
 		  $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
 		else
@@ -6440,7 +6439,7 @@ EOF
 		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
 		  for potent_lib in $potential_libs; do
 		    potlib="$potent_lib" # see symlink-check above in file_magic test
-		    if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
+		    if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
 		       $EGREP "$match_pattern_regex" > /dev/null; then
 		      newdeplibs="$newdeplibs $a_deplib"
 		      a_deplib=""
@@ -6451,12 +6450,12 @@ EOF
 	      fi
 	      if test -n "$a_deplib" ; then
 		droppeddeps=yes
-		$ECHO
+		echo
 		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because I did check the linker path looking for a file starting"
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because I did check the linker path looking for a file starting"
 		if test -z "$potlib" ; then
 		  $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
 		else
@@ -6474,25 +6473,25 @@ EOF
 	  ;;
 	none | unknown | *)
 	  newdeplibs=""
-	  tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
-	      -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
+	  tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
 	  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 	    for i in $predeps $postdeps ; do
 	      # can't use Xsed below, because $i might contain '/'
-	      tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
+	      tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
 	    done
 	  fi
-	  if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[	 ]//g' |
-	     $GREP . >/dev/null; then
-	    $ECHO
+	  case $tmp_deplibs in
+	  *[!\	\ ]*)
+	    echo
 	    if test "X$deplibs_check_method" = "Xnone"; then
-	      $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
+	      echo "*** Warning: inter-library dependencies are not supported in this platform."
 	    else
-	      $ECHO "*** Warning: inter-library dependencies are not known to be supported."
+	      echo "*** Warning: inter-library dependencies are not known to be supported."
 	    fi
-	    $ECHO "*** All declared inter-library dependencies are being dropped."
+	    echo "*** All declared inter-library dependencies are being dropped."
 	    droppeddeps=yes
-	  fi
+	    ;;
+	  esac
 	  ;;
 	esac
 	versuffix=$versuffix_save
@@ -6504,23 +6503,23 @@ EOF
 	case $host in
 	*-*-rhapsody* | *-*-darwin1.[012])
 	  # On Rhapsody replace the C library with the System framework
-	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+	  newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
 	  ;;
 	esac
 
 	if test "$droppeddeps" = yes; then
 	  if test "$module" = yes; then
-	    $ECHO
-	    $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
+	    echo
+	    echo "*** Warning: libtool could not satisfy all declared inter-library"
 	    $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
-	    $ECHO "*** a static module, that should work as long as the dlopening"
-	    $ECHO "*** application is linked with the -dlopen flag."
+	    echo "*** a static module, that should work as long as the dlopening"
+	    echo "*** application is linked with the -dlopen flag."
 	    if test -z "$global_symbol_pipe"; then
-	      $ECHO
-	      $ECHO "*** However, this would only work if libtool was able to extract symbol"
-	      $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-	      $ECHO "*** not find such a program.  So, this module is probably useless."
-	      $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+	      echo
+	      echo "*** However, this would only work if libtool was able to extract symbol"
+	      echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+	      echo "*** not find such a program.  So, this module is probably useless."
+	      echo "*** \`nm' from GNU binutils and a full rebuild may help."
 	    fi
 	    if test "$build_old_libs" = no; then
 	      oldlibs="$output_objdir/$libname.$libext"
@@ -6530,16 +6529,16 @@ EOF
 	      build_libtool_libs=no
 	    fi
 	  else
-	    $ECHO "*** The inter-library dependencies that have been dropped here will be"
-	    $ECHO "*** automatically added whenever a program is linked with this library"
-	    $ECHO "*** or is declared to -dlopen it."
+	    echo "*** The inter-library dependencies that have been dropped here will be"
+	    echo "*** automatically added whenever a program is linked with this library"
+	    echo "*** or is declared to -dlopen it."
 
 	    if test "$allow_undefined" = no; then
-	      $ECHO
-	      $ECHO "*** Since this library must not contain undefined symbols,"
-	      $ECHO "*** because either the platform does not support them or"
-	      $ECHO "*** it was explicitly requested with -no-undefined,"
-	      $ECHO "*** libtool will only create a static version of it."
+	      echo
+	      echo "*** Since this library must not contain undefined symbols,"
+	      echo "*** because either the platform does not support them or"
+	      echo "*** it was explicitly requested with -no-undefined,"
+	      echo "*** libtool will only create a static version of it."
 	      if test "$build_old_libs" = no; then
 		oldlibs="$output_objdir/$libname.$libext"
 		build_libtool_libs=module
@@ -6556,9 +6555,9 @@ EOF
       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
       case $host in
 	*-*-darwin*)
-	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	  new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	  deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	  ;;
       esac
 
@@ -6680,7 +6679,7 @@ EOF
 	done
 
 	# Use standard objects if they are pic
-	test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
 	test "X$libobjs" = "X " && libobjs=
 
 	delfiles=
@@ -6746,7 +6745,7 @@ EOF
 	if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	  tmp_export_symbols="$export_symbols"
 	  test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-	  $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+	  $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
 	fi
 
 	if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
@@ -6847,7 +6846,7 @@ EOF
 	    save_libobjs=$libobjs
 	  fi
 	  save_output=$output
-	  output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
+	  output_la=`$ECHO "$output" | $SED "$basename"`
 
 	  # Clear the reloadable object creation command queue and
 	  # initialize k to one.
@@ -6860,12 +6859,12 @@ EOF
 	  if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
 	    output=${output_objdir}/${output_la}.lnkscript
 	    func_verbose "creating GNU ld script: $output"
-	    $ECHO 'INPUT (' > $output
+	    echo 'INPUT (' > $output
 	    for obj in $save_libobjs
 	    do
 	      $ECHO "$obj" >> $output
 	    done
-	    $ECHO ')' >> $output
+	    echo ')' >> $output
 	    delfiles="$delfiles $output"
 	  elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
 	    output=${output_objdir}/${output_la}.lnk
@@ -6986,7 +6985,7 @@ EOF
 	    if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	      tmp_export_symbols="$export_symbols"
 	      test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-	      $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+	      $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
 	    fi
 
 	    if test -n "$orig_export_symbols"; then
@@ -7151,7 +7150,7 @@ EOF
       if test -n "$convenience"; then
 	if test -n "$whole_archive_flag_spec"; then
 	  eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
-	  reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
+	  reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
 	else
 	  gentop="$output_objdir/${obj}x"
 	  generated="$generated $gentop"
@@ -7162,7 +7161,7 @@ EOF
       fi
 
       # Create the old-style object.
-      reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+      reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
 
       output="$obj"
       func_execute_cmds "$reload_cmds" 'exit $?'
@@ -7222,8 +7221,8 @@ EOF
       case $host in
       *-*-rhapsody* | *-*-darwin1.[012])
 	# On Rhapsody replace the C library is the System framework
-	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
-	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+	compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+	finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
 	;;
       esac
 
@@ -7240,8 +7239,8 @@ EOF
 	  esac
 	fi
 	# Time to change all our "foo.ltframework" stuff back to "-framework foo"
-	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	;;
       esac
 
@@ -7378,8 +7377,8 @@ EOF
 
       if test -n "$libobjs" && test "$build_old_libs" = yes; then
 	# Transform all the library objects into standard objects.
-	compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
-	finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+	finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
       fi
 
       func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
@@ -7408,7 +7407,7 @@ EOF
       esac
       if test "$wrappers_required" = no; then
 	# Replace the output file specification.
-	compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
 	link_command="$compile_command$compile_rpath"
 
 	# We have no uninstalled library dependencies, so finalize right now.
@@ -7455,7 +7454,7 @@ EOF
 	# We don't need to create a wrapper script.
 	link_command="$compile_var$compile_command$compile_rpath"
 	# Replace the output file specification.
-	link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
 	# Delete the old output file.
 	$opt_dry_run || $RM $output
 	# Link the executable and exit
@@ -7474,7 +7473,7 @@ EOF
 	if test "$fast_install" != no; then
 	  link_command="$finalize_var$compile_command$finalize_rpath"
 	  if test "$fast_install" = yes; then
-	    relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
+	    relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
 	  else
 	    # fast_install is set to needless
 	    relink_command=
@@ -7486,7 +7485,7 @@ EOF
       fi
 
       # Replace the output file specification.
-      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+      link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
 
       # Delete the old output files.
       $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
@@ -7510,7 +7509,7 @@ EOF
 	  fi
 	done
 	relink_command="(cd `pwd`; $relink_command)"
-	relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+	relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       fi
 
       # Only actually do things if not in dry run mode.
@@ -7631,7 +7630,7 @@ EOF
 	    done | sort | sort -uc >/dev/null 2>&1); then
 	  :
 	else
-	  $ECHO "copying selected object files to avoid basename conflicts..."
+	  echo "copying selected object files to avoid basename conflicts..."
 	  gentop="$output_objdir/${outputname}x"
 	  generated="$generated $gentop"
 	  func_mkdir_p "$gentop"
@@ -7742,7 +7741,7 @@ EOF
       done
       # Quote the link command for shipping.
       relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
-      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+      relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       if test "$hardcode_automatic" = yes ; then
 	relink_command=
       fi
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index bb2e6ef..633d8f8 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -121,7 +121,7 @@ m4_defun([_LT_CC_BASENAME],
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 ])
 
 
@@ -418,7 +418,7 @@ m4_define([_lt_decl_all_varnames],
 # declaration there will have the same value as in `configure'.  VARNAME
 # must have a single quote delimited value for this to work.
 m4_define([_LT_CONFIG_STATUS_DECLARE],
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
 
 
 # _LT_CONFIG_STATUS_DECLARATIONS
@@ -428,7 +428,7 @@ m4_define([_LT_CONFIG_STATUS_DECLARE],
 # embedded single quotes properly.  In configure, this macro expands
 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 #
-#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
+#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
     [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
@@ -538,9 +538,9 @@ _LTECHO_EOF'
 # Quote evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_quote_varnames); do
-    case \`eval \\\\\$ECHO \\\\""X\\\\\$\$var"\\\\"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -551,9 +551,9 @@ done
 # Double-quote double-evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_dquote_varnames); do
-    case \`eval \\\\\$ECHO \\\\""X\\\\\$\$var"\\\\"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -1342,7 +1342,7 @@ AC_CACHE_CHECK([$1], [$2],
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        $2=yes
@@ -1382,7 +1382,7 @@ AC_CACHE_CHECK([$1], [$2],
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&AS_MESSAGE_LOG_FD
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          $2=yes
@@ -1509,8 +1509,8 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
-      while { test "X"`$ECHO "X$teststring$teststring" 2>/dev/null` \
-	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
+      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
+	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 	      test $i != 17 # 1/2 MB should be enough
       do
         i=`expr $i + 1`
@@ -1796,7 +1796,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
@@ -1965,15 +1965,18 @@ if test "$GCC" = yes; then
     *) lt_awk_arg="/^libraries:/" ;;
   esac
   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
+  case $lt_search_path_spec in
+  *\;*)
     # if the path contains ";" then we assume it to be the separator
     # otherwise default to the standard path separator (i.e. ":") - it is
     # assumed that no part of a normal pathname contains ";" but that should
     # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
-  else
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-  fi
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+    ;;
+  *)
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+    ;;
+  esac
   # Ok, now we have the path, separated by spaces, we can step through it
   # and add multilib dir if necessary.
   lt_tmp_lt_search_path_spec=
@@ -2094,7 +2097,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -2152,8 +2155,9 @@ cygwin* | mingw* | pw32* | cegcc*)
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $SED '/^libraries:/!d; s///; s,=/,/,g'`
+      case $sys_lib_search_path_spec in
+      *\;[c-zC-Z]:*)
         # It is most probably a Windows format PATH printed by
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
         # path with ; separators, and with drive letters. We can handle the
@@ -2161,9 +2165,11 @@ cygwin* | mingw* | pw32* | cegcc*)
         # especially as we might pass files found there to a mingw objdump,
         # which wouldn't understand a cygwinified path. Ahh.
         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
+        ;;
+      *)
         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
+	;;
+      esac
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
@@ -4553,7 +4559,7 @@ _LT_EOF
         # empty executable.
         _LT_SYS_MODULE_PATH_AIX
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
 	if test "$host_cpu" = ia64; then
 	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -4608,7 +4614,7 @@ _LT_EOF
       # Tell ltmain to make .dll files, not .so files.
       shrext_cmds=".dll"
       # FIXME: Setting linknames here is a bad hack.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
       # The linker will automatically build a .lib file if we build a DLL.
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
       # FIXME: Should let the user specify the lib program.
@@ -4750,19 +4756,19 @@ _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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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.
         save_LDFLAGS="$LDFLAGS"
         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
         AC_LINK_IFELSE(int foo(void) {},
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4824,17 +4830,17 @@ _LT_EOF
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       ;;
 
     osf3*)
       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}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
       else
 	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4844,13 +4850,13 @@ _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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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 \*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
 	# Both c and cxx compiler support -rpath directly
 	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
@@ -5506,7 +5512,7 @@ if test "$_lt_caught_CXX_error" != yes; then
           _LT_SYS_MODULE_PATH_AIX
           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
         else
           if test "$host_cpu" = ia64; then
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -5639,7 +5645,7 @@ if test "$_lt_caught_CXX_error" != yes; then
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
             ;;
           *)
             if test "$GXX" = yes; then
@@ -5704,7 +5710,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
 	    ;;
           *)
 	    if test "$GXX" = yes; then
@@ -5747,7 +5753,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         case $cc_basename in
           CC*)
 	    # SGI C++
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
@@ -5758,9 +5764,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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring"` -o $lib'
 	      fi
 	    fi
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -5789,7 +5795,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
 
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5872,7 +5878,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 	    ;;
 	  xl*)
 	    # IBM XL 8.0 on PPC, with GNU ld
@@ -6004,15 +6010,15 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    case $host in
 	      osf3*)
 	        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 		;;
 	      *)
 	        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 	          echo "-hidden">> $lib.exp~
-	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
+	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
 	          $RM $lib.exp'
 	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 		;;
@@ -6028,17 +6034,17 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
 	    ;;
 	  *)
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 	      _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 	      case $host in
 	        osf3*)
-	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${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" && $ECHO "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 		  ;;
 	      esac
 
@@ -7186,7 +7192,7 @@ _LT_EOF
 func_dirname ()
 {
   # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
+  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   if test "X$func_dirname_result" = "X${1}"; then
     func_dirname_result="${3}"
   else
@@ -7197,7 +7203,7 @@ func_dirname ()
 # func_basename file
 func_basename ()
 {
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
+  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
 }
 
 dnl func_dirname_and_basename
@@ -7213,10 +7219,8 @@ dnl so there is no need for it here.
 func_stripname ()
 {
   case ${2} in
-    .*) func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
-    *)  func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
+    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   esac
 }
 
@@ -7227,20 +7231,20 @@ my_sed_long_arg='1s/^-[[^=]]*=//'
 # func_opt_split
 func_opt_split ()
 {
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
+  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
+  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
 }
 
 # func_lo2o object
 func_lo2o ()
 {
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
+  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
 }
 
 # func_xform libobj-or-source
 func_xform ()
 {
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
+  func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
 }
 
 # func_arith arithmetic-term...
diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 30c3e3b..1427e61 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -168,11 +168,11 @@ all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am REA
 
       --dry-run|-n)	if $opt_dry_run; then :; else
 			  opt_dry_run=:
-			  RM="$ECHO $RM"
-			  test -n "$LN_S" && LN_S="$ECHO $LN_S"
-			  CP="$ECHO $CP"
-			  MKDIR="$ECHO $MKDIR"
-			  TAR="$ECHO $TAR"
+			  RM="func_echo_all $RM"
+			  test -n "$LN_S" && LN_S="func_echo_all $LN_S"
+			  CP="func_echo_all $CP"
+			  MKDIR="func_echo_all $MKDIR"
+			  TAR="func_echo_all $TAR"
 			fi
 			;;
 
@@ -184,7 +184,7 @@ all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am REA
       			if test "$#" -gt 0; then
 			  case $1 in
 			    -*)	;;
-			    *)	ltdldir=`$ECHO "X$1" | $Xsed -e 's,/*$,,'`
+			    *)	ltdldir=`$ECHO "$1" | $SED 's,/*$,,'`
 				shift
 				;;
 			  esac
@@ -209,24 +209,24 @@ all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am REA
 
       # Separate optargs to long options:
       --*=*)
-      			arg=`$ECHO "X$opt" | $Xsed -e "$my_sed_long_arg"`
-			opt=`$ECHO "X$opt" | $Xsed -e "$my_sed_long_opt"`
+			arg=`$ECHO "$opt" | $SED "$my_sed_long_arg"`
+			opt=`$ECHO "$opt" | $SED "$my_sed_long_opt"`
 			set dummy "$opt" "$arg" ${1+"$@"}
 			shift
 			;;
 
       # Separate optargs to short options:
       #-X*)
-      #			arg=`$ECHO "X$opt" | $Xsed -e "$my_sed_single_rest"`
-      #			opt=`$ECHO "X$opt" | $Xsed -e "$my_sed_single_opt"`
+      #			arg=`$ECHO "$opt" | $SED "$my_sed_single_rest"`
+      #			opt=`$ECHO "$opt" | $SED "$my_sed_single_opt"`
       #			set dummy "$opt" "$arg" ${1+"$@"}
       #			shift
       #			;;
 
       # Separate non-argument short options:
       -c*|-f*|-i*|-n*|-q*|-v*)
-			rest=`$ECHO "X$opt" | $Xsed -e "$my_sed_single_rest"`
-			opt=`$ECHO "X$opt" | $Xsed -e "$my_sed_single_opt"`
+			rest=`$ECHO "$opt" | $SED "$my_sed_single_rest"`
+			opt=`$ECHO "$opt" | $SED "$my_sed_single_opt"`
 			set dummy "$opt" "-$rest" ${1+"$@"}
 			shift
 			;;
@@ -269,22 +269,22 @@ func_copy ()
     test -f "$1" || \
       { func_error "\`$1' not copied:  not a regular file"; return 1; }
 
-    my_f1=`$ECHO "X$1" | $Xsed -e "$basename"`
+    my_f1=`$ECHO "$1" | $SED "$basename"`
 
     if test -d "$2"; then
 
       func_copy_cb "$my_f1" \
-	`$ECHO "X$1" | $Xsed -e "$dirname"` "$2" "$3"
+	`$ECHO "$1" | $SED "$dirname"` "$2" "$3"
 
     else
 
       # Supporting this would mean changing the timestamp:
-      test "X$my_f1" = X`$ECHO "X$2" | $Xsed -e "$basename"` \
+      test "X$my_f1" = X`$ECHO "$2" | $SED "$basename"` \
         || func_fatal_error "func_copy() cannot change filename on copy"
 
       func_copy_cb "$my_f1" \
-        `$ECHO "X$1" | $Xsed -e "$dirname"` \
-        `$ECHO "X$2" | $Xsed -e "$dirname"` \
+        `$ECHO "$1" | $SED "$dirname"` \
+        `$ECHO "$2" | $SED "$dirname"` \
 	"$3"
 
     fi
@@ -314,7 +314,7 @@ func_copy_cb ()
       false) my_copy_msg="file \`$my_destdir/$my_file'"     ;;
       *)     my_copy_msg="file from \`$my_srcdir/$my_file'" ;;
     esac
-    func_mkdir_p `$ECHO "X$my_destdir/$my_file" | $Xsed -e "$dirname"`
+    func_mkdir_p `$ECHO "$my_destdir/$my_file" | $SED "$dirname"`
 
     $RM "$my_destdir/$my_file"
     if $opt_link; then
@@ -411,7 +411,7 @@ func_fixup_Makefile ()
 	my_fixup_inc_paths_script= ;;
       Makefile.inc)
 	repl=$ltdldir
-	repl_uscore=`$ECHO "X$repl" | $Xsed -e 's,[/.+-],_,g'`
+	repl_uscore=`$ECHO "$repl" | $SED 's,[/.+-],_,g'`
 	my_fixup_inc_paths_script="\
 	  s,libltdl_,@repl_uscore@_,
 	  s,libltdl/,@repl@/,
@@ -529,7 +529,7 @@ func_scan_files ()
     # Validate ltdldir. #
     # ----------------- #
 
-    ac_ltdldir=`$ECHO "X$ac_ltdldir" | $Xsed -e 's,/*$,,'`
+    ac_ltdldir=`$ECHO "$ac_ltdldir" | $SED 's,/*$,,'`
 
     # If $configure_ac contains AC_CONFIG_LTDL_DIR, check that its
     # arguments were not given in terms of a shell variable!
@@ -676,7 +676,7 @@ func_included_files ()
         d'
 
     if test -f "$my_searchfile"; then
-      $ECHO "X$my_searchfile" | $Xsed
+      $ECHO "$my_searchfile"
 
       # Only recurse when we don't care if all the variables we use get
       # trashed, since they are in global scope.
@@ -719,7 +719,7 @@ func_serial ()
     # If the file has no serial number, we assume it's ancient.
     test -n "$my_serial" || my_serial=0
 
-    $ECHO $my_serial
+    $ECHO "$my_serial"
 }
 
 
@@ -740,14 +740,14 @@ func_serial_max ()
     # Incase they turn out to be the same, we'll set it to empty
     func_serial_max_result=
 
-    test "X$1$2" = X`$ECHO "X$1$2" | $Xsed -e "$my_sed_digits"` || {
+    test "X$1$2" = X`$ECHO "$1$2" | $SED "$my_sed_digits"` || {
       func_error "serial numbers \`$1' or \`$2' contain non-digit chars"
       return
     }
 
     while test -n "$my_serial1$my_serial2"; do
-      my_serial1_part=`$ECHO "X$my_serial1" | $Xsed -e "$my_sed_dot"`
-      my_serial2_part=`$ECHO "X$my_serial2" | $Xsed -e "$my_sed_dot"`
+      my_serial1_part=`$ECHO "$my_serial1" | $SED "$my_sed_dot"`
+      my_serial2_part=`$ECHO "$my_serial2" | $SED "$my_sed_dot"`
 
       test -z "$my_serial1_part$my_serial2_part" \
         && break
@@ -764,8 +764,8 @@ func_serial_max ()
       test "$my_serial2_part" -gt "$my_serial1_part" \
         && { func_serial_max_result="$2"; break; }
 
-      my_serial1=`$ECHO "X$my_serial1" | $Xsed -e "$my_sed_rest"`
-      my_serial2=`$ECHO "X$my_serial2" | $Xsed -e "$my_sed_rest"`
+      my_serial1=`$ECHO "$my_serial1" | $SED "$my_sed_rest"`
+      my_serial2=`$ECHO "$my_serial2" | $SED "$my_sed_rest"`
     done
 }
 
@@ -1040,7 +1040,7 @@ func_massage_aclocal_DATA ()
 
     # Massage a value for pkgmacro_files from the value used in Makefile.am.
     for my_filename in @aclocal_DATA@; do
-      my_filename=`$ECHO "X$my_filename" | $Xsed -e "$basename"`
+      my_filename=`$ECHO "$my_filename" | $SED "$basename"`
 
       # ignore excluded filenames
       if test -n "$my_glob_exclude"; then
@@ -1053,7 +1053,7 @@ func_massage_aclocal_DATA ()
     done
 
     # strip spurious leading `:'
-    pkgmacro_files=`$ECHO "X$pkgmacro_files" | $Xsed -e 's,^:*,,'`
+    pkgmacro_files=`$ECHO "$pkgmacro_files" | $SED 's,^:*,,'`
 }
 
 
@@ -1199,7 +1199,7 @@ func_massage_pkgltdl_files ()
     done
 
     # strip spurious leading `:'
-    pkgltdl_files=`$ECHO "X$pkgltdl_files" | $Xsed -e 's,^:*,,'`
+    pkgltdl_files=`$ECHO "$pkgltdl_files" | $SED 's,^:*,,'`
 }
 
 
@@ -1277,7 +1277,7 @@ func_massage_pkgconfig_files ()
     done
 
     # strip spurious leading `:'
-    pkgconfig_files=`$ECHO "X$pkgconfig_files" | $Xsed -e 's,^:*,,'`
+    pkgconfig_files=`$ECHO "$pkgconfig_files" | $SED 's,^:*,,'`
 }
 
 
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 48d1d37..dc23826 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -59,7 +59,7 @@ DEBUG | debug )
 esac
 
 if test -z "$srcdir"; then
-  srcdir=`$ECHO "X$0" | $Xsed -e "$dirname"`
+  srcdir=`$ECHO "$0" | $SED "$dirname"`
   test "$srcdir" = "$0" && srcdir=.
 fi
 
diff --git a/tests/quote.test b/tests/quote.test
index 12715d8..6a62dac 100755
--- a/tests/quote.test
+++ b/tests/quote.test
@@ -40,7 +40,7 @@ esac
 func_get_config "ECHO wl" "$LIBTOOL --config"
 
 for mode in compile link install; do
-  $ECHO "== $mode mode"
+  echo "== $mode mode"
 
   # Unfortunately, without an array data type, it is nearly impossible
   # to protect libtool from metacharacters in filenames.  So, we just
@@ -74,7 +74,7 @@ for mode in compile link install; do
   esac
 
   # Trivial.
-  $ECHO "= trying: no quoting"
+  echo "= trying: no quoting"
   result=`$LIBTOOL -n --mode=$mode $preargs ${preflag}"${flag}test" $postargs` || status=$EXIT_FAILURE
   # We used to have the contents of $match in the case statement,
   # without an intermediate variable, but it would fail on at least


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 08:50:25 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4FM1-000174-Aq
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 08:50:25 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4FLy-000160-45
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:50:22 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4FLv-00015U-Tt
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:50:20 -0500
Received: from [199.232.76.173] (port=45483 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4FLv-00015A-3a
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:50:19 -0500
Received: from savannah.gnu.org ([199.232.41.3]:39429 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4FLu-000476-W3
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 08:50:19 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4FLs-0000yb-KM
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 13:50:17 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4FLf-0000xS-Bx
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 13:50:04 +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: 9c3d4d8f91904f4b99446c7a1870acf61357d715
X-Git-Newrev: f8c657da16d884656c82189f67df5a3c2d4167d6
Message-Id: <E1L4FLf-0000xS-Bx@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 13:50:03 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-40-gf8c657d
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/pipermail/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, 23 Nov 2008 13:50:22 -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  f8c657da16d884656c82189f67df5a3c2d4167d6 (commit)
      from  9c3d4d8f91904f4b99446c7a1870acf61357d715 (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 f8c657da16d884656c82189f67df5a3c2d4167d6
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 14:49:22 2008 +0100

    No need to prepend $progname with './'.
    
    * libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
    copes with leading hyphens now, so do not mangle $progname any
    more.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index cc05721..03e6d3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	No need to prepend $progname with './'.
+	* libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
+	copes with leading hyphens now, so do not mangle $progname any
+	more.
+
 	Revenge of the $ECHO. Kill most uses of Xsed.
 	* libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
 	| $Xsed' with `$ECHO "..." | $SED', and employ further trivial
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 9fe5873..4bc304c 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -101,13 +101,8 @@ func_dirname_and_basename ()
 # Generated shell functions inserted here.
 
 # The name of this program:
-# In the unlikely event $progname began with a '-', it would play havoc with
-# func_echo (imagine progname=-n), so we prepend ./ in that case:
 func_dirname_and_basename "$progpath"
 progname=$func_basename_result
-case $progname in
-  -*) progname=./$progname ;;
-esac
 
 # Make sure we have an absolute path for reexecution:
 case $progpath in


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 09:16:24 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4FlA-0004ae-5N
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 09:16:24 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4Fl7-0004Ze-NB
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:16:21 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Fl5-0004Z7-36
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:16:20 -0500
Received: from [199.232.76.173] (port=57393 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Fl4-0004Z3-SX
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:16:18 -0500
Received: from savannah.gnu.org ([199.232.41.3]:33677 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Fl5-0007fh-7y
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:16:19 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Fl3-0006nD-0F
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:16:17 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Fl0-0006mk-7Q
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:16:16 +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: f8c657da16d884656c82189f67df5a3c2d4167d6
X-Git-Newrev: 1c6333b7bf4db3fa92830265c0596c8ea1d14cd7
Message-Id: <E1L4Fl0-0006mk-7Q@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 14:16:15 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-41-g1c6333b
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/pipermail/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, 23 Nov 2008 14:16:22 -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  1c6333b7bf4db3fa92830265c0596c8ea1d14cd7 (commit)
      from  f8c657da16d884656c82189f67df5a3c2d4167d6 (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 1c6333b7bf4db3fa92830265c0596c8ea1d14cd7
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 14:52:32 2008 +0100

    Replace uses of $SED $basename.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
    of `$ECHO ... | $SED' with calls to func_basename.
    * libtoolize.m4sh (func_copy, func_serial)
    (func_massage_aclocal_DATA): Likewise, replace with
    func_dirname_and_basename.
    * tests/defs.m4sh (func_configure_nofail, func_make, func_exec):
    Likewise.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |    9 +++++++++
 libltdl/config/ltmain.m4sh |    6 ++++--
 libtoolize.m4sh            |   14 ++++++++++----
 tests/defs.m4sh            |    9 ++++++---
 4 files changed, 29 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 03e6d3f..44efdcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Replace uses of $SED $basename.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
+	of `$ECHO ... | $SED' with calls to func_basename.
+	* libtoolize.m4sh (func_copy, func_serial)
+	(func_massage_aclocal_DATA): Likewise, replace with
+	func_dirname_and_basename.
+	* tests/defs.m4sh (func_configure_nofail, func_make, func_exec):
+	Likewise.
+
 	No need to prepend $progname with './'.
 	* libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
 	copes with leading hyphens now, so do not mangle $progname any
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 937f14e..28ad40d 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4764,7 +4764,8 @@ func_mode_link ()
 	  # Collect preopened libtool deplibs, except any this library
 	  # has declared as weak libs
 	  for deplib in $dependency_libs; do
-            deplib_base=`$ECHO "$deplib" | $SED "$basename"`
+	    func_basename "$deplib"
+            deplib_base=$func_basename_result
 	    case " $weak_libs " in
 	    *" $deplib_base "*) ;;
 	    *) deplibs="$deplibs $deplib" ;;
@@ -6846,7 +6847,8 @@ EOF
 	    save_libobjs=$libobjs
 	  fi
 	  save_output=$output
-	  output_la=`$ECHO "$output" | $SED "$basename"`
+	  func_basename "$output"
+	  output_la=$func_basename_result
 
 	  # Clear the reloadable object creation command queue and
 	  # initialize k to one.
diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 1427e61..941ad85 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -269,7 +269,8 @@ func_copy ()
     test -f "$1" || \
       { func_error "\`$1' not copied:  not a regular file"; return 1; }
 
-    my_f1=`$ECHO "$1" | $SED "$basename"`
+    func_dirname_and_basename "$1"
+    my_f1=$func_basename_result
 
     if test -d "$2"; then
 
@@ -279,7 +280,9 @@ func_copy ()
     else
 
       # Supporting this would mean changing the timestamp:
-      test "X$my_f1" = X`$ECHO "$2" | $SED "$basename"` \
+      func_dirname_and_basename "$2"
+      my_tname=$func_basename_result
+      test "X$my_f1" = "X$my_tname" \
         || func_fatal_error "func_copy() cannot change filename on copy"
 
       func_copy_cb "$my_f1" \
@@ -705,10 +708,12 @@ func_serial ()
     # Search FILENAME and all the files it m4_includes for a serial number
     # in the file that AC_DEFUNs MACRO_REGEX.
     my_serial=
+    func_dirname_and_basename "$my_filename"
+    my_filebase=$func_basename_result
     for my_file in `func_included_files "$my_filename"`; do
       if test -z "$my_macro_regex" ||
          test "$my_filename" = aclocal.m4 ||
-         test "$my_macro_regex" = `echo "$my_filename" | $SED "$basename"` ||
+         test "X$my_macro_regex" = "X$my_filebase" ||
          func_grep '^AC_DEFUN(\@<:@'"$my_macro_regex" "$my_file"
       then
         my_serial=`$SED -e "$my_sed_serial" "$my_file"`
@@ -1040,7 +1045,8 @@ func_massage_aclocal_DATA ()
 
     # Massage a value for pkgmacro_files from the value used in Makefile.am.
     for my_filename in @aclocal_DATA@; do
-      my_filename=`$ECHO "$my_filename" | $SED "$basename"`
+      func_dirname_and_basename "$my_filename"
+      my_filename=$func_basename_result
 
       # ignore excluded filenames
       if test -n "$my_glob_exclude"; then
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index dc23826..27c6f77 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -187,7 +187,8 @@ func_configure_nofail ()
 {
     $opt_debug
     my_args=${1+"$@"}
-    my_dir=`pwd | $SED "$basename"`
+    func_dirname_and_basename "`pwd`"
+    my_dir=$func_basename_result
     my_testdir="$srcdir/tests/$my_dir"
     conf_status=$EXIT_FAILURE
 
@@ -245,7 +246,8 @@ func_make ()
 {
     $opt_debug
     my_args=${1+"$@"}
-    my_dir=`pwd | $SED "$basename"`
+    func_dirname_and_basename "`pwd`"
+    my_dir=$func_basename_result
 
     func_msg "Running \`$MAKE $my_args' in $my_dir"
 
@@ -317,7 +319,8 @@ func_exec ()
     $opt_debug
     my_program="$1"
     my_exp_output="$2"
-    my_dir=`pwd | $SED "$basename"`
+    func_dirname_and_basename "`pwd`"
+    my_dir=$func_basename_result
 
     test -n "$my_exp_output" \
       && my_exp_output="| $EGREP -e "\""$my_exp_output"\"


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 09:19:26 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4Fo6-0005ZE-D1
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 09:19:26 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4Fo4-0005X8-88
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:19:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Fo3-0005Wd-Oy
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:19:23 -0500
Received: from [199.232.76.173] (port=48399 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Fo3-0005WV-M2
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:19:23 -0500
Received: from savannah.gnu.org ([199.232.41.3]:37286 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Fo4-0007tv-0W
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:19:24 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Fo2-0006sT-Ke
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:19:22 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Fo2-0006rz-1B
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:19: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: 1c6333b7bf4db3fa92830265c0596c8ea1d14cd7
X-Git-Newrev: 90dff3e4da1fa51733dd8d5cec332786aa57faef
Message-Id: <E1L4Fo2-0006rz-1B@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 14:19:22 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-42-g90dff3e
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/pipermail/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, 23 Nov 2008 14:19:24 -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  90dff3e4da1fa51733dd8d5cec332786aa57faef (commit)
      from  1c6333b7bf4db3fa92830265c0596c8ea1d14cd7 (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 90dff3e4da1fa51733dd8d5cec332786aa57faef
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 15:17:34 2008 +0100

    Avoid newlines in some AT_CHECK commands.
    
    * tests/standalone.at (linking libltdl without autotools): Wrap
    lines with dnl, to avoid turning off tracing of AT_CHECK.
    * tests/subproject.at (linking libltdl without autotools):
    Likewise.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog           |    6 ++++++
 tests/standalone.at |    6 +++---
 tests/subproject.at |    6 +++---
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 44efdcb..a88f9ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Avoid newlines in some AT_CHECK commands.
+	* tests/standalone.at (linking libltdl without autotools): Wrap
+	lines with dnl, to avoid turning off tracing of AT_CHECK.
+	* tests/subproject.at (linking libltdl without autotools):
+	Likewise.
+
 	Replace uses of $SED $basename.
 	* libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
 	of `$ECHO ... | $SED' with calls to func_basename.
diff --git a/tests/standalone.at b/tests/standalone.at
index f9ba5ed..39b77c4 100644
--- a/tests/standalone.at
+++ b/tests/standalone.at
@@ -80,9 +80,9 @@ AT_SETUP([linking libltdl without autotools])
 
 _LTDL_PROJECT_FILES([libltdl])
 LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl], [], [ignore])
-LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" \
-        CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
-	CONFIGURE_OPTIONS="$configure_options"])
+LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" ]dnl
+        [CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ]dnl
+	[CONFIGURE_OPTIONS="$configure_options"])
 
 LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore])
 
diff --git a/tests/subproject.at b/tests/subproject.at
index 4b32f44..0e003a3 100644
--- a/tests/subproject.at
+++ b/tests/subproject.at
@@ -110,9 +110,9 @@ AT_SETUP([linking libltdl without autotools])
 
 _LTDL_PROJECT_FILES([sub/ltdl])
 LT_AT_LIBTOOLIZE([--copy --ltdl=sub/ltdl])
-LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS"  \
-     CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" SHELL="$SHELL" MAKE="${MAKE-make}" \
-     CONFIGURE_OPTIONS="$configure_options"])
+LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" ]dnl
+     [CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" SHELL="$SHELL" MAKE="${MAKE-make}" ]dnl
+     [CONFIGURE_OPTIONS="$configure_options"])
 
 LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore])
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 09:28:50 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4FxC-0007sA-Ba
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 09:28:50 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4FxA-0007ry-TC
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:28:48 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Fx9-0007rm-CO
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:28:47 -0500
Received: from [199.232.76.173] (port=51809 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Fx9-0007rj-7B
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:28:47 -0500
Received: from savannah.gnu.org ([199.232.41.3]:46668 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Fx9-0000gQ-Hf
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:28:47 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Fx8-0007GY-CR
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:28:46 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Fx7-0007Fw-O1
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:28:46 +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: 90dff3e4da1fa51733dd8d5cec332786aa57faef
X-Git-Newrev: b5282894cf194b878322bf2688bd90571bef1c69
Message-Id: <E1L4Fx7-0007Fw-O1@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 14:28:45 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-44-gb528289
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/pipermail/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, 23 Nov 2008 14:28:49 -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  b5282894cf194b878322bf2688bd90571bef1c69 (commit)
       via  20e67cc02242b12189020a51441a65c59546aa56 (commit)
      from  90dff3e4da1fa51733dd8d5cec332786aa57faef (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 b5282894cf194b878322bf2688bd90571bef1c69
Author: Alon Bar-Lev <alon.barlev@gmail.com>
Date:   Sun Nov 23 15:23:58 2008 +0100

    Fix func_win32_libid for 64-bit Windows.
    
    * libltdl/config/ltmain.m4sh (func_win32_libid): Accept file
    format 'pe-x86-64'.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 20e67cc02242b12189020a51441a65c59546aa56
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 15:23:44 2008 +0100

    Fix spacing in ChangeLog entries.

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

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

diff --git a/ChangeLog b/ChangeLog
index a88f9ce..af83a72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-23  Alon Bar-Lev  <alon.barlev@gmail.com>  (tiny change)
+
+	Fix func_win32_libid for 64-bit Windows.
+	* libltdl/config/ltmain.m4sh (func_win32_libid): Accept file
+	format 'pe-x86-64'.
+	* NEWS: Update.
+
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Avoid newlines in some AT_CHECK commands.
@@ -42,7 +49,7 @@
 	* THANKS: Update.
 	Report by Ethan Mallove.
 
-2008-11-21  Charles Wilson <libtool@cwilson.fastmail.fm>
+2008-11-21  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Fix --verbose option; add new --no-{silent|quiet|verbose} options.
 
@@ -1260,7 +1267,7 @@
 	* NEWS: Update.
 	Report by Andreas Schwab.
 
-2008-03-01  Gary V. Vaughan <gary@gnu.org>
+2008-03-01  Gary V. Vaughan  <gary@gnu.org>
 
 	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
 	number to 2.3a.
@@ -1688,7 +1695,7 @@
 	Compile program file without libtool.
 	Report by Rainer Tammer.
 
-2008-01-07  Rainer Tammer <tammer@tammer.net>  (tiny change)
+2008-01-07  Rainer Tammer  <tammer@tammer.net>  (tiny change)
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Support AIX 6.1.
diff --git a/NEWS b/NEWS
index c00e404..1c99042 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
   - New libtool command line flag --no-verbose, which disables only
     the extra "verbose" output messages and has no effect on the
     default informational messages.
+  - Improved support for 64bit Windows (mingw64).
 
 * Bug fixes:
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 28ad40d..e7dcdf2 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2159,6 +2159,7 @@ static const void *lt_preloaded_setup() {
 # Need a lot of goo to handle *both* DLLs and import libs
 # Has to be a shell function in order to 'eat' the argument
 # that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
 func_win32_libid ()
 {
   $opt_debug
@@ -2170,7 +2171,7 @@ func_win32_libid ()
     ;;
   *ar\ archive*) # could be an import, or static
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
+       $EGREP 'file format (pe-i386(.*architecture: i386)?|pe-x86-64)' >/dev/null; then
       win32_nmres=`eval $NM -f posix -A $1 |
 	$SED -n -e '
 	    1,100{


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 09:39:01 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4G73-0003vR-IE
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 09:39:01 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4G71-0003tz-Uw
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:38:59 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4G71-0003sh-6I
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:38:59 -0500
Received: from [199.232.76.173] (port=44610 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4G71-0003sb-47
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:38:59 -0500
Received: from savannah.gnu.org ([199.232.41.3]:60105 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4G6z-0002CB-4l
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 09:38:57 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4G6x-0007YA-Fl
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:38:55 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4G6x-0007Xh-2K
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:38: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: b5282894cf194b878322bf2688bd90571bef1c69
X-Git-Newrev: 447a83159b6702d3644370774d334f3ba17c1bf4
Message-Id: <E1L4G6x-0007Xh-2K@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 14:38:55 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-45-g447a831
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/pipermail/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, 23 Nov 2008 14:39:00 -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  447a83159b6702d3644370774d334f3ba17c1bf4 (commit)
      from  b5282894cf194b878322bf2688bd90571bef1c69 (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 447a83159b6702d3644370774d334f3ba17c1bf4
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 15:36:14 2008 +0100

    Fix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix test to
    not influence further tests registered with _AS_DETECT_SUGGESTED
    and do not use a PATH below /tmp, to avoid influence by a third
    party.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index af83a72..d7ae7cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+	    Eric Blake  <ebb9@byu.net>
+
+	Fix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.
+	* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix test to
+	not influence further tests registered with _AS_DETECT_SUGGESTED
+	and do not use a PATH below /tmp, to avoid influence by a third
+	party.
+
 2008-11-23  Alon Bar-Lev  <alon.barlev@gmail.com>  (tiny change)
 
 	Fix func_win32_libid for 64-bit Windows.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 633d8f8..5d1a131 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1114,12 +1114,13 @@ esac
 
 m4_ifdef([_AS_DETECT_SUGGESTED],
 [_AS_DETECT_SUGGESTED([
-  ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
-  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
-  PATH=/tmp/nonexistent; export PATH;
-  FPATH=$PATH; export FPATH;
-  test "X`printf %s $ECHO`" = "X$ECHO"])])
+  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+    PATH=/empty FPATH=/empty; export PATH FPATH
+    test "X`printf %s $ECHO`" = "X$ECHO" \
+      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 
 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 14:36:41 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4Kl7-0002re-Lj
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 14:36:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4Kl6-0002rY-QH
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:36:40 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Kl5-0002rM-Bt
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:36:39 -0500
Received: from [199.232.76.173] (port=36850 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Kl5-0002rJ-5N
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:36:39 -0500
Received: from savannah.gnu.org ([199.232.41.3]:36310 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Kl3-0003ba-O1
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 14:36:37 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Kl3-0008Qx-0m
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 19:36:37 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Kl2-0008QS-EY
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 19:36: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: 447a83159b6702d3644370774d334f3ba17c1bf4
X-Git-Newrev: 2a06feab95ec4c0e10f265dfb40aff381489d8f3
Message-Id: <E1L4Kl2-0008QS-EY@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 19:36:36 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-48-g2a06fea
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/pipermail/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, 23 Nov 2008 19:36:40 -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  2a06feab95ec4c0e10f265dfb40aff381489d8f3 (commit)
       via  6ad29eaccf58011e38488875695612728ae52dad (commit)
       via  20d15587b268f67aa539d5351027dbe5bdbd183b (commit)
      from  447a83159b6702d3644370774d334f3ba17c1bf4 (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 2a06feab95ec4c0e10f265dfb40aff381489d8f3
Author: Vincent Torri <vtorri@univ-evry.fr>
Date:   Sun Nov 23 20:30:33 2008 +0100

    Fix func_emit_cwrapperexe_src for WinCE: no errno support.
    
    * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
    [__MINGW32CE__]: Do not use errno, do not include errno.h and
    remove calls related to errno when using the mingw32ce compiler.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 6ad29eaccf58011e38488875695612728ae52dad
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 20:11:38 2008 +0100

    No libm in WinCE.
    
    * libltdl/m4/libtool.m4 (LT_LIB_M) [cegcc*]: This system has
    only a dummy libm, ignore.
    Report by Vincent Torri.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 20d15587b268f67aa539d5351027dbe5bdbd183b
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 20:10:32 2008 +0100

    Fix import library detection for WinCE.
    
    * libltdl/config/ltmain.m4sh (func_win32_libid): Work for
    pe-arm-wince import libraries.
    * NEWS: Update.
    Report by Vincent Torri.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   20 ++++++++++++++++++++
 NEWS                       |    1 +
 libltdl/config/ltmain.m4sh |   14 ++++++++++++--
 libltdl/m4/libtool.m4      |    2 +-
 4 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d7ae7cd..3976201 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2008-11-23  Vincent Torri  <vtorri@univ-evry.fr>  (tiny change)
+
+	Fix func_emit_cwrapperexe_src for WinCE: no errno support.
+	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
+	[__MINGW32CE__]: Do not use errno, do not include errno.h and
+	remove calls related to errno when using the mingw32ce compiler.
+
+2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	No libm in WinCE.
+	* libltdl/m4/libtool.m4 (LT_LIB_M) [cegcc*]: This system has
+	only a dummy libm, ignore.
+	Report by Vincent Torri.
+
+	Fix import library detection for WinCE.
+	* libltdl/config/ltmain.m4sh (func_win32_libid): Work for
+	pe-arm-wince import libraries.
+	* NEWS: Update.
+	Report by Vincent Torri.
+
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 	    Eric Blake  <ebb9@byu.net>
 
diff --git a/NEWS b/NEWS
index 1c99042..8927d23 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
     the extra "verbose" output messages and has no effect on the
     default informational messages.
   - Improved support for 64bit Windows (mingw64).
+  - Improved support for cegcc (Windows CE/PocketPC).
 
 * Bug fixes:
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index e7dcdf2..0fe3fc9 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2171,7 +2171,7 @@ func_win32_libid ()
     ;;
   *ar\ archive*) # could be an import, or static
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format (pe-i386(.*architecture: i386)?|pe-x86-64)' >/dev/null; then
+       $EGREP 'file format (pe-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
       win32_nmres=`eval $NM -f posix -A $1 |
 	$SED -n -e '
 	    1,100{
@@ -2759,7 +2759,9 @@ int setenv (const char *, const char *, int);
 #include <assert.h>
 #include <string.h>
 #include <ctype.h>
-#include <errno.h>
+#ifndef __MINGW32CE__
+# include <errno.h>
+#endif
 #include <fcntl.h>
 #include <sys/stat.h>
 
@@ -3152,7 +3154,11 @@ EOF
   if (rval == -1)
     {
       /* failed to start process */
+#ifndef __MINGW32CE__
       LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
+#else
+      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\"\n", lt_argv_zero));
+#endif
       return 127;
     }
   return rval;
@@ -3381,8 +3387,12 @@ chase_symlinks (const char *pathspec)
 	}
       else
 	{
+#ifndef __MINGW32CE__
 	  char *errstr = strerror (errno);
 	  lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
+#else
+	  lt_fatal ("Error accessing file %s", tmp_pathspec);
+#endif
 	}
     }
   XFREE (tmp_pathspec);
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 5d1a131..04a02f5 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3186,7 +3186,7 @@ AC_DEFUN([LT_LIB_M],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 LIBM=
 case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
   # These system don't have libm, or don't need it
   ;;
 *-ncr-sysv4.3*)


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 15:42:16 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4Lma-0001Bx-4Y
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 15:42:16 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4LmY-0001Br-DJ
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 15:42:14 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4LmV-0001Bf-UO
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 15:42:13 -0500
Received: from [199.232.76.173] (port=39339 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4LmV-0001Bc-LP
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 15:42:11 -0500
Received: from savannah.gnu.org ([199.232.41.3]:40651 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4LmV-0004Pc-5W
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 15:42:11 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4LmU-0002rA-DA
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 20:42:10 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4LmT-0002qh-Qk
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 20:42:10 +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: 2a06feab95ec4c0e10f265dfb40aff381489d8f3
X-Git-Newrev: c6d628415daaacc5b8a0176a1dc176cdd4dbdcc5
Message-Id: <E1L4LmT-0002qh-Qk@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 20:42:09 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-49-gc6d6284
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/pipermail/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, 23 Nov 2008 20:42: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  c6d628415daaacc5b8a0176a1dc176cdd4dbdcc5 (commit)
      from  2a06feab95ec4c0e10f265dfb40aff381489d8f3 (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 c6d628415daaacc5b8a0176a1dc176cdd4dbdcc5
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 21:10:23 2008 +0100

    No trailing period in Autotest test group names.
    
    * tests/link-order.at (Link order test): Drop trailing period
    from test name.
    * tests/link-order2.at (Link order of deplibs): Likewise.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog            |    7 +++++++
 tests/link-order.at  |    4 ++--
 tests/link-order2.at |    6 +++---
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3976201..33fe805 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	No trailing period in Autotest test group names.
+	* tests/link-order.at (Link order test): Drop trailing period
+	from test name.
+	* tests/link-order2.at (Link order of deplibs): Likewise.
+
 2008-11-23  Vincent Torri  <vtorri@univ-evry.fr>  (tiny change)
 
 	Fix func_emit_cwrapperexe_src for WinCE: no errno support.
diff --git a/tests/link-order.at b/tests/link-order.at
index ce52cc9..c12ba0b 100644
--- a/tests/link-order.at
+++ b/tests/link-order.at
@@ -1,6 +1,6 @@
 # link-order.at -- ensure that library linking order matches  -*- Autotest -*-
 #
-#   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
 #   Written by Alexandre Oliva & Ralf Wildenhues, 2005
 #
 #   This file is part of GNU Libtool.
@@ -23,7 +23,7 @@
 ####
 
 
-AT_SETUP([Link order test.])
+AT_SETUP([Link order test])
 AT_KEYWORDS([libtool])
 eval `$LIBTOOL --config | $EGREP '^(hardcode_direct|hardcode_direct_absolute|shrext_cmds)='`
 LDFLAGS="$LDFLAGS -no-undefined"
diff --git a/tests/link-order2.at b/tests/link-order2.at
index 91328b1..8e5712f 100644
--- a/tests/link-order2.at
+++ b/tests/link-order2.at
@@ -1,6 +1,6 @@
 # link-order2.at -- test link order of deplibs                -*- Autotest -*-
 #
-#   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2006
 #
 #   This file is part of GNU Libtool.
@@ -33,7 +33,7 @@
 # actually loaded in each case, we also use an unrelated symbol
 # from it directly in the main program.  We test for failure by
 # reversing the link order.
-# We test both static and shared: it should work in both cases.  
+# We test both static and shared: it should work in both cases.
 # But for the static case to work, the two symbols in the depdepl
 # need to be in separate object files, otherwise duplicate symbol
 # definitions can happen.
@@ -43,7 +43,7 @@
 # and only with MACOS_DEPLOYMENT_TARGET 10.2 and earlier
 # (in that case $allow_undefined_flag contains -flat_namespace).
 
-AT_SETUP([Link order of deplibs.])
+AT_SETUP([Link order of deplibs])
 AT_KEYWORDS([libtool])
 
 eval `$LIBTOOL --config | $EGREP '^(shlibpath_var|allow_undefined_flag)='`


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 16:41:54 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4MiI-0007bs-Ei
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 16:41:54 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4MiG-0007bH-Iu
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:41:52 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4MiD-0007Zs-HG
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:41:51 -0500
Received: from [199.232.76.173] (port=59936 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4MiC-0007Zn-QG
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:41:48 -0500
Received: from savannah.gnu.org ([199.232.41.3]:35784 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4MiC-0006hy-L7
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:41:48 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4MiB-0006ae-P0
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:41:47 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4MiB-0006a9-AH
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:41:47 +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: c6d628415daaacc5b8a0176a1dc176cdd4dbdcc5
X-Git-Newrev: 2258787e02552615a4a3a76c24c1cb5155a6cb5f
Message-Id: <E1L4MiB-0006a9-AH@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 21:41:47 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-50-g2258787
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/pipermail/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, 23 Nov 2008 21:41: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  2258787e02552615a4a3a76c24c1cb5155a6cb5f (commit)
      from  c6d628415daaacc5b8a0176a1dc176cdd4dbdcc5 (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 2258787e02552615a4a3a76c24c1cb5155a6cb5f
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 22:35:58 2008 +0100

    Adjust executable run tests to cwrapper changes.
    
    * tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
    ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
    status flattening.  Rewrite to prefer the executable with the
    `.exe' prefix over one without.  Test exit status against
    expected exit status, not against zero, when determining whether
    this may be a cross-compilation-induced result.
    (LT_AT_NOINST_EXEC_CHECK): Likewise.
    * tests/static.at (static linking flags for programs): Adjust
    calls.
    Report by Roumen Petrov.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog          |   12 ++++++++++++
 tests/static.at    |    4 ++--
 tests/testsuite.at |   38 +++++++++++++++++++++++++++-----------
 3 files changed, 41 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 33fe805..263ffb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Adjust executable run tests to cwrapper changes.
+	* tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
+	ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
+	status flattening.  Rewrite to prefer the executable with the
+	`.exe' prefix over one without.  Test exit status against
+	expected exit status, not against zero, when determining whether
+	this may be a cross-compilation-induced result.
+	(LT_AT_NOINST_EXEC_CHECK): Likewise.
+	* tests/static.at (static linking flags for programs): Adjust
+	calls.
+	Report by Roumen Petrov.
+
 	No trailing period in Autotest test group names.
 	* tests/link-order.at (Link order test): Drop trailing period
 	from test name.
diff --git a/tests/static.at b/tests/static.at
index b5e9946..6c91b1f 100644
--- a/tests/static.at
+++ b/tests/static.at
@@ -194,11 +194,11 @@ func_test_exec_fail ()
     for st
     do
       echo "# m$st"
-      LT_AT_EXEC_CHECK([./m$st || (exit 1)], [1], [], [ignore])
+      LT_AT_EXEC_CHECK([./m$st], [1], [], [ignore], [|| (exit 1)])
       # For some per-deplib flag combinations there may be no installed program,
       # because liba2 is not yet installed.
       if test -f "$bindir/m$st"; then
-	LT_AT_EXEC_CHECK([$bindir/m$st || (exit 1)], [1], [], [ignore])
+	LT_AT_EXEC_CHECK([$bindir/m$st], [1], [], [ignore], [|| (exit 1)])
       fi
     done
   fi
diff --git a/tests/testsuite.at b/tests/testsuite.at
index f7e805e..9511c06 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -203,29 +203,45 @@ m4_define([_LT_AT_TRANSLATE_TEXT_OUTPUT],
 esac])
 
 
-# LT_AT_EXEC_CHECK(EXECUTABLE, [STATUS = 0], [STDOUT], [STDERR])
+# LT_AT_EXEC_CHECK(EXECUTABLE, [STATUS = 0], [STDOUT], [STDERR],
+#		   [ARGS-OR-STATUS-ADJUST])
 # --------------------------------------------------------------
+# Run EXECUTABLE ARGS-OR-STATUS-ADJUST.  STATUS, STDOUT, and STDERR are
+# handled as in AT_CHECK, but expout and experr get line endings
+# translated.
+# However, if we are cross-compiling, then SKIP instead of FAIL.
+# ARGS-OR-STATUS-ADJUST can also contain code like `|| (exit 1)'
+# to unify different possible exit status values.
 m4_define([LT_AT_EXEC_CHECK],
 [m4_if([$3], [expout], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$3])])
 m4_if([$4], [experr], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$4])])
-AT_CHECK([$1; lt_status=$?; if test $lt_status -eq 0; then :;
-	   elif test "X$host" != "X$build" && \
-	        { test -x "$1" || test -x "$1"$EXEEXT; }
-	   then (exit 77); else (exit $lt_status); fi],[$2],[$3],[$4])
+lt_exe=$1; if test -f "$1$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+AT_CHECK([if "$lt_exe" $5; then :; else lt_status=$?; ]dnl
+	 [  m4_ifval([$2], [test $lt_status != $2 && ])]dnl
+	 [  test "X$host" != "X$build" && test -x "$lt_exe" && exit 77; ]dnl
+	 [  exit $lt_status; fi],[$2],[$3],[$4])
 ])
 
 
 # LT_AT_NOINST_EXEC_CHECK(EXECUTABLE, [NOINST-MODULES],
-# 			  [STATUS = 0], [STDOUT], [STDERR])
+#			  [STATUS = 0], [STDOUT], [STDERR],
+#			  [ARGS-OR-STATUS-ADJUST])
 # ---------------------------------------------------------
+# Run EXECUTABLE ARGS-OR-STATUS-ADJUST using `libtool --mode=execute'
+# with `-dlopen' arguments in NOINST_MODULES.  STATUS, STDOUT, and
+# STDERR are handled as in AT_CHECK, but expout and experr get line
+# endings translated.
+# However, if we are cross-compiling, then SKIP instead of FAIL.
+# ARGS-OR-STATUS-ADJUST can also contain code like `|| (exit 1)'
+# to unify different possible exit status values.
 m4_define([LT_AT_NOINST_EXEC_CHECK],
 [m4_if([$4], [expout], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$4])])
 m4_if([$5], [experr], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$5])])
-AT_CHECK([$LIBTOOL --mode=execute $2 $1; lt_status=$?;
-	   if test $lt_status -eq 0; then :;
-	   elif test "X$host" != "X$build" && \
-	        { test -x "$1" || test -x "$1"$EXEEXT; }
-	   then (exit 77); else (exit $lt_status); fi],[$3],[$4],[$5])
+lt_exe=$1; if test -f "$1$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+AT_CHECK([if $LIBTOOL --mode=execute $2 "$lt_exe" $6; then :; else lt_status=$?; ]dnl
+	 [  m4_ifval([$2], [test $lt_status != $2 && ])]dnl
+	 [  test "X$host" != "X$build" && test -x "$lt_exe" && exit 77; ]dnl
+	 [  exit $lt_status; fi],[$3],[$4],[$5])
 ])
 
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 16:45:42 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4Mlx-0008Lj-P0
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 16:45:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4Mlv-0008Ko-O2
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:45:39 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Mlu-0008K2-I6
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:45:39 -0500
Received: from [199.232.76.173] (port=49324 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Mlu-0008Jx-0G
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:45:38 -0500
Received: from savannah.gnu.org ([199.232.41.3]:51835 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Mls-0007lw-Bc
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:45:37 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Mlq-0006m7-Sw
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:45:35 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Mlq-0006lS-AC
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:45: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: 2258787e02552615a4a3a76c24c1cb5155a6cb5f
X-Git-Newrev: df2960ac0b8bf43d11acec2144d2e5495019e5ce
Message-Id: <E1L4Mlq-0006lS-AC@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 21:45:34 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-51-gdf2960a
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/pipermail/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, 23 Nov 2008 21:45:40 -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  df2960ac0b8bf43d11acec2144d2e5495019e5ce (commit)
      from  2258787e02552615a4a3a76c24c1cb5155a6cb5f (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 df2960ac0b8bf43d11acec2144d2e5495019e5ce
Author: Roumen Petrov <bugtrack@roumenpetrov.info>
Date:   Sun Nov 23 21:26:09 2008 +0100

    Add $EXEEXT to all linked programs in the new testsuite.
    
    * tests/convenience.at, tests/ctor.at, tests/darwin.at,
    tests/deplibs-ident.at, tests/duplicate_conv.at,
    tests/duplicate_deps.at, tests/duplicate_members.at,
    tests/export.at, tests/fail.at, tests/indirect_deps.at,
    tests/inherited_flags.at, tests/link-order.at,
    tests/link-order2.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
    tests/need_lib_prefix.at, tests/runpath-in-lalib.at,
    tests/search-path.at, tests/shlibpath.at, tests/static.at,
    tests/stresstest.at, tests/template.at, tests/testsuite.at:
    Use $EXEEXT throughout, except in Makefile.am snippets where
    automake takes care of it, and in testsuite macros that take
    care of the extension.
    Reports by Roumen Petrov and Alon Bar-Lev.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   18 ++++++++++++++++++
 tests/convenience.at       |   20 ++++++++++----------
 tests/ctor.at              |    2 +-
 tests/darwin.at            |    2 +-
 tests/deplibs-ident.at     |    4 ++--
 tests/duplicate_conv.at    |   10 +++++-----
 tests/duplicate_deps.at    |    8 ++++----
 tests/duplicate_members.at |    4 ++--
 tests/export.at            |   10 +++++-----
 tests/fail.at              |    8 ++++----
 tests/indirect_deps.at     |   10 +++++-----
 tests/inherited_flags.at   |    4 ++--
 tests/link-order.at        |    2 +-
 tests/link-order2.at       |    8 ++++----
 tests/lt_dladvise.at       |    2 +-
 tests/lt_dlexit.at         |    2 +-
 tests/need_lib_prefix.at   |    4 ++--
 tests/runpath-in-lalib.at  |    2 +-
 tests/search-path.at       |    4 ++--
 tests/shlibpath.at         |    6 +++---
 tests/static.at            |   32 ++++++++++++++++----------------
 tests/stresstest.at        |    6 +++---
 tests/template.at          |   14 +++++++-------
 tests/testsuite.at         |    2 +-
 24 files changed, 101 insertions(+), 83 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 263ffb5..9a39c79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2008-11-23  Roumen Petrov  <bugtrack@roumenpetrov.info>
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Add $EXEEXT to all linked programs in the new testsuite.
+	* tests/convenience.at, tests/ctor.at, tests/darwin.at,
+	tests/deplibs-ident.at, tests/duplicate_conv.at,
+	tests/duplicate_deps.at, tests/duplicate_members.at,
+	tests/export.at, tests/fail.at, tests/indirect_deps.at,
+	tests/inherited_flags.at, tests/link-order.at,
+	tests/link-order2.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
+	tests/need_lib_prefix.at, tests/runpath-in-lalib.at,
+	tests/search-path.at, tests/shlibpath.at, tests/static.at,
+	tests/stresstest.at, tests/template.at, tests/testsuite.at:
+	Use $EXEEXT throughout, except in Makefile.am snippets where
+	automake takes care of it, and in testsuite macros that take
+	care of the extension.
+	Reports by Roumen Petrov and Alon Bar-Lev.
+
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Adjust executable run tests to cwrapper changes.
diff --git a/tests/convenience.at b/tests/convenience.at
index 7834bff..995c8ff 100644
--- a/tests/convenience.at
+++ b/tests/convenience.at
@@ -56,9 +56,9 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba123.la a3.lo liba1.la
 conv=
 for i in 1 2 3; do
   conv=$conv$i
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -static -o main_static main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -static -o main_static$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
   LT_AT_EXEC_CHECK([./main_static])
   LT_AT_EXEC_CHECK([./main])
@@ -96,9 +96,9 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o liba123.la a
 conv=
 for i in 1 2 3; do
   conv=$conv$i
-  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -static -o main_static main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -static -o main_static$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
-  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o main main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o main$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
   LT_AT_EXEC_CHECK([./main_static])
   LT_AT_EXEC_CHECK([./main])
@@ -156,9 +156,9 @@ AT_CHECK([$LIBTOOL --tag=F77 --mode=link $F77 $FFLAGS $LDFLAGS -o liba123.la a3.
 conv=
 for i in 1 2 3; do
   conv=$conv$i
-  AT_CHECK([$LIBTOOL --tag=F77 --mode=link $F77 $FFLAGS $LDFLAGS -static -o main_static main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=F77 --mode=link $F77 $FFLAGS $LDFLAGS -static -o main_static$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
-  AT_CHECK([$LIBTOOL --tag=F77 --mode=link $F77 $FFLAGS $LDFLAGS -o main main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=F77 --mode=link $F77 $FFLAGS $LDFLAGS -o main$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
   LT_AT_EXEC_CHECK([./main_static])
   LT_AT_EXEC_CHECK([./main])
@@ -216,9 +216,9 @@ AT_CHECK([$LIBTOOL --tag=FC --mode=link $FC $FCFLAGS $LDFLAGS -o liba123.la a3.l
 conv=
 for i in 1 2 3; do
   conv=$conv$i
-  AT_CHECK([$LIBTOOL --tag=FC --mode=link $FC $FCFLAGS $LDFLAGS -static -o main_static main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=FC --mode=link $FC $FCFLAGS $LDFLAGS -static -o main_static$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
-  AT_CHECK([$LIBTOOL --tag=FC --mode=link $FC $FCFLAGS $LDFLAGS -o main main$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=FC --mode=link $FC $FCFLAGS $LDFLAGS -o main$EXEEXT main$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
   LT_AT_EXEC_CHECK([./main_static])
   LT_AT_EXEC_CHECK([./main])
@@ -280,9 +280,9 @@ AT_CHECK([$LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS -o liba123.la A
 conv=
 for i in 1 2 3; do
   conv=$conv$i
-  AT_CHECK([$LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS -static --main=foo$i -o main_static foo$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS -static --main=foo$i -o main_static$EXEEXT foo$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
-  AT_CHECK([$LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS --main=foo$i -o main foo$i.lo liba$conv.la],
+  AT_CHECK([$LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS --main=foo$i -o main$EXEEXT foo$i.lo liba$conv.la],
 	   [0],[ignore],[ignore])
   LT_AT_EXEC_CHECK([./main_static])
   LT_AT_EXEC_CHECK([./main])
diff --git a/tests/ctor.at b/tests/ctor.at
index d5f1e08..29ec39a 100644
--- a/tests/ctor.at
+++ b/tests/ctor.at
@@ -60,7 +60,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS \
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS \
 	  libctor.lo -o libctor.la -rpath /none], [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS \
-	  main.lo libctor.la -o main], [0], [ignore], [ignore])
+	  main.lo libctor.la -o main$EXEEXT], [0], [ignore], [ignore])
 
 LT_AT_EXEC_CHECK([./main], [0])
 
diff --git a/tests/darwin.at b/tests/darwin.at
index 2ca5649..6284116 100644
--- a/tests/darwin.at
+++ b/tests/darwin.at
@@ -94,7 +94,7 @@ AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDF
 
 AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 main.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 main.lo libbar.la],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 main.lo libbar.la],[0],[ignore],[ignore])
 
 PATH=$save_PATH
 AT_CLEANUP
diff --git a/tests/deplibs-ident.at b/tests/deplibs-ident.at
index f432785..5758311 100644
--- a/tests/deplibs-ident.at
+++ b/tests/deplibs-ident.at
@@ -1,6 +1,6 @@
 # deplibs-ident.at -- detecting identical deplibs              -*- Autotest -*-
 
-#   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2005
 #
 #   This file is part of GNU Libtool.
@@ -63,7 +63,7 @@ int main() { return a1() + a2() + a3() + c(); }
 (
   cd a/b
   AT_CHECK([$CC $CFLAGS -c b.c],[0],[ignore],[ignore])
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o b b.$OBJEXT ../liba1.la ../liba2.la ../liba3.la ../../c/libcee.la -rpath /nowhere],
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o b$EXEEXT b.$OBJEXT ../liba1.la ../liba2.la ../liba3.la ../../c/libcee.la -rpath /nowhere],
 	   [0],[stdout],[ignore])
   AT_CHECK([$EGREP 'cee.*cee' stdout], 1, [ignore], [ignore])
   AT_XFAIL_IF([case $host in
diff --git a/tests/duplicate_conv.at b/tests/duplicate_conv.at
index ac5643b..83d5144 100644
--- a/tests/duplicate_conv.at
+++ b/tests/duplicate_conv.at
@@ -1,6 +1,6 @@
 # duplicate_conv.at -- duplicate convenience archive names   -*- Autotest -*-
 
-#   Copyright (C) 2006 Free Software Foundation, Inc.
+#   Copyright (C) 2006, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2006
 #
 #   This file is part of GNU Libtool.
@@ -50,7 +50,7 @@ $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o b/liba.la b/a.lo b/b.lo
 # Fold into convenience archive.
 AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libcee.la c.lo a/liba.la b/liba.la],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT ./libcee.la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT ./libcee.la],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 $LIBTOOL --mode=clean rm -f libcee.la
@@ -62,7 +62,7 @@ $LIBTOOL --mode=clean rm -f libcee.la
 # Fold into static library.
 AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -rpath /foo -static -o libcee.la c.lo a/liba.la b/liba.la],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT ./libcee.la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT ./libcee.la],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 $LIBTOOL --mode=clean rm -f libcee.la
@@ -70,7 +70,7 @@ $LIBTOOL --mode=clean rm -f libcee.la
 # Fold into library.
 AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -rpath /foo -o libcee.la c.lo a/liba.la b/liba.la],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT ./libcee.la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT ./libcee.la],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 $LIBTOOL --mode=clean rm -f libcee.la
@@ -78,7 +78,7 @@ $LIBTOOL --mode=clean rm -f libcee.la
 # Test whether this works with reloadable objects as well.
 AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o cee.$OBJEXT c.lo a/liba.la b/liba.la],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT cee.$OBJEXT],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT cee.$OBJEXT],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 
diff --git a/tests/duplicate_deps.at b/tests/duplicate_deps.at
index 0c4ce6b..2178440 100644
--- a/tests/duplicate_deps.at
+++ b/tests/duplicate_deps.at
@@ -1,6 +1,6 @@
 # duplicate_deps.at -- preserve duplicate convenience deps    -*- Autotest -*-
 
-#   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2006
 $
 #   This file is part of GNU Libtool.
@@ -56,7 +56,7 @@ $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o liba.la a1.lo a2.lo
 # libb.a as well, possibly renamed.)
 $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libb.la b1.lo liba.la
 AT_CHECK([$LIBTOOL --mode=link --tag=CC \
-	  $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la libb.la],
+	  $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la libb.la],
 	  [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./main])
 
@@ -64,13 +64,13 @@ LT_AT_EXEC_CHECK([./main])
 $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libb.la b1.lo
 # Some systems find all symbols anyway; skip this test on such systems.
 AT_CHECK([$LIBTOOL --mode=link --tag=CC \
-	  $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la libb.la liba.la \
+	  $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la libb.la liba.la \
 	  && exit 77],
 	  [1], [ignore], [ignore])
 # Other systems need special treatment, which currently fails.
 AT_XFAIL_IF([:])
 AT_CHECK([$LIBTOOL --mode=link --preserve-dup-deps --tag=CC \
-	  $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la libb.la liba.la],
+	  $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la libb.la liba.la],
 	  [0], [ignore], [ignore])
 
 AT_CLEANUP
diff --git a/tests/duplicate_members.at b/tests/duplicate_members.at
index 29b776a..afa9d20 100755
--- a/tests/duplicate_members.at
+++ b/tests/duplicate_members.at
@@ -1,6 +1,6 @@
 # duplicate_members.at -- duplicate members in archive tests  -*- Autotest -*-
 
-#   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
 #   Written by Alexandre Oliva & Peter O'Gorman, 2005
 #
 #   This file is part of GNU Libtool.
@@ -68,7 +68,7 @@ $LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c -o bar.lo bar.c
 $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libbar.la bar.lo libconv.la -rpath /notexist
 
 $LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c -o main.lo main.c
-$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main main.lo ./libbar.la
+$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.lo ./libbar.la
 
 LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 
diff --git a/tests/export.at b/tests/export.at
index 73fb45f..a330d40 100644
--- a/tests/export.at
+++ b/tests/export.at
@@ -1,6 +1,6 @@
 # export.at -- test symbol exports                           -*- Autotest -*-
 
-#   Copyright (C) 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2007
 #
 #   This file is part of GNU Libtool.
@@ -154,11 +154,11 @@ do
   # case 1: shared library built from object.
   LT_AT_CHECK([eval '$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo \
 	       -rpath $libdir' $exportsyms], [], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la],
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la],
 	   [], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./main])
   if test -n "$exportsyms" && $can_hide; then
-    AT_CHECK([if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o broken broken.$OBJEXT liba.la
+    AT_CHECK([if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o broken$EXEEXT broken.$OBJEXT liba.la
 	      then (exit 1); else :; fi], [], [ignore], [ignore])
   fi
 
@@ -167,11 +167,11 @@ do
 	   [], [ignore], [ignore])
   LT_AT_CHECK([eval '$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la libconv.la \
 	       -rpath $libdir' $exportsyms], [], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la],
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT liba.la],
 	   [], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./main])
   if test -n "$exportsyms" && $can_hide; then
-    AT_CHECK([if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o broken broken.$OBJEXT liba.la
+    AT_CHECK([if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o broken$EXEEXT broken.$OBJEXT liba.la
 	      then (exit 1); else :; fi], [], [ignore], [ignore])
   fi
 done
diff --git a/tests/fail.at b/tests/fail.at
index fe38ddc..088ad9e 100644
--- a/tests/fail.at
+++ b/tests/fail.at
@@ -67,9 +67,9 @@ esac
 # program creation failure
 echo 'int not_main(void) { return 0; }' > a.c
 $CC $CPPFLAGS $CFLAGS -c a.c
-FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a a.$OBJEXT])
+FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a$EXEEXT a.$OBJEXT])
 AT_CHECK([{ test -f a && $test_x a; } || { test -f a$EXEEXT && $test_x a$EXEEXT; }], [1])
-FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a a.$OBJEXT -static])
+FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a$EXEEXT a.$OBJEXT -static])
 AT_CHECK([{ test -f a && $test_x a; } || { test -f a$EXEEXT && $test_x a$EXEEXT; }], [1])
 
 # shared library creation failure
@@ -97,8 +97,8 @@ echo 'int main () { return 0; }' > d.c
 echo 'int foo () { return 0; }' > space-after-L.c
 $CC $CPPFLAGS $CFLAGS -c d.c
 $CC $CPPFLAGS $CFLAGS -c space-after-L.c
-FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -L space-after-L.$OBJEXT -o d d.$OBJEXT])
-FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o d d.$OBJEXT -L])
+FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -L space-after-L.$OBJEXT -o d$EXEEXT d.$OBJEXT])
+FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o d$EXEEXT d.$OBJEXT -L])
 
 m4_popdef([FAIL_CHECK])
 AT_CLEANUP
diff --git a/tests/indirect_deps.at b/tests/indirect_deps.at
index 33d2586..7665dc5 100644
--- a/tests/indirect_deps.at
+++ b/tests/indirect_deps.at
@@ -1,6 +1,6 @@
 # indirect_deps.at -- support for link_all_deplibs=no   -*- Autotest -*-
 
-#   Copyright (C) 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2007.
 #
 #   This file is part of GNU Libtool.
@@ -57,9 +57,9 @@ $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libconv.la c.lo libb.la
 $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libd.la libconv.la -rpath /nowhere
 
 for st in '' -static; do
-  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m1 m.$OBJEXT libd.la],
+  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m1$EXEEXT m.$OBJEXT libd.la],
 	   [], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m2 m.$OBJEXT libconv.la],
+  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m2$EXEEXT m.$OBJEXT libconv.la],
 	   [], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./m1])
   LT_AT_EXEC_CHECK([./m2])
@@ -106,9 +106,9 @@ for st in '' -static; do
   $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o b/libb.la b.lo a/liba.la -rpath /nowhereb
   $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o c/libcee.la c.lo b/libb.la -rpath /nowherec
 
-  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m1 m1.$OBJEXT b/libb.la],
+  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m1$EXEEXT m1.$OBJEXT b/libb.la],
 	   [], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m2 m2.$OBJEXT c/libcee.la],
+  AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS $st -o m2$EXEEXT m2.$OBJEXT c/libcee.la],
 	   [], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./m1])
   LT_AT_EXEC_CHECK([./m2])
diff --git a/tests/inherited_flags.at b/tests/inherited_flags.at
index 1efdf16..65c0c3e 100644
--- a/tests/inherited_flags.at
+++ b/tests/inherited_flags.at
@@ -82,7 +82,7 @@ AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libbaz.la baz.lo
 AT_CHECK([$LIBTOOL --features | grep 'disable shared libraries' && (exit 77)], [1], [ignore])
 AT_CHECK([grep 'lt_[[ui]]nlikely_existing_lib.*lt_[[ui]]nlikely_existing_lib' stdout],
 	 [0],[ignore],[ignore])
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main main.lo -no-undefined -rpath /nonexistent  ./libfoo.la ./libbar.la],
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.lo -no-undefined -rpath /nonexistent  ./libfoo.la ./libbar.la],
 	[ignore],[stdout],[ignore])
 AT_CHECK([grep 'lt_[[ui]]nlikely_existing_lib.*lt_[[ui]]nlikely_existing_lib' stdout],
 	 [0],[ignore],[ignore])
@@ -94,7 +94,7 @@ AT_CHECK([grep 'lt_inlikely_existing_lib.*lt_inlikely_existing_lib' stdout],
 	 [1],[ignore],[ignore])
 AT_CHECK([grep 'lt_unlikely_existing_lib.*lt_unlikely_existing_lib' stdout],
 	 [1],[ignore],[ignore])
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main main.lo -no-undefined -rpath /nonexistent  ./libfoo.la ./libbar.la ./libboth.la],
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.lo -no-undefined -rpath /nonexistent  ./libfoo.la ./libbar.la ./libboth.la],
 	[ignore],[stdout],[ignore])
 AT_CHECK([grep 'lt_inlikely_existing_lib.*lt_inlikely_existing_lib' stdout],
 	 [1],[ignore],[ignore])
diff --git a/tests/link-order.at b/tests/link-order.at
index c12ba0b..0122a45 100644
--- a/tests/link-order.at
+++ b/tests/link-order.at
@@ -100,7 +100,7 @@ EOF
 
   prefix=`eval echo \\$prefix_$i`
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c src/main_$i.c -o src/main_$i.lo
-  AT_CHECK($LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o src/main_$i src/main_$i.lo -L$prefix/lib -la,
+  AT_CHECK($LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o src/main_$i$EXEEXT src/main_$i.lo -L$prefix/lib -la,
 	   [0], [ignore], [ignore])
   LT_AT_EXEC_CHECK([src/main_$i])
 done
diff --git a/tests/link-order2.at b/tests/link-order2.at
index 8e5712f..d5e891a 100644
--- a/tests/link-order2.at
+++ b/tests/link-order2.at
@@ -119,11 +119,11 @@ for type_of_depdepl in libtool non-libtool; do
        static=-all-static
     $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o liba1.la a1.lo -rpath $libdir
     $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o libb.la b.lo liba1.la -rpath $libdir
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o main main.$OBJEXT libb.la -la0],
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o main$EXEEXT main.$OBJEXT libb.la -la0],
 	     [], [ignore], [ignore])
     LT_AT_EXEC_CHECK([./main])
     # Now test that if we reverse the link order, the program fails.
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o wrong main.$OBJEXT -la0 libb.la],
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o wrong$EXEEXT main.$OBJEXT -la0 libb.la],
 	     [], [ignore], [ignore])
     if test $shared_fails,$static != yes,; then
       LT_AT_EXEC_CHECK([./wrong], [2])
@@ -131,8 +131,8 @@ for type_of_depdepl in libtool non-libtool; do
 
     $LIBTOOL --mode=install cp liba1.la $libdir/liba1.la
     $LIBTOOL --mode=install cp libb.la $libdir/libb.la
-    $LIBTOOL --mode=install cp main $bindir/main
-    $LIBTOOL --mode=install cp wrong $bindir/wrong
+    $LIBTOOL --mode=install cp main$EXEEXT $bindir/main$EXEEXT
+    $LIBTOOL --mode=install cp wrong$EXEEXT $bindir/wrong$EXEEXT
     $LIBTOOL --mode=clean rm -f liba1.la libb.la
     LT_AT_EXEC_CHECK([$bindir/main])
     if test $shared_fails,$static != yes,; then
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index b76746c..60385a6 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -362,7 +362,7 @@ for module in $dlopenable; do
   modules="${modules+$modules }-dlopen lib$module.la"
 done
 
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT $preloaded $modules $LIBLTDL],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT $preloaded $modules $LIBLTDL],
 	 [], [ignore], [ignore])
 
 # Remove loadable libpreload module, so we know it is the preloaded module
diff --git a/tests/lt_dlexit.at b/tests/lt_dlexit.at
index e9de5c6..8d0b728 100644
--- a/tests/lt_dlexit.at
+++ b/tests/lt_dlexit.at
@@ -149,7 +149,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o modb1.la b1.lo \
 
 # TODO: test -dlpreopen
 for dlopen in -dlopen; do
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT \
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT \
            $dlopen modb1.la $LIBLTDL], [], [ignore], [ignore])
   LT_AT_NOINST_EXEC_CHECK([./main], [-dlopen modb1.la])
 done
diff --git a/tests/need_lib_prefix.at b/tests/need_lib_prefix.at
index d1f5dc6..90f3a60 100644
--- a/tests/need_lib_prefix.at
+++ b/tests/need_lib_prefix.at
@@ -164,7 +164,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC -module -avoid-version $CFLAGS $LDFLAGS -o fo
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC -module -avoid-version $CFLAGS $LDFLAGS -o libfoo2.la foo2.lo -rpath $instdir/lib],
 	 [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT -dlpreopen foo1.la -dlpreopen libfoo2.la $LIBLTDL],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT -dlpreopen foo1.la -dlpreopen libfoo2.la $LIBLTDL],
           [], [ignore], [ignore])
 
 LT_AT_NOINST_EXEC_CHECK([./main], [-dlopen foo1.la -dlopen libfoo2.la],
@@ -178,7 +178,7 @@ $LIBTOOL --mode=install cp libfoo2.la $instdir/lib/libfoo2.la
 
 # Install the binary
 mkdir $instdir/bin
-$LIBTOOL --mode=install cp main $instdir/bin/main
+$LIBTOOL --mode=install cp main$EXEEXT $instdir/bin/main$EXEEXT
 
 LT_AT_EXEC_CHECK([$instdir/bin/main], [], [expout], [])
 
diff --git a/tests/runpath-in-lalib.at b/tests/runpath-in-lalib.at
index 3f22b01..4a11e83 100644
--- a/tests/runpath-in-lalib.at
+++ b/tests/runpath-in-lalib.at
@@ -52,7 +52,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo -rpath $libd
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o libb.la b.lo -rpath $libdir liba.la],
 	 [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m m.$OBJEXT libb.la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT m.$OBJEXT libb.la],
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir/liba.la], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=install cp libb.la $libdir/libb.la], [], [ignore], [ignore])
diff --git a/tests/search-path.at b/tests/search-path.at
index 929d2dd..e765724 100644
--- a/tests/search-path.at
+++ b/tests/search-path.at
@@ -43,9 +43,9 @@ eval `$LIBTOOL --config | $EGREP '^(sys_lib_search_path_spec)='`
 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
 no_libz=:
 for path in $sys_lib_search_path; do
-  if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT -L$path -lz
+  if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT -L$path -lz
   then
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT -lz],
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT -lz],
              [], [ignore], [ignore])
     no_libz=false
     break
diff --git a/tests/shlibpath.at b/tests/shlibpath.at
index 8656bad..658bfd8 100644
--- a/tests/shlibpath.at
+++ b/tests/shlibpath.at
@@ -1,6 +1,6 @@
 # shlibpath.at -- Test shlibpath settings                     -*- Autotest -*-
 #
-#   Copyright (C) 2006 Free Software Foundation, Inc.
+#   Copyright (C) 2006, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2006
 #
 #   This file is part of GNU Libtool.
@@ -35,9 +35,9 @@ $LIBTOOL --mode=clean rm -f liba.la
 rm -f sub/lib/liba.la
 
 $CC $CPPFLAGS $CFLAGS -c m.c
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m m.$OBJEXT -Lsub/lib -la -R`pwd`/sub/lib],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT m.$OBJEXT -Lsub/lib -la -R`pwd`/sub/lib],
          [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m2 m.$OBJEXT -Lsub/lib -la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m2$EXEEXT m.$OBJEXT -Lsub/lib -la],
          [], [ignore], [ignore])
 
 LT_AT_MVDIR([sub], [moved])
diff --git a/tests/static.at b/tests/static.at
index 6c91b1f..575c227 100644
--- a/tests/static.at
+++ b/tests/static.at
@@ -177,7 +177,7 @@ func_test_exec ()
       LT_AT_EXEC_CHECK([./m$st])
       # For some per-deplib flag combinations there may be no installed program,
       # because liba2 is not yet installed.
-      if test -f "$bindir/m$st"; then
+      if test -f "$bindir/m${st}$EXEEXT"; then
 	LT_AT_EXEC_CHECK([$bindir/m$st])
       fi
     done
@@ -197,7 +197,7 @@ func_test_exec_fail ()
       LT_AT_EXEC_CHECK([./m$st], [1], [], [ignore], [|| (exit 1)])
       # For some per-deplib flag combinations there may be no installed program,
       # because liba2 is not yet installed.
-      if test -f "$bindir/m$st"; then
+      if test -f "$bindir/m${st}$EXEEXT"; then
 	LT_AT_EXEC_CHECK([$bindir/m$st], [1], [], [ignore], [|| (exit 1)])
       fi
     done
@@ -259,7 +259,7 @@ for withdep in no yes; do
 
   # global static flags.
   for st in -static -static-libtool-libs $can_link_all_static; do
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o m$st m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o m${st}$EXEEXT m.$OBJEXT \
 	-L$libdir1 -la1 a2/liba2.la -L$libdir3 -R$libdir3 -la3],
        [0], [ignore], [ignore])
   done
@@ -267,39 +267,39 @@ for withdep in no yes; do
   # per-deplib static/shared flags.
   # also try a bit redundant flags, and shuffled order (for run paths check).
   if $per_deplib; then
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m1 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m1$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -Bstatic -la1 -Bdynamic a2/liba2.la -L$libdir3 -R$libdir3 -la3],
 	     [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m2 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m2$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -la1 -Bstatic a2/liba2.la -Bdynamic -L$libdir3 -R$libdir3 -la3],
 	     [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m3 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m3$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -la1 a2/liba2.la -L$libdir3 -Bstatic -la3 -Bdynamic],
 	     [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m12 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m12$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -Bstatic -la1 a2/liba2.la -Bdynamic -L$libdir3 -R$libdir3 -la3],
 	      [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m13 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m13$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -Bstatic -la1 -Bdynamic a2/liba2.la \
 	      -L$libdir3 -Bstatic -la3 -Bdynamic],
 	      [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m31 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m31$EXEEXT m.$OBJEXT \
 	      -L$libdir3 -Bstatic -la3 -Bdynamic a2/liba2.la \
 	      -L$libdir1 -Bstatic -la1 -Bdynamic],
 	      [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m23 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m23$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -la1 -Bstatic a2/liba2.la -Bdynamic \
 	      -L$libdir3 -Bstatic -la3 -Bdynamic],
 	      [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m123 m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m123$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -Bstatic -la1 a2/liba2.la -L$libdir3 -la3 -Bdynamic],
 	      [0], [ignore], [ignore])
-    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m123a m.$OBJEXT \
+    AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m123a$EXEEXT m.$OBJEXT \
 	      -L$libdir1 -Bstatic -la1 -Bdynamic -Bstatic a2/liba2.la -Bdynamic \
 	      -Bstatic -L$libdir3 -la3 -Bdynamic],
 	      [0], [ignore], [ignore])
     dnl # This usually fails.  So don't do it.
-    dnl AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m123b m.$OBJEXT \
+    dnl AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m123b$EXEEXT m.$OBJEXT \
     dnl 	 -L$libdir1 -Bstatic -la1 a2/liba2.la -L$libdir3 -la3],
     dnl 	 [0], [ignore], [ignore])
   fi
@@ -308,12 +308,12 @@ for withdep in no yes; do
   # We can't install any program that links dynamically against liba2.
   for st in -static -static-libtool-libs $can_link_all_static `$per_deplib && echo 2 12 23 123 123a`; do 
     echo "# m$st"
-    AT_CHECK([$LIBTOOL --mode=install cp m$st $bindir/m$st], [0], [ignore], [stderr])
+    AT_CHECK([$LIBTOOL --mode=install cp m${st}$EXEEXT $bindir/m${st}$EXEEXT], [0], [ignore], [stderr])
     if $have_static; then
       AT_CHECK([$EGREP 'relinking|has not been installed' stderr], [1], [], [])
     fi
   done
-  dnl AT_CHECK([$LIBTOOL --mode=install cp m123b $bindir/m123b], [0], [ignore], [ignore])
+  dnl AT_CHECK([$LIBTOOL --mode=install cp m123b$EXEEXT $bindir/m123b$EXEEXT], [0], [ignore], [ignore])
 
 
   ### Run each program once so that relinking has happened.
@@ -371,7 +371,7 @@ AT_DATA([a.c],
 ]])
 
 AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c], [], [ignore])
-AT_CHECK([$LIBTOOL --mode=link --tag=CC ./ccache $CC $CFLAGS $LDFLAGS -all-static a.$OBJEXT -o a],
+AT_CHECK([$LIBTOOL --mode=link --tag=CC ./ccache $CC $CFLAGS $LDFLAGS -all-static a.$OBJEXT -o a$EXEEXT],
 	 [], [ignore], [ignore])
 
 AT_CLEANUP
diff --git a/tests/stresstest.at b/tests/stresstest.at
index 27e7ee9..ee5fd29 100644
--- a/tests/stresstest.at
+++ b/tests/stresstest.at
@@ -1,6 +1,6 @@
 # stresstest.at -- Libtool stress test                       -*- Autotest -*-
 #
-#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2005
 #
 #   This file is part of GNU Libtool.
@@ -257,12 +257,12 @@ do
           *) mst=-static ;;
 	  esac
 
-	  LT_AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o "$rel"main "$rel"main$mst.lo "$rel"sub2/liba.la],
+	  LT_AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o "$rel"main$EXEEXT "$rel"main$mst.lo "$rel"sub2/liba.la],
 	  	   [0],[ignore],[ignore])
 	  LT_AT_EXEC_CHECK([./main],[0])
 	  for l10 in '' '-export-symbols dlselfsyms'
 	  do
-	    LT_AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o "$rel"sub3/dlself "$rel"sub3/dlself$mst.lo "$rel"sub2/liba.la sub/b.lo -dlopen self $l10],
+	    LT_AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o "$rel"sub3/dlself$EXEEXT "$rel"sub3/dlself$mst.lo "$rel"sub2/liba.la sub/b.lo -dlopen self $l10],
 	    	     [0],[ignore],[ignore])
 	    LT_AT_EXEC_CHECK([./sub3/dlself],[0])
 	  done
diff --git a/tests/template.at b/tests/template.at
index cc730ff..1729778 100644
--- a/tests/template.at
+++ b/tests/template.at
@@ -86,7 +86,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -o li
 	 [0], [ignore], [ignore])
 AT_CHECK([$CXX -I. $CPPFLAGS $CXXFLAGS -c prog.cpp],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -o prog prog.$OBJEXT libalib.la],
+AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -o prog$EXEEXT prog.$OBJEXT libalib.la],
 	 [0], [ignore], [ignore])
 
 LT_AT_EXEC_CHECK([./prog], [0], [ignore], [ignore])
@@ -238,14 +238,14 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la
 	 [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main $main_o lib2/libb.la lib/liba.la],
+AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./sub/main], [ignore])
 # lib convenience
 if $noskip; then
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo],
 	   [0], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main $main_o lib2/libb.la lib/liba.la],
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
 	   [0], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./sub/main])
 fi
@@ -255,7 +255,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la
 	 [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main $main_o lib2/libb.la lib/liba.la],
+AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./sub/main])
 # both convenience, libb depending on liba
@@ -263,7 +263,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la
 	 [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la],
 	 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main $main_o lib2/libb.la],
+AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la],
 	 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./sub/main])
 # lib convenience
@@ -271,7 +271,7 @@ if $noskip; then
 
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /foo],
   	 [0], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main $main_o lib2/libb.la],
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la],
   	 [0], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./sub/main])
 fi
@@ -279,7 +279,7 @@ fi
 if $noskip; then
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /bar],
   	 [0], [ignore], [ignore])
-  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main $main_o lib2/libb.la],
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la],
   	 [0], [ignore], [ignore])
   LT_AT_EXEC_CHECK([./sub/main])
 fi
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 9511c06..96c172b 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -361,7 +361,7 @@ $(LIBTOOL): ]_ARG_DIR[/Makefile
 	cd ]_ARG_DIR[ && CONFIG_SHELL="$(SHELL)" $(SHELL) ./configure $(CONFIGURE_OPTIONS)
 
 ltdldemo$(EXEEXT): $(LIBTOOL) module.la ]_ARG_DIR[/libltdlc.la main.lo
-	$(LTLINK) -o ltdldemo main.lo -dlopen module.la ./]_ARG_DIR[/libltdlc.la
+	$(LTLINK) -o ltdldemo$(EXEEXT) main.lo -dlopen module.la ./]_ARG_DIR[/libltdlc.la
 
 main.lo: $(LIBTOOL) main.c
 	$(LTCOMPILE) -c main.c


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 16:56:53 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4Mwn-00042a-Qj
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 16:56:53 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4Mwm-00042A-3O
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:56:52 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Mwl-00041x-Ly
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:56:51 -0500
Received: from [199.232.76.173] (port=56416 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Mwl-00041u-G3
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:56:51 -0500
Received: from savannah.gnu.org ([199.232.41.3]:53574 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Mwl-0001Ax-D9
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:56:51 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Mwk-0007U0-Gd
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:56:50 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Mwk-0007TW-65
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:56:50 +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: df2960ac0b8bf43d11acec2144d2e5495019e5ce
X-Git-Newrev: 9abc9628e03d332868eaea96fb83fc5c5eef77ca
Message-Id: <E1L4Mwk-0007TW-65@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 21:56:50 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-52-g9abc962
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/pipermail/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, 23 Nov 2008 21:56: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  9abc9628e03d332868eaea96fb83fc5c5eef77ca (commit)
      from  df2960ac0b8bf43d11acec2144d2e5495019e5ce (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 9abc9628e03d332868eaea96fb83fc5c5eef77ca
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 22:54:35 2008 +0100

    Relax link-order2 test for systems with partial wrong order.
    
    * tests/link-order2.at (Link order of deplibs.): On w32 (and
    others, e.g., AIX), the wrongly linked executable picks up only
    one instance of the bad function instead of two; relax the test
    to accept this; we still require the right link order with the
    correctly linked executable.
    Reported by Roumen Petrov and others.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog            |   10 ++++++++++
 tests/link-order2.at |    6 +++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9a39c79..dc260dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Relax link-order2 test for systems with partial wrong order.
+	* tests/link-order2.at (Link order of deplibs.): On w32 (and
+	others, e.g., AIX), the wrongly linked executable picks up only
+	one instance of the bad function instead of two; relax the test
+	to accept this; we still require the right link order with the
+	correctly linked executable.
+	Reported by Roumen Petrov and others.
+
 2008-11-23  Roumen Petrov  <bugtrack@roumenpetrov.info>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/tests/link-order2.at b/tests/link-order2.at
index d5e891a..57ff4a0 100644
--- a/tests/link-order2.at
+++ b/tests/link-order2.at
@@ -83,7 +83,7 @@ extern int a (void);
 extern int b (void);
 int main (void)
 {
-  return a () + b ();
+  return !(a () + b () == 0);
 }
 EOF
 
@@ -126,7 +126,7 @@ for type_of_depdepl in libtool non-libtool; do
     AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o wrong$EXEEXT main.$OBJEXT -la0 libb.la],
 	     [], [ignore], [ignore])
     if test $shared_fails,$static != yes,; then
-      LT_AT_EXEC_CHECK([./wrong], [2])
+      LT_AT_EXEC_CHECK([./wrong], [1], [], [ignore], [|| (exit 1)])
     fi
 
     $LIBTOOL --mode=install cp liba1.la $libdir/liba1.la
@@ -136,7 +136,7 @@ for type_of_depdepl in libtool non-libtool; do
     $LIBTOOL --mode=clean rm -f liba1.la libb.la
     LT_AT_EXEC_CHECK([$bindir/main])
     if test $shared_fails,$static != yes,; then
-      LT_AT_EXEC_CHECK([$bindir/wrong], [2])
+      LT_AT_EXEC_CHECK([$bindir/wrong], [1], [], [ignore], [|| (exit 1)])
     fi
   done
 done


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Nov 23 16:59:16 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4Mz6-0004s8-2Z
	for mharc-libtool-commit@gnu.org; Sun, 23 Nov 2008 16:59:16 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4Mz4-0004rE-3m
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:59:14 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4Mz3-0004qN-2o
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:59:13 -0500
Received: from [199.232.76.173] (port=35793 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4Mz2-0004qG-VC
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:59:13 -0500
Received: from savannah.gnu.org ([199.232.41.3]:57208 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4Mz2-0001Vo-RK
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 16:59:12 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Myz-0007cK-Ky
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:59:09 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4Myz-0007br-1m
	for libtool-commit@gnu.org; Sun, 23 Nov 2008 21:59: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: 9abc9628e03d332868eaea96fb83fc5c5eef77ca
X-Git-Newrev: 535175c0c88cb34aba4dddcbd34272a6f92077b3
Message-Id: <E1L4Myz-0007br-1m@cvs.savannah.gnu.org>
Date: Sun, 23 Nov 2008 21:59:09 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-53-g535175c
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/pipermail/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, 23 Nov 2008 21:59: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  535175c0c88cb34aba4dddcbd34272a6f92077b3 (commit)
      from  9abc9628e03d332868eaea96fb83fc5c5eef77ca (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 535175c0c88cb34aba4dddcbd34272a6f92077b3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Nov 23 22:58:06 2008 +0100

    Fix expout and experr line ending issues.
    
    * tests/testsuite.at (LT_AT_HOST_DATA): Renamed from..
    (_LT_AT_TRANSLATE_TEXT_OUTPUT): ..this.
    (LT_AT_EXEC_CHECK, LT_AT_NOINST_EXEC_CHECK): Do not use
    _LT_AT_TRANSLATE_TEXT_OUTPUT any more.
    * tests/configure-iface.at: Use LT_AT_HOST_DATA instead of
    AT_DATA for `expout' files.
    * tests/lt_dladvise.at (lt_dlopenadvise library loading):
    Likewise.
    * tests/need_lib_prefix.at (enforced lib prefix): Likewise.
    Report by Roumen Petrov.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                |   12 ++++++++++++
 tests/configure-iface.at |    2 +-
 tests/lt_dladvise.at     |    2 +-
 tests/need_lib_prefix.at |    2 +-
 tests/testsuite.at       |   23 +++++++++--------------
 5 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc260dc..e15efcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix expout and experr line ending issues.
+	* tests/testsuite.at (LT_AT_HOST_DATA): Renamed from..
+	(_LT_AT_TRANSLATE_TEXT_OUTPUT): ..this.
+	(LT_AT_EXEC_CHECK, LT_AT_NOINST_EXEC_CHECK): Do not use
+	_LT_AT_TRANSLATE_TEXT_OUTPUT any more.
+	* tests/configure-iface.at: Use LT_AT_HOST_DATA instead of
+	AT_DATA for `expout' files.
+	* tests/lt_dladvise.at (lt_dlopenadvise library loading):
+	Likewise.
+	* tests/need_lib_prefix.at (enforced lib prefix): Likewise.
+	Report by Roumen Petrov.
+
 	Relax link-order2 test for systems with partial wrong order.
 	* tests/link-order2.at (Link order of deplibs.): On w32 (and
 	others, e.g., AIX), the wrongly linked executable picks up only
diff --git a/tests/configure-iface.at b/tests/configure-iface.at
index 38e7824..77e2ebc 100644
--- a/tests/configure-iface.at
+++ b/tests/configure-iface.at
@@ -89,7 +89,7 @@ int f (void) { return 5150; }
 #endif
 ]])
 
-AT_DATA([expout],
+LT_AT_HOST_DATA([expout],
 [[5150
 ]])
 ])# _LT_AT_LTDL_SETUP
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index 60385a6..3bf9bee 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -289,7 +289,7 @@ int k = 3;
 #endif
 ]])
 
-AT_DATA([expout],
+LT_AT_HOST_DATA([expout],
 [[resident: 2
 local: 3
 global: 4
diff --git a/tests/need_lib_prefix.at b/tests/need_lib_prefix.at
index 90f3a60..f6cfcfb 100644
--- a/tests/need_lib_prefix.at
+++ b/tests/need_lib_prefix.at
@@ -131,7 +131,7 @@ int i = 6;
 #endif
 ]])
 
-AT_DATA([expout],
+LT_AT_HOST_DATA([expout],
 [[libfoo1: 2
 libfoo2: 3
 ]])
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 96c172b..f116a1f 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -193,11 +193,12 @@ m4_define([LT_AT_CHECK],
 [echo "LT_ESCAPE([$1])"; AT_CHECK($@)])
 
 
-# _LT_AT_TRANSLATE_TEXT_OUTPUT(FILE)
-# ----------------------------------
+# LT_AT_HOST_DATA(FILE, CONTENTS)
+# -------------------------------
 # Ensure correct line ending for expected output of host executables.
-m4_define([_LT_AT_TRANSLATE_TEXT_OUTPUT],
-[case $host_os in mingw*)
+m4_define([LT_AT_HOST_DATA],
+[AT_DATA([$1], [$2])
+case $host_os in mingw*)
   while read -r l; do printf "%s\r\n" "$l"; done < $1 > $1.t
   mv -f $1.t $1 ;;
 esac])
@@ -207,15 +208,12 @@ esac])
 #		   [ARGS-OR-STATUS-ADJUST])
 # --------------------------------------------------------------
 # Run EXECUTABLE ARGS-OR-STATUS-ADJUST.  STATUS, STDOUT, and STDERR are
-# handled as in AT_CHECK, but expout and experr get line endings
-# translated.
+# handled as in AT_CHECK.
 # However, if we are cross-compiling, then SKIP instead of FAIL.
 # ARGS-OR-STATUS-ADJUST can also contain code like `|| (exit 1)'
 # to unify different possible exit status values.
 m4_define([LT_AT_EXEC_CHECK],
-[m4_if([$3], [expout], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$3])])
-m4_if([$4], [experr], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$4])])
-lt_exe=$1; if test -f "$1$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+[lt_exe=$1; if test -f "$1$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 AT_CHECK([if "$lt_exe" $5; then :; else lt_status=$?; ]dnl
 	 [  m4_ifval([$2], [test $lt_status != $2 && ])]dnl
 	 [  test "X$host" != "X$build" && test -x "$lt_exe" && exit 77; ]dnl
@@ -229,15 +227,12 @@ AT_CHECK([if "$lt_exe" $5; then :; else lt_status=$?; ]dnl
 # ---------------------------------------------------------
 # Run EXECUTABLE ARGS-OR-STATUS-ADJUST using `libtool --mode=execute'
 # with `-dlopen' arguments in NOINST_MODULES.  STATUS, STDOUT, and
-# STDERR are handled as in AT_CHECK, but expout and experr get line
-# endings translated.
+# STDERR are handled as in AT_CHECK.
 # However, if we are cross-compiling, then SKIP instead of FAIL.
 # ARGS-OR-STATUS-ADJUST can also contain code like `|| (exit 1)'
 # to unify different possible exit status values.
 m4_define([LT_AT_NOINST_EXEC_CHECK],
-[m4_if([$4], [expout], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$4])])
-m4_if([$5], [experr], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$5])])
-lt_exe=$1; if test -f "$1$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+[lt_exe=$1; if test -f "$1$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 AT_CHECK([if $LIBTOOL --mode=execute $2 "$lt_exe" $6; then :; else lt_status=$?; ]dnl
 	 [  m4_ifval([$2], [test $lt_status != $2 && ])]dnl
 	 [  test "X$host" != "X$build" && test -x "$lt_exe" && exit 77; ]dnl


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Nov 24 01:37:30 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4V4c-0001rJ-3L
	for mharc-libtool-commit@gnu.org; Mon, 24 Nov 2008 01:37:30 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4V4a-0001qE-8U
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 01:37:28 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4V4Y-0001oP-By
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 01:37:26 -0500
Received: from [199.232.76.173] (port=42471 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4V4Y-0001oH-4c
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 01:37:26 -0500
Received: from savannah.gnu.org ([199.232.41.3]:60658 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4V4X-0004Go-Q9
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 01:37:25 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4V4X-0000z8-B6
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 06:37:25 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4V4W-0000yd-5A
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 06:37:25 +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: 535175c0c88cb34aba4dddcbd34272a6f92077b3
X-Git-Newrev: 3c4d63b15c70cd91b0b53e727f200672dee68c90
Message-Id: <E1L4V4W-0000yd-5A@cvs.savannah.gnu.org>
Date: Mon, 24 Nov 2008 06:37:24 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-54-g3c4d63b
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/pipermail/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, 24 Nov 2008 06:37: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  3c4d63b15c70cd91b0b53e727f200672dee68c90 (commit)
      from  535175c0c88cb34aba4dddcbd34272a6f92077b3 (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 3c4d63b15c70cd91b0b53e727f200672dee68c90
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Nov 24 07:36:29 2008 +0100

    Another missing $EXEEXT in the new testsuite.
    
    * tests/runpath-in-lalib.at (Runpath in libtool library files):
    Add $EXEEXT overlooked in patch yesterday.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index e15efcb..949e7e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* tests/runpath-in-lalib.at (Runpath in libtool library files):
+	Add $EXEEXT overlooked in patch yesterday.
+
 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix expout and experr line ending issues.
diff --git a/tests/runpath-in-lalib.at b/tests/runpath-in-lalib.at
index 4a11e83..f7667f2 100644
--- a/tests/runpath-in-lalib.at
+++ b/tests/runpath-in-lalib.at
@@ -56,7 +56,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT m.$OBJEXT libb.l
 	 [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir/liba.la], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=install cp libb.la $libdir/libb.la], [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=install cp m $bindir/m], [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=install cp m$EXEEXT $bindir/m$EXEEXT], [], [ignore], [ignore])
 
 AT_CHECK([grep /foobar $libdir/liba.la], [], [ignore])
 AT_CHECK([grep /foobar $libdir/libb.la], [], [ignore])


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Nov 24 15:54:44 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L4iSC-000091-0N
	for mharc-libtool-commit@gnu.org; Mon, 24 Nov 2008 15:54:44 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L4iS9-00005q-6w
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 15:54:41 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L4iS7-0008Vl-TN
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 15:54:40 -0500
Received: from [199.232.76.173] (port=37655 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L4iS7-0008VW-Me
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 15:54:39 -0500
Received: from savannah.gnu.org ([199.232.41.3]:37293 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L4iS7-0007lx-1s
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 15:54:39 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4iS6-0003HP-Bc
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 20:54:38 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L4iS3-0003Gw-La
	for libtool-commit@gnu.org; Mon, 24 Nov 2008 20:54: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: 3c4d63b15c70cd91b0b53e727f200672dee68c90
X-Git-Newrev: aa68328616da1b7f9359aa0ae38b65a7e1b9e916
Message-Id: <E1L4iS3-0003Gw-La@cvs.savannah.gnu.org>
Date: Mon, 24 Nov 2008 20:54:36 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-55-gaa68328
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/pipermail/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, 24 Nov 2008 20:54: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  aa68328616da1b7f9359aa0ae38b65a7e1b9e916 (commit)
      from  3c4d63b15c70cd91b0b53e727f200672dee68c90 (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 aa68328616da1b7f9359aa0ae38b65a7e1b9e916
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Nov 24 21:49:23 2008 +0100

    Fix func_infer_tag $ECHO usage; some testsuite exposure.
    
    * libltdl/config/ltmain.m4sh (func_infer_tag): Use func_echo_all
    rather than $ECHO for possibly multiple arguments.
    * tests/infer-tag.at (inferred tag, CXX inferred tag)
    (F77 inferred tag, FC inferred tag, GCJ inferred tag): New file,
    new tests.
    * Makefile.am: Adjust.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |    8 ++++
 Makefile.am                |    1 +
 libltdl/config/ltmain.m4sh |   10 ++++-
 tests/infer-tag.at         |  101 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 118 insertions(+), 2 deletions(-)
 create mode 100644 tests/infer-tag.at

diff --git a/ChangeLog b/ChangeLog
index 949e7e5..6795546 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2008-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix func_infer_tag $ECHO usage; some testsuite exposure.
+	* libltdl/config/ltmain.m4sh (func_infer_tag): Use func_echo_all
+	rather than $ECHO for possibly multiple arguments.
+	* tests/infer-tag.at (inferred tag, CXX inferred tag)
+	(F77 inferred tag, FC inferred tag, GCJ inferred tag): New file,
+	new tests.
+	* Makefile.am: Adjust.
+
 	* tests/runpath-in-lalib.at (Runpath in libtool library files):
 	Add $EXEEXT overlooked in patch yesterday.
 
diff --git a/Makefile.am b/Makefile.am
index a09ed3d..98feed4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -466,6 +466,7 @@ TESTSUITE_AT	= tests/testsuite.at \
 		  tests/indirect_deps.at \
 		  tests/archive-in-archive.at \
 		  tests/execute-mode.at \
+		  tests/infer-tag.at \
 		  tests/localization.at \
 		  tests/install.at \
 		  tests/destdir.at \
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 0fe3fc9..2769149 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -578,10 +578,13 @@ func_infer_tag ()
         func_quote_for_eval "$arg"
 	CC_quoted="$CC_quoted $func_quote_for_eval_result"
       done
+      CC_expanded=`func_echo_all $CC`
+      CC_quoted_expanded=`func_echo_all $CC_quoted`
       case $@ in
       # Blanks in the command may have been stripped by the calling shell,
       # but not from the CC environment variable when configure was run.
-      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
+      " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+      " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
       # Blanks at the start of $base_compile will cause this to fail
       # if we don't check for them as well.
       *)
@@ -595,8 +598,11 @@ func_infer_tag ()
 	      func_quote_for_eval "$arg"
 	      CC_quoted="$CC_quoted $func_quote_for_eval_result"
 	    done
+	    CC_expanded=`func_echo_all $CC`
+	    CC_quoted_expanded=`func_echo_all $CC_quoted`
 	    case "$@ " in
-	      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
+	    " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+	    " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
 	      # The compiler in the base compile command matches
 	      # the one in the tagged configuration.
 	      # Assume this is the tagged configuration we want.
diff --git a/tests/infer-tag.at b/tests/infer-tag.at
new file mode 100644
index 0000000..ebc7581
--- /dev/null
+++ b/tests/infer-tag.at
@@ -0,0 +1,101 @@
+# infer-tag.at -- libtool without --tag             -*- Autotest -*-
+#
+#   Copyright (C) 2008 Free Software Foundation, Inc.
+#
+#   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.
+####
+
+# Check that func_infer_tag works.
+
+# We add one test per tag, so that only those tests are skipped
+# for which the tags are disabled (otherwise we only ever test
+# on systems where all tags are enabled).
+
+AT_SETUP([inferred tag])
+AT_KEYWORDS([libtool])
+
+AT_DATA([a.c],
+[[int a (void) { return 0; }
+]])
+
+AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([CXX inferred tag])
+LT_AT_TAG([CXX])
+AT_KEYWORDS([libtool])
+
+AT_DATA([a.cpp],
+[[int a (void) { return 0; }
+]])
+
+AT_CHECK([$LIBTOOL --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c a.cpp],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([F77 inferred tag])
+LT_AT_TAG([F77])
+AT_KEYWORDS([libtool])
+
+AT_DATA([a.f],
+[[      program main
+      end
+]])
+
+AT_CHECK([$LIBTOOL --mode=compile $F77 $FFLAGS -c a.f],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([FC inferred tag])
+LT_AT_TAG([FC])
+AT_KEYWORDS([libtool])
+
+AT_DATA([a.f],
+[[      program main
+      end
+]])
+
+AT_CHECK([$LIBTOOL --mode=compile $FC $FCFLAGS -c a.f],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP
+
+AT_SETUP([GCJ inferred tag])
+LT_AT_TAG([GCJ])
+AT_KEYWORDS([libtool])
+
+AT_DATA([A.java],
+[[public class A {
+  private int a;
+  public A () { a = 0; }
+};
+]])
+
+# There are just too many broken gcj installations out there, either missing
+# libgcj.spec or unable to find it.  Skip this test for them.
+AT_CHECK([$GCJ $GCJFLAGS -c A.java || exit 77], [], [ignore], [ignore])
+
+AT_CHECK([$LIBTOOL --mode=compile $GCJ $GCJCFLAGS -c A.java],
+	 [], [ignore], [ignore])
+
+AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Nov 28 10:10:38 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L64zO-0001c4-Oy
	for mharc-libtool-commit@gnu.org; Fri, 28 Nov 2008 10:10:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L64zN-0001bw-Ti
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:10:37 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L64zM-0001bk-CC
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:10:37 -0500
Received: from [199.232.76.173] (port=43096 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L64zM-0001bh-6E
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:10:36 -0500
Received: from savannah.gnu.org ([199.232.41.3]:34230 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L64zK-0002fg-VI
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:10:36 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L64zK-0007v2-AS
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 15:10:34 +0000
Received: from bonzini by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L64zA-0007uO-0R
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 15:10: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: aa68328616da1b7f9359aa0ae38b65a7e1b9e916
X-Git-Newrev: 9c9cde2c95f3f04f48288e1911038249d5ac424b
Message-Id: <E1L64zA-0007uO-0R@cvs.savannah.gnu.org>
Date: Fri, 28 Nov 2008 15:10:33 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-56-g9c9cde2
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/pipermail/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, 28 Nov 2008 15:10: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  9c9cde2c95f3f04f48288e1911038249d5ac424b (commit)
      from  aa68328616da1b7f9359aa0ae38b65a7e1b9e916 (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 9c9cde2c95f3f04f48288e1911038249d5ac424b
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Fri Nov 28 15:53:29 2008 +0100

    Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
    
    * HACKING: Document func_echo_all.
    * libltdl/m4/libtool.m4: Use it within backticks that appear in
    eval-ed variables.  Reported by Akim Demaille.

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

Summary of changes:
 ChangeLog             |    7 +++++
 HACKING               |    6 +++-
 bootstrap             |    6 ++--
 libltdl/m4/libtool.m4 |   73 +++++++++++++++++++++++++++----------------------
 4 files changed, 54 insertions(+), 38 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6795546..0667a29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
+
+	Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
+	* HACKING: Document func_echo_all.
+	* libltdl/m4/libtool.m4: Use it within backticks that appear in
+	eval-ed variables.  Reported by Akim Demaille.
+
 2008-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix func_infer_tag $ECHO usage; some testsuite exposure.
diff --git a/HACKING b/HACKING
index 71f2dad..08b6a61 100644
--- a/HACKING
+++ b/HACKING
@@ -294,11 +294,13 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
    printf %s\n
    func_fallback_echo
   it may not have more than one argument and its value may not be
-  eval'ed.  However, the argument may start with a `-'.  As a rule of
-  thumb, use
+  eval'ed.  However, the argument may start with a `-' and contain
+  backslashes.  As a rule of thumb, use
    echo ..		for literal (constant) strings without leading
 			hyphen and no backslashes within,
    $ECHO ".."		otherwise.
+   func_echo_all	when multiple arguments are present, or when
+			placed in an eval'ed variable.
 
 * The Autoconf manual says that giving an empty parameter is equivalent
   to not giving it at all.  (In particular, the Autoconf manual doesn't
diff --git a/bootstrap b/bootstrap
index f8b44c1..b539e7a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -31,10 +31,10 @@
 
 SHELL=${CONFIG_SHELL-/bin/sh}
 export SHELL
-: ${AUTORECONF=autoreconf}
-: ${AUTOCONF=autoconf}
+: ${AUTORECONF=~/devel/autoconf/+build/tests/autoreconf}
+: ${AUTOCONF=~/devel/autoconf/+build/tests/autoconf}
 : ${AUTOMAKE=automake}
-: ${AUTOM4TE=autom4te}
+: ${AUTOM4TE=~/devel/autoconf/+build/tests/autom4te}
 : ${MAKE=make}
 : ${GREP=grep}
 : ${EGREP=egrep}
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 04a02f5..3fa0688 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1026,7 +1026,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -1106,6 +1106,13 @@ _LTECHO_EOF'
   ECHO='func_fallback_echo'
 fi
 
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*" 
+}
+
 case "$ECHO" in
   printf*) AC_MSG_RESULT([printf]) ;;
   print*) AC_MSG_RESULT([print -r]) ;;
@@ -2098,7 +2105,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -4302,11 +4309,11 @@ _LT_EOF
 	tmp_sharedflag='-shared'
 	case $cc_basename,$host_cpu in
         pgcc*)				# Portland Group C compiler
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  tmp_addflag=' $pic_flag'
 	  ;;
 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 	  tmp_addflag=' -i_dynamic' ;;
@@ -4323,7 +4330,7 @@ _LT_EOF
 	esac
 	case `$CC -V 2>&1 | sed 5q` in
 	*Sun\ C*)			# Sun C 5.9
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  _LT_TAGVAR(compiler_needs_object, $1)=yes
 	  tmp_sharedflag='-G' ;;
 	*Sun\ F*)			# Sun Fortran 8.3
@@ -4560,7 +4567,7 @@ _LT_EOF
         # empty executable.
         _LT_SYS_MODULE_PATH_AIX
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
 	if test "$host_cpu" = ia64; then
 	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -4615,7 +4622,7 @@ _LT_EOF
       # Tell ltmain to make .dll files, not .so files.
       shrext_cmds=".dll"
       # FIXME: Setting linknames here is a bad hack.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
       # The linker will automatically build a .lib file if we build a DLL.
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
       # FIXME: Should let the user specify the lib program.
@@ -4757,19 +4764,19 @@ _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" && $ECHO "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_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'
 	# 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.
         save_LDFLAGS="$LDFLAGS"
         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
         AC_LINK_IFELSE(int foo(void) {},
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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 $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" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+	_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'
+	_LT_TAGVAR(archive_expsym_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 -exports_file $export_symbols -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4838,10 +4845,10 @@ _LT_EOF
     osf3*)
       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}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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} $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'
       else
 	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4851,11 +4858,11 @@ _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" && $ECHO "${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} $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 \*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
@@ -5513,7 +5520,7 @@ if test "$_lt_caught_CXX_error" != yes; then
           _LT_SYS_MODULE_PATH_AIX
           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
         else
           if test "$host_cpu" = ia64; then
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -5646,7 +5653,7 @@ if test "$_lt_caught_CXX_error" != yes; then
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
             ;;
           *)
             if test "$GXX" = yes; then
@@ -5711,7 +5718,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
+	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 	    ;;
           *)
 	    if test "$GXX" = yes; then
@@ -5754,7 +5761,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         case $cc_basename in
           CC*)
 	    # SGI C++
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
@@ -5765,9 +5772,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" && $ECHO "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	        _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'
 	      else
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring"` -o $lib'
+	        _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'
 	      fi
 	    fi
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -5796,7 +5803,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
+	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5860,7 +5867,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
             ;;
 	  cxx*)
 	    # Compaq C++
@@ -5879,7 +5886,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 	    ;;
 	  xl*)
 	    # IBM XL 8.0 on PPC, with GNU ld
@@ -5901,13 +5908,13 @@ if test "$_lt_caught_CXX_error" != yes; then
 	      _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	      _LT_TAGVAR(compiler_needs_object, $1)=yes
 
 	      # Not sure whether something based on
 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 	      # would be better.
-	      output_verbose_link_cmd='echo'
+	      output_verbose_link_cmd='func_echo_all'
 
 	      # Archives containing C++ object files must be created using
 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -5976,7 +5983,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 	    _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 	  fi
-	  output_verbose_link_cmd=echo
+	  output_verbose_link_cmd=func_echo_all
 	else
 	  _LT_TAGVAR(ld_shlibs, $1)=no
 	fi
@@ -6011,12 +6018,12 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    case $host in
 	      osf3*)
 	        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 		;;
 	      *)
 	        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 	          echo "-hidden">> $lib.exp~
 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
@@ -6035,17 +6042,17 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "$list"'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 	    ;;
 	  *)
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 	      _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 	      case $host in
 	        osf3*)
-	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${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}-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" && $ECHO "${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'
 		  ;;
 	      esac
 
@@ -6112,7 +6119,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    esac
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
 
-	    output_verbose_link_cmd='echo'
+	    output_verbose_link_cmd='func_echo_all'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Nov 28 10:38:23 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L65QE-0005Ny-UZ
	for mharc-libtool-commit@gnu.org; Fri, 28 Nov 2008 10:38:22 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L65QD-0005Ne-DJ
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:38:21 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L65QB-0005Md-UB
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:38:20 -0500
Received: from [199.232.76.173] (port=43504 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L65QB-0005ML-LG
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:38:19 -0500
Received: from savannah.gnu.org ([199.232.41.3]:56818 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L65QB-0006MY-AK
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 10:38:19 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L65QA-0000yE-Np
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 15:38:18 +0000
Received: from bonzini by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L65QA-0000xl-8z
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 15:38:18 +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: 9c9cde2c95f3f04f48288e1911038249d5ac424b
X-Git-Newrev: 5c90f4d15910e721fcd4decce9de95d7096ae9c6
Message-Id: <E1L65QA-0000xl-8z@cvs.savannah.gnu.org>
Date: Fri, 28 Nov 2008 15:38:18 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-57-g5c90f4d
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/pipermail/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, 28 Nov 2008 15:38: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  5c90f4d15910e721fcd4decce9de95d7096ae9c6 (commit)
      from  9c9cde2c95f3f04f48288e1911038249d5ac424b (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 5c90f4d15910e721fcd4decce9de95d7096ae9c6
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Fri Nov 28 16:36:47 2008 +0100

    Fix manual typo.
    
    * doc/libtool.texi (LT_INIT): Use correct config.status
    invocation.  Reported by Akim Demaille.

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

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

diff --git a/ChangeLog b/ChangeLog
index 0667a29..304e4d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
 
+	Fix manual typo.
+	* doc/libtool.texi (LT_INIT): Use correct config.status
+	invocation.  Reported by Akim Demaille.
+
+2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
+
 	Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
 	* HACKING: Document func_echo_all.
 	* libltdl/m4/libtool.m4: Use it within backticks that appear in
diff --git a/doc/libtool.texi b/doc/libtool.texi
index fe9547e..d304f28 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1986,7 +1986,7 @@ and, to @file{Makefile.in} or @file{Makefile.am}:
 @example
 LIBTOOL_DEPS = @@LIBTOOL_DEPS@@
 libtool: $(LIBTOOL_DEPS)
-        $(SHELL) ./config.status --recheck
+        $(SHELL) ./config.status libtool
 @end example
 
 If you are using @sc{gnu} Automake, you can omit the assignment, as Automake


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Nov 28 13:56:43 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1L68WB-0003pQ-GQ
	for mharc-libtool-commit@gnu.org; Fri, 28 Nov 2008 13:56:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1L68WA-0003nW-7W
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 13:56:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1L68W9-0003ls-BM
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 13:56:41 -0500
Received: from [199.232.76.173] (port=51296 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1L68W9-0003lb-4m
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 13:56:41 -0500
Received: from savannah.gnu.org ([199.232.41.3]:35928 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1L68W8-0008U8-Or
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 13:56:40 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L68W8-0005PH-8r
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 18:56:40 +0000
Received: from bonzini by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1L68W6-0005Ok-S5
	for libtool-commit@gnu.org; Fri, 28 Nov 2008 18:56:40 +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: 5c90f4d15910e721fcd4decce9de95d7096ae9c6
X-Git-Newrev: 430f9c6e6c461f13feff3dc74bfc69891c923bdf
Message-Id: <E1L68W6-0005Ok-S5@cvs.savannah.gnu.org>
Date: Fri, 28 Nov 2008 18:56:39 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-58-g430f9c6
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/pipermail/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, 28 Nov 2008 18:56: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  430f9c6e6c461f13feff3dc74bfc69891c923bdf (commit)
      from  5c90f4d15910e721fcd4decce9de95d7096ae9c6 (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 430f9c6e6c461f13feff3dc74bfc69891c923bdf
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Fri Nov 28 19:56:27 2008 +0100

    Fix inadvertent commit.
    
    * bootstrap: Revert.

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

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

diff --git a/ChangeLog b/ChangeLog
index 304e4d2..5b8d76f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
 
+	Fix inadvertent commit.
+	* bootstrap: Revert.
+
+2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
+
 	Fix manual typo.
 	* doc/libtool.texi (LT_INIT): Use correct config.status
 	invocation.  Reported by Akim Demaille.
diff --git a/bootstrap b/bootstrap
index b539e7a..f8b44c1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -31,10 +31,10 @@
 
 SHELL=${CONFIG_SHELL-/bin/sh}
 export SHELL
-: ${AUTORECONF=~/devel/autoconf/+build/tests/autoreconf}
-: ${AUTOCONF=~/devel/autoconf/+build/tests/autoconf}
+: ${AUTORECONF=autoreconf}
+: ${AUTOCONF=autoconf}
 : ${AUTOMAKE=automake}
-: ${AUTOM4TE=~/devel/autoconf/+build/tests/autom4te}
+: ${AUTOM4TE=autom4te}
 : ${MAKE=make}
 : ${GREP=grep}
 : ${EGREP=egrep}


hooks/post-receive
--
GNU Libtool



