From MAILER-DAEMON Wed Sep 01 01:54:16 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OqgH2-0001LT-68
	for mharc-libtool-commit@gnu.org; Wed, 01 Sep 2010 01:54:16 -0400
Received: from [140.186.70.92] (port=56214 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OqgGu-0001Id-Pm
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 01:54:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqgGr-0004wW-5j
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 01:54:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:33740
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqgGr-0004wL-0Q
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 01:54:05 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqgGq-00082M-EE
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 05:54:04 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqgGp-0005mx-Rd
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 05:54:04 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 26dacf3464210910602ce0f679f9770241d7a16e
X-Git-Newrev: de0b9d8f70fd0c4a82ad15b921bcee4a0250cafc
Message-Id: <E1OqgGp-0005mx-Rd@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 01 Sep 2010 05:54:03 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-148-gde0b9d8
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Sep 2010 05:54:13 -0000

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

The branch, master has been updated
       via  de0b9d8f70fd0c4a82ad15b921bcee4a0250cafc (commit)
       via  52c31559629c3d3101c49b92f510f276e7da6a73 (commit)
      from  26dacf3464210910602ce0f679f9770241d7a16e (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 de0b9d8f70fd0c4a82ad15b921bcee4a0250cafc
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 1 12:13:47 2010 +0700

    Remove announce-gen.m4sh and mailnotify.m4sh.
    
    * libltdl/config/announce-gen.m4sh: Removed.  This script has
    no apparent connection to libtool functionality, and mostly
    duplicates the better maintained gnulib announce-gen script.
    * libltdl/config/mailnotify.sh: Removed. This script was used
    by only clcommit.m4sh and announce-gen.m4sh, both of which are
    now removed too.
    * Makefile.maint (announce-gen, libltdl/config/mailnotify):
    Targets removed.
    * bootstrap: Remove the mailnotify regeneration warning.
    * HACKING (Release Procedure): Remove references to
    announce-gen.
    (Alpha release note template, Full release note template):
    Reinstated from before announce-gen was introduced.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 52c31559629c3d3101c49b92f510f276e7da6a73
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 1 10:11:40 2010 +0700

    Remove clcommit.m4sh.
    
    * clcommit.m4sh: Removed. This script was written to help keep
    ChangeLog and commit messages in sync when committing to CVS,
    and is an anachronism now that Libtool uses git.
    * Makefile.maint (commit): Target removed.
    * bootstrap: Don't generate commit.
    * HACKING (Release Procedure): Adjusted.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

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

Summary of changes:
 ChangeLog                        |   25 ++
 HACKING                          |  187 +++++++++++++--
 Makefile.maint                   |   42 +----
 bootstrap                        |   15 --
 clcommit.m4sh                    |  375 ------------------------------
 libltdl/config/.cvsignore        |    1 -
 libltdl/config/.gitignore        |    1 -
 libltdl/config/announce-gen.m4sh |  464 --------------------------------------
 libltdl/config/mailnotify.m4sh   |  403 ---------------------------------
 9 files changed, 187 insertions(+), 1326 deletions(-)
 delete mode 100644 clcommit.m4sh
 delete mode 100644 libltdl/config/announce-gen.m4sh
 delete mode 100644 libltdl/config/mailnotify.m4sh

diff --git a/ChangeLog b/ChangeLog
index 585356c..9d4bca4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2010-09-01  Gary V. Vaughan  <gary@gnu.org>
+
+	Remove announce-gen.m4sh and mailnotify.m4sh.
+	* libltdl/config/announce-gen.m4sh: Removed.  This script has
+	no apparent connection to libtool functionality, and mostly
+	duplicates the better maintained gnulib announce-gen script.
+	* libltdl/config/mailnotify.sh: Removed. This script was used
+	by only clcommit.m4sh and announce-gen.m4sh, both of which are
+	now removed too.
+	* Makefile.maint (announce-gen, libltdl/config/mailnotify):
+	Targets removed.
+	* bootstrap: Remove the mailnotify regeneration warning.
+	* HACKING (Release Procedure): Remove references to
+	announce-gen.
+	(Alpha release note template, Full release note template):
+	Reinstated from before announce-gen was introduced.
+
+	Remove clcommit.m4sh.
+	* clcommit.m4sh: Removed. This script was written to help keep
+	ChangeLog and commit messages in sync when committing to CVS,
+	and is an anachronism now that Libtool uses git.
+	* Makefile.maint (commit): Target removed.
+	* bootstrap: Don't generate commit.
+	* HACKING (Release Procedure): Adjusted.
+
 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
 
 	archive-in-archive.at passes with Microsoft lib.
diff --git a/HACKING b/HACKING
index 19b4b66..b462c98 100644
--- a/HACKING
+++ b/HACKING
@@ -647,7 +647,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
   and `make distcheck CC=g++'
   If there are any problems, fix them and start again.
 
-* Run `./commit -p' from the source tree.
+* Run `git commit' from the source tree.
 
 * Run `make -fMakefile.maint git-dist' (or `make -f../Makefile.maint
   git-dist' if you are running from a VPATH build directory, where `../'
@@ -676,7 +676,9 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 * Update NEWS, ChangeLog.
 
-* Run `./commit -p --tags', to push the new changes and tags to origin.
+* Run `git commit'.
+
+* Run `git push --tags', to push the new changes and tags to origin.
 
 * Update the webpages, libtool.html will need to indicate the latest
   release number.
@@ -685,38 +687,171 @@ or obtained by writing to the Free Software Foundation, Inc.,
   doc/manual using cvs to here:
   <yourusername>@cvs.savannah.gnu.org:/webcvs/libtool
 
-* In the build directory, run `Make -f[../]Makefile.maint announce-gen'.
+* Write a release announcement, and post it to `libtool@gnu.org' and
+  `autotools-announce@gnu.org' with the Reply-To header set to
+  `bug-libtool@gnu.org'.  Stable releases should also be announced
+  on `info-gnu@gnu.org'.
+
+* Post a copy of your release announcement to savannah news:
+  https://savannah.gnu.org/news/submit.php?group=libtool
+  which will automatically propogate to http://planet.gnu.org.
 
-* Make sure the source directory has an appropriate .announcerc, along
-  the lines of:
 
-    --bootstrap-tools='autoconf,automake'
-    --gpg-key-id={the id of the key you signed the tarballs with}
-    --header 'From: {your name} <{your email address}>
-    --header 'To: Libtool List <libtool@gnu.org>'
-    --header 'Cc: Autotools Announce List <autotools-announce@gnu.org>'
-    --header 'Reply-To: Libtool Bugs <bug-libtool@gnu.org>'
-    --message 'GNU Libtool hides the complexity of using shared'
-    --message 'libraries behind a consistent, portable interface.'
-    --message 'GNU Libtool ships with GNU libltdl, which hides the'
-    --message 'complexity of loading dynamic runtime libraries'
-    --message '(modules) behind a consistent, portable interface.'
-    --signature
+13. Alpha release note template
+===============================
 
-* Check the release announcement with:
+To: libtool@gnu.org, autotools-announce@gnu.org
+Reply-To: bug-libtool@gnu.org
+Subject: GNU Libtool @VERSION@ released (alpha release).
 
-    ./announce-gen -r -o --prev=LASTRELEASE alpha
+The Libtool Team is pleased to announce alpha release @VERSION@ of GNU
+Libtool.
 
-  or for a stable release:
+GNU Libtool hides the complexity of using shared libraries behind a
+consistent, portable interface. GNU Libtool ships with GNU libltdl,
+which hides the complexity of loading dynamic runtime libraries
+(modules) behind a consistent, portable interface.
 
-    ./announce-gen -r -o -h 'Cc: info-gnu@gnu.org' --prev=LASTRELEASE stable
+Here are the compressed sources:
 
-  When you're happy with the announcement text, post it by rerunning the
-  command with `-p' instead of `-o'.
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@VERSION@.tar.gz
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@VERSION@.tar.bz2
 
-* Post a copy of the release announcement to savannah news:
-  https://savannah.gnu.org/news/submit.php?group=libtool
-  which will automatically propogate to http://planet.gnu.org.
+Here are the xdeltas and diffs against libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@:
+
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta
+
+Here are the gpg detached signatures:
+
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@VERSION@.tar.gz.sig
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@VERSION@.tar.bz2.sig
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz.sig
+  ftp://alpha.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta.sig
+
+You should download the signature named after any tarball you download,
+and then verify its integrity with, for example:
+
+  gpg --verify libtool-@VERSION@.tar.gz.sig
+
+Here are the MD5 and SHA1 checksums:
+
+  @MD5SUM@ libtool-@VERSION@.tar.gz
+  @MD5SUM@ libtool-@VERSION@.tar.bz2
+  @MD5SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz
+  @MD5SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta
+  @SHA1SUM@ libtool-@VERSION@.tar.gz
+  @SHA1SUM@ libtool-@VERSION@.tar.bz2
+  @SHA1SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz
+  @SHA1SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta
+
+This release has @SUMMARY_OF_IMPROVEMENTS_SINCE_LAST_RELEASE_ON_THIS_BRANCH@.
+
+This release was bootstrapped with @BOOTSTRAP_TOOLS_WITH_VERSIONS@,
+but is useable with @COMPATIBLE_AUTOTOOL_VERSIONS@ in your own
+projects.
+
+Alternatively, you can fetch the unbootstrapped source code with
+git by using the following command:
+
+  $ git clone git://git.savannah.gnu.org/libtool.git
+  $ cd libtool
+  $ git checkout @GIT_RELEASE_TAG@
+
+You will then need to have recent (possibly as yet unreleased) versions
+of Automake and Autoconf installed to bootstrap the checked out
+sources yourself.
+
+New in @VERSION@: @RELEASE_DATE@
+
+  @EXCERPT_FROM_NEWS_FILE@
+
+Please report bugs to <bug-libtool@gnu.org>, along with the verbose
+output of any failed test groups, and the output from `./libtool --config.'
+The README file explains how to capture the verbose test output.
+
+
+
+14. Full release note template
+==============================
+
+To: info-gnu@gnu.org
+Cc: libtool@gnu.org, autotools-announce@gnu.org
+Reply-To: bug-libtool@gnu.org
+Subject: GNU Libtool @VERSION@ released.
+
+The Libtool Team is pleased to announce the release of GNU Libtool
+@VERSION@.
+
+GNU Libtool hides the complexity of using shared libraries behind a
+consistent, portable interface. GNU Libtool ships with GNU libltdl,
+which hides the complexity of loading dynamic runtime libraries
+(modules) behind a consistent, portable interface.
+
+This release has @SUMMARY_OF_IMPROVEMENTS_SINCE_LAST_RELEASE_ON_THIS_BRANCH@.
+
+New in @VERSION@: @RELEASE_DATE@
+
+  @EXCERPT_FROM_NEWS_FILE@
+
+libtool-@VERSION@ is available now from ftp.gnu.org, along with
+diffs and xdeltas against libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@
+that are also available from ftp.gnu.org.  Please
+use a mirror to reduce stress on the main gnu machine:
+
+  http://www.gnu.org/order/ftp.html
+
+Here are the compressed sources:
+
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@VERSION@.tar.gz
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@VERSION@.tar.bz2
+
+Here are the xdeltas and diffs against libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@:
+
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta
+
+Here are the gpg detached signatures:
+
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@VERSION@.tar.gz.sig
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@VERSION@.tar.bz2.sig
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz.sig
+  ftp://ftp.gnu.org/gnu/libtool/libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta.sig
+
+You should download the signature named after any tarball you download,
+and then verify its integrity with, for example:
+
+  gpg --verify libtool-@VERSION@.tar.gz.sig
+
+Here are the MD5 and SHA1 checksums:
+
+  @MD5SUM@ libtool-@VERSION@.tar.gz
+  @MD5SUM@ libtool-@VERSION@.tar.bz2
+  @MD5SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz
+  @MD5SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta
+  @SHA1SUM@ libtool-@VERSION@.tar.gz
+  @SHA1SUM@ libtool-@VERSION@.tar.bz2
+  @SHA1SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.diff.gz
+  @SHA1SUM@ libtool-@PREV_RELEASE_VERSION_ON_THIS_BRANCH@-@VERSION@.xdelta
+
+This release was bootstrapped with @BOOTSTRAP_TOOLS_WITH_VERSIONS@,
+but is useable with @COMPATIBLE_AUTOTOOL_VERSIONS@ in your own
+projects.
+
+Alternatively, you can fetch the unbootstrapped source code with
+git by using the following command:
+
+  $ git clone git://git.savannah.gnu.org/libtool.git
+  $ cd libtool
+  $ git checkout @GIT_RELEASE_TAG@
+
+You will then need to have the latest release versions of Automake
+(@AUTOMAKE_VERSION@) and Autoconf (@AUTOCONF_VERSION@) installed to
+bootstrap the checked out sources yourself.
+
+Please report bugs to <bug-libtool@gnu.org>, along with the verbose
+output of any failed test groups, and the output from `./libtool --config.'
+The README file explains how to capture the verbose test output.
 
 -- 
   Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Free Software
diff --git a/Makefile.maint b/Makefile.maint
index 2e655ae..64abde6 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -36,44 +36,8 @@ Makefile:
 
 TEXI2HTML = texi2html
 
-$(srcdir)/commit: $(srcdir)/$(auxdir)/mailnotify clcommit.m4sh
-	$(timestamp); \
-	cd $(srcdir); \
-	rm -f commit commit.in commit.tmp; \
-	$(M4SH) -B $(auxdir) clcommit.m4sh > commit.in; \
-	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" commit.in > commit.tmp; \
-	chmod a+x commit.tmp; \
-	chmod a-w commit.tmp; \
-	mv -f commit.tmp commit; \
-	rm -f commit.in
-
-announce-gen: $(auxdir)/announce-gen.m4sh $(auxdir)/getopt.m4sh
-	$(timestamp); \
-	rm -f announce-gen announce-gen.in announce-gen.tmp; \
-	$(M4SH) -B $(top_srcdir)/$(auxdir) $(top_srcdir)/$(auxdir)/announce-gen.m4sh > announce-gen.in; \
-	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-		-e "s,@LASTRELEASE\@,$(LASTRELEASE),g" \
-		-e "s,@top_srcdir\@,$(top_srcdir),g" \
-		announce-gen.in > announce-gen.tmp; \
-	chmod a+x announce-gen.tmp; \
-	chmod a-w announce-gen.tmp; \
-	mv -f announce-gen.tmp announce-gen; \
-	rm -f announce-gen.in
-
-$(srcdir)/$(auxdir)/mailnotify: $(auxdir)/mailnotify.m4sh
-	$(timestamp); \
-	cd $(srcdir)/$(auxdir); \
-	rm -f mailnotify mailnotify.in mailnotify.tmp; \
-	$(M4SH) -B . mailnotify.m4sh > mailnotify.in; \
-	$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-		mailnotify.in > mailnotify.tmp; \
-	chmod a+x mailnotify.tmp; \
-	chmod a-w mailnotify.tmp; \
-	mv -f mailnotify.tmp mailnotify; \
-	rm -f mailnotify.in
-
 .PHONY: git-release
-git-release: version-check prev-tarball check-news fetch git-commit git-dist diffs web-manual
+git-release: version-check prev-tarball check-news fetch git-dist diffs web-manual
 	@tarname="$(PACKAGE)-$(VERSION).tar.gz"; \
 	lzmaname="$(PACKAGE)-$(VERSION).tar.lzma"; \
 	diffname="$(PACKAGE)-$(LASTRELEASE)-$(VERSION).diff.gz"; \
@@ -160,10 +124,6 @@ fetch:
 
 GPG = gpg # set it to `:' to avoid gpg operations
 
-.PHONY: git-commit
-git-commit: check-news
-	cd $(srcdir) && $(SHELL) ./commit
-
 .PHONY: git-dist
 git-dist: check-news check-commit
 ## Build the distribution:
diff --git a/bootstrap b/bootstrap
index 7ad0979..78b4d30 100755
--- a/bootstrap
+++ b/bootstrap
@@ -140,11 +140,6 @@ $MAKE ./$auxdir/ltmain.sh ./$m4dir/ltversion.m4 \
     AUTOTEST="$AUTOM4TE --language=autotest" SED="$SED" MAKEINFO="$MAKEINFO" \
     GREP="$GREP" FGREP="$FGREP" EGREP="$EGREP" LN_S="$LN_S"
 
-test -f clcommit.m4sh && $MAKE -f Makefile.maint ./commit \
-    srcdir=. top_srcdir=. PACKAGE="$PACKAGE" VERSION="$VERSION" \
-    M4SH="$AUTOM4TE -l m4sh" \
-    SED="$SED" GREP="$GREP" FGREP="$FGREP" EGREP="$EGREP" LN_S="$LN_S"
-
 rm -f Makefile
 
 # Make a dummy libtoolize script for autoreconf:
@@ -191,14 +186,4 @@ for macro in LT_INIT AC_PROG_LIBTOOL AM_PROG_LIBTOOL; do
   else :; fi
 done
 
-# Commit script caveat:
-cat <<EOF
-WARNING: You might want to regenerate \`commit' and \`$auxdir/mailnotify'
-WARNING: after you have run \`configure' to discover the real whereabouts
-WARNING: of \`sed', \`grep' etc. like this:
-WARNING:
-WARNING:      rm -f commit $auxdir/mailnotify
-WARNING:      make -f Makefile.maint ./commit ./$auxdir/mailnotify
-EOF
-
 exit 0
diff --git a/clcommit.m4sh b/clcommit.m4sh
deleted file mode 100644
index c189cf3..0000000
--- a/clcommit.m4sh
+++ /dev/null
@@ -1,375 +0,0 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
-# clcommit (GNU @PACKAGE@) version 2.1
-# Written by Gary V. Vaughan <gary@gnu.org>
-# and Alexandre Oliva <aoliva@redhat.com>
-
-# Copyright (C) 1999, 2000, 2004, 2006, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-# This is free software; see the source for copying conditions.  There is NO
-# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# Clcommit 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.
-#
-# Clcommit 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 clcommit; 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.
-
-# Usage: $progname [OPTION]... [--] [filepattern ...]
-
-# -a AUTHOR --author=AUTHOR    override changeset author name with AUTHOR
-# -C FILE   --changelog=FILE   extract commit message from specified FILE
-#           --debug            enable verbose shell tracing
-# -n        --dry-run          don't commit anything
-#           --fast             same as --force --first
-# -F FILE   --file=FILE        read commit message from FILE
-# -1        --first            extract first entry from ChangeLog, no git diff
-# -f        --force            don't check (unless *followed* by -n), and just
-#                              display commit message instead of running $PAGER
-#           --from=ADDRESS     override default from ADDRESS in commit email
-# -m STRING --message=STRING   set commit message to STRING
-#           --msg=STRING          same as -m
-# -p        --push             push the changes back to origin
-# -r [FILE] --rcfile[=FILE]    read default option from FILE [./.clcommitrc]
-# -s ADDR   --sendmail=ADDR    send commit email of the differences to ADDRESS
-#           --signature[=FILE] add FILE to the end of the email [~/.signature]
-#           --signoff          add a Signed-off-by attribution at the end
-# -S TEXT   --summary=TEXT     specify a TEXT subject line for the commit email
-#           --tags             in conjunction with -p, also push tags
-# -v        --verbose          run in verbose mode
-#           --version          print version information
-# -h,-?     --help             print short or long help message
-
-# This script eases checking in changes to git-maintained projects
-# with ChangeLog files.  It will check that there have been no
-# conflicting commits in the git repository and print which files it
-# is going to commit to stderr.  A list of files to compare and to
-# check in can be given in the command line.  If it is not given, all
-# files in the current working directory are considered for check in.
-
-# The commit message will be extracted from the differences between a
-# file named ChangeLog* in the commit list, or named after -C, and the
-# one in the repository (unless a message was specified with `-m' or
-# `-F').  An empty message is not accepted (but a blank line is).  If
-# the message is acceptable, it will be presented for verification
-# (and possible edition) using the $PAGER environment variable (or
-# `more', if it is not set, or `cat', if the `-f' switch is given).
-# If $PAGER exits successfully, the modified files (at that moment)
-# are checked in, unless `-n' was specified, in which case nothing is
-# checked in.
-
-# Report bugs to <gary@gnu.org>
-
-: ${GIT="git"}
-: ${MAILNOTIFY="mailnotify"}
-: ${MKSTAMP="mkstamp"}
-
-test -f "libltdl/config/$MAILNOTIFY" && MAILNOTIFY="libltdl/config/$MAILNOTIFY"
-test -f "libltdl/config/$MKSTAMP" && MKSTAMP="libltdl/config/$MKSTAMP"
-
-PROGRAM=clcommit
-
-m4_divert_pop
-m4_include([getopt.m4sh])
-
-M4SH_VERBATIM([[
-# Locations for important files:
-log_dir="`func_mktempdir`"
-log_file="$log_dir/log"
-push_conflicts="$log_dir/git_push.log"
-
-trap '$RM -r "$log_dir"; exit $EXIT_FAILURE' 1 2 15
-
-# try to find out whether read supports -r
-if echo bt | tr b '\\' | { read -r line; test "X$line" = 'X\t'; } 2>/dev/null
-then
-  read_r='read -r'
-else
-  read_r=read
-fi
-]])
-
-dnl SHORT	LONG			       DEFAULT		      INIT
-dnl ----------------------------------------------------------------------
-M4SH_GETOPTS(
-  [1],		[--first],			[],			[],
-  [a^!],	[--author],			[],			[
-	git_flags="${git_flags+$git_flags }--author=$opt_author"],
-  [C@],		[--changelog|--Change[Ll]og],	[],			[],
-  [F!],		[--file],			[],			[
-	cat "[$]1" > "$log_file" || break],
-  [f],		[--force],			[],			[
-	PAGER=cat],
-  [m!],		[--message|--msg],		[],			[
-	echo "[$]1" > "$log_file"],
-  [n],		[--dry-run|--dryrun],		[],			[
-	mailnotify_flags="${mailnotify_flags+$mailnotify_flags }--dry-run"],
-  [p],		[--push],			[],			[],
-  [r@?],	[--rcfile],			[./.clcommitrc],	[
-	# The funny quoting allows keeping one option per line in $opt_rcfile:
-	eval set dummy `echo \`cat $opt_rcfile\` '${1+"[$]@"}'`
-	shift],
-  [S!],		[--summary],			[],			[],
-  [s^!],	[--sendmail],			[],			[],
-  [v],		[--verbose],			[],			[
-	mailnotify_flags="${mailnotify_flags+$mailnotify_flags }--verbose"],
-  [],		[--fast],			[],			[
-	set dummy --force --first ${1+"[$]@"}; shift],
-  [^!],		[--from],			[],			[
-	mailnotify_flags="${mailnotify_flags+$mailnotify_flags }--from=$opt_from"],
-  [@?],		[--signature],			[],			[
-	test -n "$opt_signature" || opt_signature="$HOME/.signature"],
-  [],		[--signoff],			[],			[
-	git_flags="${git_flags+$git_flags }$opt"],
-  [],		[--tags],			[],			[],
- [
-  # pass debug flag along to mailnotify
-  test "$opt_debug" != ":" &&
-      mailnotify_flags="${mailnotify_flags+$mailnotify_flags }--debug"
-
-  # validate $opt_first, $opt_file and $opt_message
-  if $opt_first; then
-      test -n "$opt_file$opt_message" &&
-          func_error "you can have at most one of -m, -F and -1"
-  else
-      test -n "$opt_file" && test -n "$opt_message" &&
-          func_error "you can have at most one of -m, -F and -1"
-  fi
-
-  # validate $opt_from and $opt_signature
-  test -n "$opt_sendmail" || {
-    # can't have a from address without a destination address
-    test -n "$opt_from" &&
-      func_error "can't use --from without --sendmail." && exit_cmd=exit
-
-    # can't use a signature file without a destination address
-    test -n "$opt_signature" &&
-      func_error "can't use --signature without --sendmail." && exit_cmd=exit
-  }
-
-  # validate $opt_tags
-  $opt_push || {
-      $opt_tags &&
-          func_error "can't use --tags without --push." && exit_cmd=exit
-  }
-])
-
-M4SH_VERBATIM([[
-# Bail out on command errors!
-set -e
-
-# func_check_conflicts
-func_check_conflicts ()
-{
-    $opt_debug
-
-    func_verbose "checking for commit conflicts..."
-    if $GIT push --dry-run > "$push_conflicts" 2>&1; then :; else
-      cat "$push_conflicts" >&2
-      func_fatal_error "some conflicts were found with upstream repository, aborting..."
-    fi
-}
-
-
-# func_check_commit_msg
-func_check_commit_msg ()
-{
-    $opt_debug
-
-    if test -z "$opt_changelog"; then
-      for f in ${1+"$@"}; do
-        case "$f" in
-          ChangeLog* | */ChangeLog*)
-            if test -z "$opt_changelog"; then
-	      opt_changelog="$f"
-	    else
-	      func_fatal_error "multiple ChangeLog files: $opt_changelog and $f"
-	    fi
-	  ;;
-        esac
-      done
-    fi
-
-    func_verbose "checking commit message..."
-    separate_summary=:		# whether to separate summary lines for git
-    if $opt_first; then
-      skipping=:
-      $SED 's,^,+,' < ${opt_changelog-ChangeLog} |
-        while $read_r line; do
-          case "$line" in
-            "+") if $skipping; then skipping=false; else break; fi;;
-            "+ "*)
-	      func_error "*** Warning: lines should start with tabs, not spaces; ignoring line:"
-	      echo "$line" | $SED 's/^.//' >&2;;
-            "+	*"*)			# asterisk marks end of summary line
-              $skipping || echo "$line"
-	      separate_summary=false ;;
-            "+	"*".") 			# summary line must end with a period
-	      $skipping || {
-		echo "$line"
-		$separate_summary && echo "+	"
-		separate_summary=false
-	      };;
-	    "+	"*)			# no separator for multiline summary
-	      echo "$line"
-	      separate_summary=false ;;
-          esac
-        done |
-          $SED 's,^\+	,,' > "$log_file" || exit $EXIT_FAILURE
-    else
-      $GIT diff ${opt_changelog-ChangeLog} |
-        while $read_r line; do
-          case $line in
-            "--- "*) :;;
-            "-"*)
-	      func_error "*** Warning: the following line in ChangeLog diff is suspicious:"
-	      echo "$line" | $SED 's/^.//' >&2;;
-            "+ "*)
-	      func_error "*** Warning: lines should start with tabs, not spaces; ignoring line:"
-	      echo "$line" | $SED 's/^.//' >&2;;
-            "+") echo ;;
-            "+	*"*)			# asterisk marks end of summary line
-	      echo "$line"
-              separate_summary=false ;;
-            "+	"*".") 			# summary line must end with a period
-	      echo "$line"
-	      $separate_summary && echo "+	"
-	      separate_summary=false ;;
-	    "+	"*)			# no separator for multiline summary
-	      echo "$line"
-	      separate_summary=false ;;
-          esac
-        done |
-          $SED -e 's,\+	,,' -e '/./p' -e '/./d' -e '1d' -e '$d' > "$log_file" \
-      || exit $EXIT_FAILURE
-    fi
-    # The sed script above removes "+TAB" from the beginning of a line, then
-    # deletes the first and/or the last line, when they happen to be empty
-}
-
-
-# func_commit
-func_commit ()
-{
-    $opt_debug
-
-    ${PAGER-more} "$log_file" || exit $EXIT_FAILURE
-
-    sleep 1 # give the user some time for a ^C
-
-    subject=`git status 2>/dev/null | $SED -n 's/^#.*[mad][ode][dl].*ed: *//p'`
-    test $# -gt 0 && subject="$@"
-
-    test $# -gt 0 || { set dummy -a; shift; }
-    func_show_eval "$GIT commit $git_flags -F $log_file ${1+$@}" "exit $EXIT_FAILURE"
-
-    $opt_push && {
-      func_show_eval "$GIT push"
-      $opt_tags && func_show_eval "$GIT push --tags"
-    }
-
-    :
-}
-
-
-# func_mailnotify
-func_mailnotify ()
-{
-    $opt_debug
-
-    notify_file="${log_dir}/notify"
-    func_verbose "Mailing commit notification to \"$opt_sendmail\""
-
-    {
-      echo Subject: $subject
-      test -f .git/config &&
-          echo "Root:		`$SED -n 's,^	url = .*:\(.*\)$,\1,p' .git/config`"
-      test -f $MKSTAMP &&
-          echo "Timestamp:	`$SHELL $MKSTAMP .`"
-      echo "Branch:		`$GIT branch | sed -n 's/\* //p'`"
-      test -f .git/config &&
-          echo "Changes by:	`$SED -n 's,^	url = \([^:]*\):.*$,\1,p' .git/config`"
-      echo ""
-      echo "Log Message:"
-      $SED -e 's,^,	,' "$log_file"
-      test -f "$opt_signature" && {
-        echo '-- '
-	cat "$opt_signature"
-      }
-    } > "$notify_file"
-
-    ${PAGER-more} "$notify_file" || break
-
-    # Break out the subject line again
-    my_mail_subject=`$SED -e '
-        1{
-	    s/^Subject: *//
-	    q
-	}' "$notify_file"`
-    my_mail_body=`$SED -e '2,$p;d' "$notify_file"`
-    echo "$my_mail_body" > "$notify_file"
-
-    func_quote_for_eval "$my_mail_subject"
-    func_show_eval "$MAILNOTIFY $mailnotify_flags \
-        -s $func_quote_for_eval_result -m 'text/plain' -f '$notify_file' \
-	-- $opt_sendmail"
-}
-
-
-
-## ----- ##
-## main. ##
-## ----- ##
-
-{
-  test -f "$log_file" || func_check_commit_msg
-
-  grep '[^ 	]' < "$log_file" > /dev/null ||
-    func_fatal_error "empty commit message, aborting"
-
-  # We expect line 2 to be blank, since it separates the git summary line from
-  # the commit message body, but any others are probably an error:
-  if sed 2d "$log_file" | grep '^$' > /dev/null; then
-    func_error "*** Warning: blank lines should not appear within commit messages."
-    func_error "*** They should be used to separate distinct commits."
-  fi
-
-  # $opt_force says to force the changes through without checking for conflicts
-  $opt_push && {
-      $opt_force || func_check_conflicts
-  }
-
-  # Do not check for empty $log_file again, even though the user might have
-  # zeroed it out.  If s/he did, it was probably intentional.
-  func_commit ${1+"$@"}
-
-  # Send a copy of the log_file if opt_sendmail was set:
-  subject=`sed -n '1p' "$log_file"`
-  if test -n "$opt_sendmail"; then
-    if ! $opt_push; then
-      func_warning "Mail notification NOT sent for commit to local repository."
-    else
-      func_mailnotify
-    fi
-  fi
-
-  $RM -r "$log_dir"
-}
-
-exit $EXIT_SUCCESS
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation:2
-# End:
-]])
-
diff --git a/libltdl/config/.cvsignore b/libltdl/config/.cvsignore
index 27981a3..1529432 100644
--- a/libltdl/config/.cvsignore
+++ b/libltdl/config/.cvsignore
@@ -11,4 +11,3 @@ depcomp
 compile
 config.guess
 config.sub
-mailnotify
diff --git a/libltdl/config/.gitignore b/libltdl/config/.gitignore
index a3959de..9beea85 100644
--- a/libltdl/config/.gitignore
+++ b/libltdl/config/.gitignore
@@ -9,4 +9,3 @@ depcomp
 compile
 config.guess
 config.sub
-mailnotify
diff --git a/libltdl/config/announce-gen.m4sh b/libltdl/config/announce-gen.m4sh
deleted file mode 100644
index 777ce9b..0000000
--- a/libltdl/config/announce-gen.m4sh
+++ /dev/null
@@ -1,464 +0,0 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
-# announce-gen (GNU @PACKAGE@) version 1.0
-# Written by Gary V. Vaughan 
-# based on a perl script by Jim Meyering
-
-# Copyright (C) 2010 Free Software Foundation, Inc.
-# This is free software; see the source for copying conditions.  There is NO
-# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# gen-announce 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.
-#
-# gen-announce 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 clcommit; 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.
-
-# Usage: $progname {-o|-p} [OPTIONS]... [--] RELEASE-TYPE [TO-ADDRESS]...
-
-# -b file   --blurb=FILE            read announcement blurb from FILE
-#           --bootstrap-tools=LIST  a comma-separated list of tools, e.g.
-#                                   autoconf,automake,bison,gnulib
-#           --current-version=VER   override current release version number
-#           --debug                 enable verbose shell tracing
-#           --gpg-key-id=ID         gnupg ID of signature key for release files
-# -h STRING --header=STRING         insert mail header into announcement
-# -m STRING --message=STRING        insert into message blurb for announcement
-# -c        --no-print-checksums    do not emit MD5 and SHA1 checksums
-# -o        --output                output to stdout
-#           --package-name=NAME     override default package name
-# -p        --post                  post the announcement directly
-#           --previous-version=VER  previous release version number
-# -r [FILE] --rcfile[=FILE]         read options from FILE [./.announcerc]
-#           --signature[=FILE]      append FILE to post [~/.signature]
-#           --url-directory=URL     download url directory for released files
-#                                   [ftp://ftp.gnu.org/gnu/<package-name>]
-# -v        --verbose               run in verbose mode
-#           --version               print version information
-# -?        --help                  print short or long help message
-
-# In output mode, selected by `-o', a release note is printed on stdout.
-
-# In post mode, the release note is displayed in $PAGER, (giving you the
-# chance to make changes, and add headers) before posting to any every
-# TO-ADDRESS given on the command line, as well as any addresses added
-# to `To:', `Cc:' and `Bcc:' headers during editing.
-
-# The `--rcfile' option points to a file with other option settings, one
-# on each line.  For example:
-#
-#    --bootstrap-tools='autoconf, automake'
-#    --gpg-key-id=2983D606
-#    --header 'From: "Gary V. Vaughan" <gary@gnu.org>'
-#    --header 'To: Libtool List <libtool@gnu.org>'
-#    --header 'Cc: Autotools Announce List <autotools-announce@gnu.org>'
-#    --header 'Reply-To: Libtool Bugs <bug-libtool@gnu.org>'
-#    --message 'GNU Libtool hides the complexity of using shared'
-#    --message 'libraries behind a consistent, portable interface.'
-#    --message 'GNU Libtool ships with GNU libltdl, which hides the'
-#    --message 'complexity of loading dynamic runtime libraries'
-#    --message '(modules) behind a consistent, portable interface.'
-#    --signature
-#
-# This is the .announcerc for GNU Libtool.  Announce-gen is pretty
-# smart about picking defaults for package-name and current-version
-# and often guesses previous-version correctly too.  So, typically a
-# release note can be posted with:
-#
-#    ./$progname -r -p -h 'Cc: info-gnu@gnu.org' --prev=<LASTRELEASE> stable
-#
-# When that's producing a good announcement, it can be posted by using
-# the same arguments again, but for `-p' instead of `-o'
-
-# Report bugs to <gary@gnu.org>
-
-: ${DU="du"}
-: ${MAILNOTIFY="mailnotify"}
-: ${MD5SUM="md5"}
-: ${SHA1SUM="shasum"}
-
-PROGRAM=announce-gen
-
-m4_divert_pop
-m4_include([getopt.m4sh])
-
-M4SH_VERBATIM([[
-top_srcdir=`cd "@top_srcdir@" && pwd`
-test -d "$top_srcdir" || top_srcdir='@top_srcdir@'
-
-# Initialisation:
-mailnotify_flags=
-package_name="@PACKAGE@"
-sendmail_to=
-valid_release_types='alpha,beta,release-candidate,stable'
-
-# try to find out whether read supports -r
-if echo bt | tr b '\\' | { read -r line; test "X$line" = 'X\t'; } 2>/dev/null
-then
-  read_r='read -r'
-else
-  read_r=read
-fi
-]])
-
-dnl SHORT	LONG			       DEFAULT		      INIT
-dnl ----------------------------------------------------------------------
-M4SH_GETOPTS(
-  [b@],	[--blurb],				[],			[],
-  [h;],	[--header],				[],			[],
-  [m;],	[--message|--msg],			[],			[],
-  [o],	[--output],				[],			[],
-  [p],	[--post],			   	[],			[],
-  [r@?],[--rcfile],				[$top_srcdir/.announcerc], [
-	# The funny quoting allows keeping one option per line in $opt_rcfile:
-	eval set dummy `echo \`cat $opt_rcfile\` '${1+"[$]@"}'`
-	shift],
-  [v],	[--verbose],				[],			[
-	mailnotify_flags="${mailnotify_flags+$mailnotify_flags }$opt"],
-  [!],	[--bootstrap-tools|--bootstrap|--boots], [],			[
-	for tool in `echo "$optarg"|$SED 's|,| |g'`; do
-	    ($tool --version) >/dev/null 2>&1 || {
-	        func_error "$opt \`$optarg' does not respond to --version option."
-	        cmd_exit=exit
-	    }
-	done],
-  [!],	[--current-version|--current|--curr],	[@VERSION@],		[],
-  [!],	[--gpg-key-id|--gpg],			[], 			[],
-  [],	[--no-print-checksums],			[],			[],
-  [!],	[--previous-version|--previous|--prev], [@LASTRELEASE@],	[],
-  [!],	[--release-type],			[],			[],
-  [@?],	[--signature],				[$HOME/.signature],	[],
-  [!],	[--url-directory],			[],			[],
- [
-  # validate $opt_gpg_key_id
-  test -n "$opt_gpg_key_id" || {
-      func_error "you must specify a key with --gpg-key-id."
-      exit_cmd=exit
-  }
-
-  # validate $opt_bootstrap_tools
-  test -n "$opt_bootstrap_tools" || {
-      func_error "you must specify some tools with --bootstrap-tools."
-      exit_cmd=exit
-  }
-
-  # validate $opt_blurb and $opt_message
-  test -n "$opt_blurb" && test -n "$opt_message" && {
-      func_error "you can specify only one of --blurb and --message."
-      exit_cmd=exit
-  }
-
-  # validate $opt_output and $opt_post
-  $opt_output && $opt_post && {
-      func_error "you can specify only one of --output and --post."
-      exit_cmd=exit
-  }
-  $opt_output || $opt_post || {
-      func_error "you must specify either --output or --post."
-      exit_cmd=exit
-  }
-
-  # validate $opt_release_type
-  test -n "$opt_release_type" || {
-      test [$]# -gt 0 || { func_error "no release type specified."; exit_cmd=exit; }
-      opt_release_type="[$]1"; shift
-  }
-  case ,$valid_release_types, in *,$opt_release_type,*) ;;
-      *) func_error "\`$opt_release_type': invalid release type."; exit_cmd=exit ;;
-  esac
-
-  # validate $url_directory
-  test -n "$url_directory" || {
-      case $opt_release_type in
-	  stable) url_directory="ftp://ftp.gnu.org/gnu/$package_name" ;;
-          *)      url_directory="ftp://alpha.gnu.org/gnu/$package_name" ;;
-      esac
-  }
-
-  # pass trace argument along to mailnotify too
-  test "$opt_debug" != ":" &&
-      mailnotify_flags="${mailnotify_flags+$mailnotify_flags }--debug"
-  
-  # validate remaining command line args as destination addresses
-  for address
-  do
-      func_quote_for_eval "$address"
-      sendmail_to="${sendmail_to+$sendmail_to }$func_quote_for_eval_result"
-  done
-])
-
-M4SH_VERBATIM([[
-# Bail out on command errors!
-set -e
-
-# func_print_changelog_deltas
-func_print_changelog_deltas ()
-{
-    $opt_debug
-
-    # FIXME: Jim's announce-gen does something with ChangeLogs
-    #        and cvs diff.  We don't use CVS, and perl makes
-    #        my eyes bleed... maybe I'll write this function
-    #        one day.
-    :
-}
-
-
-# func_print_checksums title filename...
-func_print_checksums ()
-{
-    $opt_debug
-
-    my_title="$1"; shift
-
-    test -n "$1" && {
-	echo
-	echo "Here are the $my_title:"
-	echo
-	for my_sum in $MD5SUM $SHA1SUM; do
-	    for my_filename in ${1+"$@"}; do
-		my_line=`$my_sum $my_filename`
-		my_hash=`expr "$my_line" : '.*\([0-9a-f]\{40\}\)' || :`
-		test -n "$my_hash" || my_hash=`expr "$my_line" : '.*\([0-9a-f]\{32\}\)'`"        "
-		echo "  $my_hash  $my_filename"
-	    done
-	done
-    }
-
-    # To stop bash exiting if test fails
-    :
-}
-
-
-# func_print_locations title url files
-func_print_locations ()
-{
-    $opt_debug
-
-    test -n "$3" && {
-	echo
-	echo "Here are the $1:"
-	echo
-	for my_file in $3; do
-	    my_size=`$DU -h $my_file|sed 's,[bB]*[ 	].*$,,'`
-	    echo "  $2/$my_file (${my_size}B)"
-	done
-    }
-
-    # To stop bash exiting if test fails
-    :
-}
-
-
-# func_print_news_deltas
-func_print_news_deltas ()
-{
-    $opt_debug
-
-    my_news_file="$top_srcdir/NEWS"
-    my_skipping=:
-
-    # reset the field separator to prevent whitespace removal by 'read'
-    save_IFS="$IFS"
-    IFS=
-
-    echo
-    cat $my_news_file |
-      while read line; do
-	case $line in
-	  "New in $opt_current_version "*:)
-	      my_skipping=false
-	      echo "$line"
-	      ;;
-	  "New in "*:)
-	      my_skipping=:
-	      ;;
-	  *)
-	      $my_skipping || echo "$line"
-	      ;;
-	esac
-      done
-
-    IFS="$save_IFS"
-}
-
-
-# func_tool_versions toolname...
-func_print_tool_versions ()
-{
-    $opt_debug
-
-    test -n "$1" && {
-	echo
-	echo "This release was bootstrapped with the following tools:"
-	echo
-	for my_tool in ${1+"$@"}; do
-	    my_tool_version=`$my_tool --version|sed 's,^.* ,,g;1q'`
-	    echo "  $my_tool-$my_tool_version"
-	done
-    }
-
-    # To stop bash exiting if test fails
-    :
-}
-
-
-
-## ----- ##
-## main. ##
-## ----- ##
-
-{
-  # Neutralize the locale, so that, for instance, "du" does not
-  # issue "1,2" instead of "1.2", which confuses our regexps.
-  LC_ALL=C
-  export LC_ALL
-
-  # Secure directory for temporary files
-  tmp_dir="`func_mktempdir`"
-  trap '$RM -r "$tmp_dir"; exit $EXIT_FAILURE' 1 2 15
-
-  # Save any header or post blurb for mailnotify
-  header_file="$tmp_dir/headers"
-  blurb_file="$tmp_dir/blurb"
-
-  test -n "$opt_header" && echo "$opt_header" > "$header_file"
-  test -n "$opt_message" && echo "$opt_message" > "$blurb_file"
-  test -n "$opt_blurb" && cat "$opt_blurb" > "$blurb_file"
-
-  archive_suffixes='tar.gz tar.bz2 tar.lzma tar.xz'
-  diff_suffixes='diff.gz diff.bz2 diff.lzma diff.xz xdelta'
-
-  # Ensure there is something to announce!
-  for suffix in $archive_suffixes; do
-      candidate="$package_name-$opt_current_version.$suffix"
-      candidates="${candidates+$candidates, }$candidate"
-      test -r "$candidate" || continue
-      tarballs="${tarballs+$tarballs }$candidate"
-  done
-  for suffix in $diff_suffixes; do
-      candidate="$package_name-$opt_previous_version-$opt_current_version.$suffix"
-      candidates="${candidates+$candidates, }$candidate"
-      test -r "$candidate" || continue
-      compressed_diffs="${compressed_diffs+$compressed_diffs }$candidate"
-  done
-  test -n "$tarballs$compressed_diffs" ||
-      func_fatal_error "none of $candidates were found."
-
-  # Signature files
-  signed_files="$tarballs $compressed_diffs"
-  for signed in $signed_files; do
-      sig_files="${sig_files+$sig_files }$signed.sig"
-  done
-
-  # Displaying or posting the announcement?
-  if $opt_post; then
-      notify_file="$tmp_dir/post"
-      exec 3>$notify_file
-  else
-      exec 3>&1
-  fi
-
-  {
-      echo "Subject: $package_name $opt_current_version released ($opt_release_type)"
-      test -f "$header_file" && cat "$header_file"
-      echo
-      test -f "$blurb_file" && cat "$blurb_file"
-      func_print_locations "compressed sources" "$url_directory" "$tarballs"
-      func_print_locations "diffs against $package_name $opt_previous_version" "$url_directory" "$compressed_diffs"
-      func_print_locations "GPG detached signatures[1]" "$url_directory" "$sig_files"
-
-      $opt_print_checksums && 
-          func_print_checksums "MD5 and SHA1 checksums[2]" $tarballs $compressed_diffs
-
-      case $url_directory in
-	  *"gnu.org"*)
-	      echo
-	      echo 'To reduce load on the main server, please one of the mirrors listed at:'
-	      echo
-	      echo '  http://www.gnu.org/order/ftp.html'
-	      ;;
-      esac
-
-      cat <<EOF
-
-[1] You can use the above signature files to verify that the
-    corresponding file (without the .sig suffix) is the same
-    file that was released by the owner of it's GPG key ID.
-    First be sure to download both the .sig file and the
-    corresponding file. Then run a cammand like this:
-
-      gpg --verify `echo "$tarballs" | sed -e 's, .*$,,g'`.sig
-
-    If that command fails because you don't have the required
-    public key, then run this command to import it:
-
-      gpg --keyserver keys.gnupg.net --recv-keys $opt_gpg_key_id
-
-    and rerun the \`gpg --verify' command.
-EOF
-
-      $opt_print_checksums && cat <<EOF
-
-[2] You can use either of the above checksum files to verify
-    that the corresponding file is complete and correct. To
-    confirm that the file you downloaded has a checksum that
-    matches the release note, compare it against the output
-    one of the following commands:
-
-      md5sum `echo "$tarballs" | sed -e 's, .*$,,g'`
-      shasum `echo "$tarballs" | sed -e 's, .*$,,g'`
-
-    (the name of the command sometimes varies between
-    different operating systems).
-EOF
-
-      func_print_tool_versions $tool_list
-      func_print_news_deltas
-      func_print_changelog_deltas
-
-      echo 'Enjoy!'
-  } >&3
-
-  $opt_post && {
-      test -f "$top_srcdir/libltdl/config/$MAILNOTIFY" &&
-          MAILNOTIFY="$top_srcdir/libltdl/config/$MAILNOTIFY"
-      test -f "$MAILNOTIFY" ||
-          func_fatal_error "$MAILNOTIFY: file not found."
-
-      ${PAGER-more} "$notify_file" || break
-
-      sleep 1 # give the user some time for a ^C
-
-      # Break out the headers
-      header_file="$tmp_dir/headers"
-      $SED -n '/[A-Z][a-zA-Z0-9-]*: /p;/^$/q' "$notify_file" > "$header_file"
-
-      my_mail_body="`$SED '1,/^$/d' $notify_file`"
-      echo "$my_mail_body" > "$notify_file"
-
-      func_verbose "mailing release announcement to \"$sendmail_to\""
-      func_show_eval "$MAILNOTIFY $mailnotify_flags \
-	  --headers='$header_file' \
-          -m 'text/plain' -f '$notify_file' -- $sendmail_to"
-  }
-}
-
-$RM -r "$tmp_dir"
-
-exit $EXIT_SUCCESS
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation:2
-# End:
-]])
diff --git a/libltdl/config/mailnotify.m4sh b/libltdl/config/mailnotify.m4sh
deleted file mode 100644
index bbf3e03..0000000
--- a/libltdl/config/mailnotify.m4sh
+++ /dev/null
@@ -1,403 +0,0 @@
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
-# mailnotify (GNU @PACKAGE@) version 1.0
-# Written by Gary V. Vaughan <gary@gnu.org>
-
-# Copyright (C) 2004, 2006, 2010 Free Software Foundation, Inc.
-# This is free software; see the source for copying conditions.  There is NO
-# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# Mailnotify 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.
-#
-# Mailnotify 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 mailnotify; 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.
-
-# Usage: $progname [OPTIONS]...
-#
-# -x        --debug             enable verbose shell tracing
-#           --dry-run           don't actually post the mime message
-# -f FILE   --filename=FILE     content of this part
-# -h FILE   --headers=FILE      read additional headers from FILE
-# -m TYPE   --mime-type=TYPE    mime-type of this part
-# -o FILE   --output-file=FILE  output to FILE instead of sending
-# -v        --verbose           run in verbose mode
-#           --version           print version information
-# -?        --help              print short or long help message
-
-# Assemble a (possibly multi-part) mime message and hand it to the local
-# sendmail for onward delivery.  MUAs tend to mangle patch attachments in
-# various ways: not setting the mime-type correctly, line wrapping the
-# patch itself, escaping certain values, etc.  This script is designed to
-# make it easier to send a patch as a MIME attachment, though it is general
-# enough that it might be useful otherwise.
-
-# For example to send a patch as an attachment, assuming the patch itself
-# is in PATCHFILE:
-#
-#    echo 'From: me@example.org' > headers
-#    echo 'To: patch-list@foo.org' >> headers
-#    echo 'Subject: FYI: PATCHFILE' >> headers
-#    echo 'Cc: someone@example.org' >> headers
-#    echo 'Applied this patch to HEAD' > body
-#    $progname -h headers -f body -m text/plain -f PATCHFILE -m text/x-patch
-#
-# There is no set order or requirement for mail headers in the headers
-# file, though you will obviously need someone's address in 'To:', and
-# it's not polite to omit the 'Subject:' header...
-
-# You will probably find using this script in conjunction with clcommit
-# saves you a lot of typing.
-
-# Report bugs to <gary@gnu.org>
-
-: ${HOST=`hostname`}
-: ${SENDMAIL=sendmail}
-
-PROGRAM=mailnotify
-
-m4_divert_pop
-m4_include([getopt.m4sh])
-
-M4SH_VERBATIM([[
-sed_mail_address='s,^.*<\(.*\)>.*$,\1,'
-]])
-
-dnl SHORT	LONG			       DEFAULT		      INIT
-dnl ----------------------------------------------------------------------
-dnl There are several options supported below for backwards compatibility,
-dnl but which are not mentioned in the help.
-M4SH_GETOPTS(
-  [C^!],	[--carbon-copy],		[],			[],
-  [F^!],	[--from],			[],			[],
-  [f@+],	[--filename],			[],			[],
-  [h@!],	[--headers],			[],			[],
-  [m+!],	[--mime-type],			[],			[
-	case [$]1 in
-	  text/*) ;;
-	  */*) func_error "\`[$]1': only text/* mime-types supported"
-	       ;;
-	  *)   func_error "invalid mime-type, \`[$]1'"
-	       exit_cmd=exit
-	       ;;
-	esac],
-  [n],		[],				[],			[],
-  [o!],		[--output-file],		[],			[],
-  [s^!],	[--subject],			[],			[],
-  [v],		[--verbose],			[],			[],
-  [],		[--dry-run|--dryrun],		[],			[],
- [
-  # ensure destination address(es) available
-  test [$]# -gt 0 ||
-    grep '^\(To\|Cc\|Bcc\): ' "${opt_headers-nosuchfile}" >/dev/null 2>&1 ||
-      func_fatal_help "no destination address"
-
-  # validate headers
-  test "$opt_headers" && {
-    test -n "$opt_carbon_copy" && grep "^Cc: *" "$opt_headers" >/dev/null 2>&1 && {
-      func_error "specify \`Cc:' in either \`$opt_headers' or with \`--carbon-copy'."
-      exit_cmd=exit
-    }
-    test -n "$opt_from" && grep "^From: *" "$opt_headers" >/dev/null 2>&1 && {
-      func_error "specify \`From:' in either \`$opt_headers' or with \`--from'."
-      exit_cmd=exit
-    }
-    test -n "$opt_subject" && grep "^Subject: *" "$opt_headers" >/dev/null 2>&1 && {
-      func_error "specify \`Subject:' in either \`$opt_headers' or with \`--subject'."
-      exit_cmd=exit
-    }
-  }
-
-  # validate mime parts
-  if test "${opt_mime_type_num-0}" -ne "${opt_filename_num-0}"; then
-    func_fatal_error "One part is incomplete -- each part needs a filename and a mime-type"
-  fi
-  if test -z "$opt_output_file"; then
-    test -f "$opt_headers" || if test -z "$opt_subject" ||
-       eval test -z \"\$opt_mime_type_$opt_mime_type_num\" ||
-       eval test -z \"\$opt_filename_$opt_filename_num\"; then
-      func_fatal_error "if output is not directed to a file -s, -f, and -m are all required"
-    fi
-  else
-    eval test -n \"\$opt_filename_$opt_filename_num\" ||
-        func_fatal_error "-f is required."
-    eval test -n \"\$opt_mime_type_$opt_mime_type_num\" ||
-        func_fatal_error "with output directed to a file, -m is required"
-  fi
-
-  # validate $opt_dry_run
-  $opt_dry_run && SENDMAIL="echo $SENDMAIL"
-])
-
-M4SH_VERBATIM([[
-# Bail out on command errors!
-set -e
-
-# func_headers outfile destination
-# Generate common headers to OUTFILE, where DESTINATION is a comma
-# separated list of fully qualified destination addresses.
-func_headers ()
-{
-    $opt_debug
-
-    my_outfile="$1"
-    my_destination="$2"
-    my_sed_version_no='
-	/^# '$PROGRAM' (GNU / {
-	    s/^# .*version //
-	    p
-	}
-	d'
-
-    $opt_dry_run || {
-	echo "User-Agent: $PROGRAM/`$SED \"$my_sed_version_no\" < $progpath`"
-	echo "MIME-Version: 1.0"
-
-	# Deprecated command line options take precedence at the moment
-	my_elide="Bcc"
-	test -n "$opt_from" &&
-	    my_elide="${my_elide+$my_elide\|}From" && eval echo From: $opt_from
-	test -n "$my_destination" &&
-	    my_elide="${my_elide+$my_elide\|}To" && eval echo To: $my_destination
-	test -n "$opt_carbon_copy" &&
-	    my_elide="${my_elide+$my_elide\|}Cc" && eval echo CC: $opt_carbon_copy
-	test -n "$opt_subject" &&
-	    my_elide="${my_elide+$my_elide\|}Subject" && eval echo Subject: $opt_subject
-
-	# Plus any additional headers
-	test -n "$opt_headers" && $SED "/^\($my_elide\): */d" "$opt_headers"
-    } > "$my_outfile"
-
-    :
-}
-
-
-# func_single_content outfile
-# Send the only message part as a single mime mail part.
-func_single_content ()
-{
-    $opt_debug
-
-    my_outfile="$1"
-
-    $opt_dry_run || cat >> "$my_outfile" <<EOF
-Content-Type: $opt_mime_type_1;
-Content-Transfer-Encoding: 7bit
-
-`cat $opt_filename_1`
-EOF
-}
-
-
-# func_multipart_content outfile
-# Send the various message parts to OUTFILE as a multipart mime mail.
-func_multipart_content ()
-{
-    $opt_debug
-
-    my_outfile="$1"
-    boundary="boundary-${HOST}-$$-`date | tr ' :' -`"
-    $opt_dry_run || {
-	cat <<EOF >> "$my_outfile"
-Content-Type: multipart/mixed;
-	boundary="$boundary"
-
-This is a multimedia message in MIME format.  If you are reading
-this prefix, your mail reader does not understand MIME.  You may
-wish to look into upgrading to a mime-aware mail reader.
-EOF
-	i=0
-	while test $i -lt $opt_filename_num
-	do
-	    i=`expr 1 + $i`
-	    eval file=\"\$opt_filename_$i\"
-	    name=`echo "$file" | $SED $basename`
-	    {
-		echo ""
-		echo "--$boundary"
-		if test $i -gt 1; then
-		    eval echo \"Content-Type: \$opt_mime_type_$i\;\"
-		    echo "        name=\"$name\""
-		else
-		    eval echo \"Content-Type: \$opt_mime_type_$i\"
-		fi
-		echo "Content-Transfer-Encoding: 7bit"
-		echo ""
-		cat "$file"
-	    } >> "$my_outfile"
-	done
-	{
-	    echo ""
-	    echo "--${boundary}--"
-	    echo ""
-	} >> "$my_outfile"
-    }
-
-    :
-}
-
-
-# func_sendmail infile destination [from]
-# Send the message in INFILE to the space delimited list of destination
-# addresses in DESTINATION.  If FROM is given, it is the address the
-# mail purports to be from.
-# BEWARE: Many MTAs will refuse mail where FROM does not match the actual
-#         sending domain.
-func_sendmail ()
-{
-    $opt_debug
-
-    my_infile="$1"
-    my_destination="$2"
-    my_from="$3"
-
-    $opt_dry_run && my_infile=/dev/null
-
-    from_name=`eval echo "X$my_from" | $Xsed -e 's, *<.*> *$,,'`
-    from_addr=`eval echo "X$my_from" | $Xsed -e "$sed_mail_address"`
-
-    save_PATH="$PATH"
-    PATH="/usr/lib:/usr/sbin:$PATH"
-
-    $opt_dry_run || {
-        save_IFS="$IFS"
-        IFS=':'
-        for try_sendmail_dir in $PATH; do
-            IFS="$save_IFS"
-	    PATH="$save_PATH"
-	    if test -x "$try_sendmail_dir/$SENDMAIL"; then
-	        SENDMAIL="$try_sendmail_dir/$SENDMAIL"
-	        break
-	    fi
-        done
-        IFS="$save_IFS"
-        PATH="$save_PATH"
-        test -x "$SENDMAIL" || func_fatal_error "sendmail executable not found"
-    }
-
-    func_verbose "Delivering mail, please wait..."
-    if test -n "$from_name"; then
-        $SENDMAIL -F "$from_name" -f "$from_addr" $my_destination < "$my_infile"
-    elif test -n "$from_addr"; then
-        $SENDMAIL -f "$from_addr" $my_destination < "$my_infile"
-    else
-        $SENDMAIL $my_destination < "$my_infile"
-    fi
-    if test $? -eq 0; then
-        func_verbose "...succeeded."
-        $opt_dry_run || $RM $my_infile
-    else
-        func_fatal_error "Mail delivery failed, draft mail is in $my_infile"
-    fi
-}
-
-
-# func_extract_email_from_header re_header headerfile
-func_extract_email ()
-{
-    $opt_debug
-
-    my_re_header="$1"
-    my_headerfile="$2"
-    $as_unset func_extract_email_result
-
-    save_IFS="$IFS"
-    IFS='
-'
-    for to in : `grep "$my_re_header" "$my_headerfile" 2>/dev/null`; do
-	IFS="$save_IFS"
-	test "X$to" = X: && continue
-
-	line=`echo "$to" | $SED "s,$my_re_header,,"`
-
-	IFS=,
-	for addr in $line; do
-	    IFS="$save_IFS"
-	    func_quote_for_eval "$addr"
-	    to_addr=`echo "$func_quote_for_eval_result" | $SED "$sed_mail_address"`
-	    test -n "$to_addr" || to_addr="$func_quote_for_eval_result"
-	    func_extract_email_result="${func_extract_email_result+$func_extract_email_result }$to_addr"
-	done
-    done
-    IFS="$save_IFS"
-}
-
-## ----- ##
-## main. ##
-## ----- ##
-
-{
-  tmp_dir="`func_mktempdir`"
-  headers="$tmp_dir/headers"
-  fname="$tmp_dir/mail"
-
-  trap '$RM -r "$tmp_dir"; exit $EXIT_FAILURE' 1 2 15
-
-  # Generate a comma separated list of destination addresses for the
-  # mail headers:
-  $as_unset destination
-  for to in : ${1+"$@"}
-  do
-      test "X$to" = X: && continue
-
-      func_quote_for_eval "$to"
-      destination="${destination+$destination, }$func_quote_for_eval_result"
-  done
-  func_headers "$fname" "$destination"
-
-  if test $opt_filename_num -gt 1; then
-      func_multipart_content "$fname"
-  else
-      func_single_content "$fname"
-  fi
-
-  # Generate a list of destination addresses for sendmail:
-  if test -z "$opt_output_file"; then
-      $as_unset destination
-      for to in : ${1+"$@"}
-      do
-          test "X$to" = X: && continue
-
-	  func_quote_for_eval "$to"
-
-          to_addr=`echo "$func_quote_for_eval_result" | $SED "$sed_mail_address"`
-	  test -n "$to_addr" || to_addr="$func_quote_for_eval_result"
-	  destination="${destination+$destination }$to_addr"
-      done
-      func_extract_email '^To: *' "$opt_headers"
-      destination="${destination+$destination }$func_extract_email_result"
-      func_extract_email '^Cc: *' "$opt_headers"
-      destination="${destination+$destination }$func_extract_email_result"
-      func_extract_email '^Bcc: *' "$opt_headers"
-      destination="${destination+$destination }$func_extract_email_result"
-
-      test -n "$opt_from" || {
-	  func_extract_email '^From: *' "$opt_headers"
-	  opt_from="$func_extract_email_result"
-      }
-
-      func_sendmail "$fname" "$destination" "$opt_from"
-  else
-      mv $fname $opt_output_file || exit $EXIT_FAILURE
-  fi
-
-  $RM -r "$tmp_dir"
-}
-
-exit $EXIT_SUCCESS
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation:2
-# End:
-]])
-


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 01 15:32:30 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oqt2s-0003uK-FD
	for mharc-libtool-commit@gnu.org; Wed, 01 Sep 2010 15:32:30 -0400
Received: from [140.186.70.92] (port=58993 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oqt2T-0003sx-3C
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 15:32:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqt1W-00074w-27
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 15:31:07 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:42435
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqt1V-00074q-Vm
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 15:31:05 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqt1V-0001QO-Kv
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 19:31:05 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqt1V-0001lA-9c
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 19:31:05 +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: de0b9d8f70fd0c4a82ad15b921bcee4a0250cafc
X-Git-Newrev: 7db65ac237512a01365f2fa9fc4f811835e4c690
Message-Id: <E1Oqt1V-0001lA-9c@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 01 Sep 2010 19:31:05 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-149-g7db65ac
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Sep 2010 19:32: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  7db65ac237512a01365f2fa9fc4f811835e4c690 (commit)
      from  de0b9d8f70fd0c4a82ad15b921bcee4a0250cafc (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 7db65ac237512a01365f2fa9fc4f811835e4c690
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Sep 1 21:30:30 2010 +0200

    Avoid leaking make flags into testsuite results.
    
    * tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__
    and MAKE_JOBS_FIFO.
    * tests/testsuite.at: Likewise.
    Fixes warnings in test logs when the user uses 'make -jN check'
    and inner $MAKE invocations can't connect to the job server.
    Fixes spurious failures of configure-iface.at and of
    demo-noinst-link tests with BSD and Tru64 make if the user uses
    'make -k', as the exit status of the latter is not reliable.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog          |   12 ++++++++++++
 tests/defs.m4sh    |    5 +++++
 tests/testsuite.at |    5 +++++
 3 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9d4bca4..230981e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Avoid leaking make flags into testsuite results.
+	* tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__
+	and MAKE_JOBS_FIFO.
+	* tests/testsuite.at: Likewise.
+	Fixes warnings in test logs when the user uses 'make -jN check'
+	and inner $MAKE invocations can't connect to the job server.
+	Fixes spurious failures of configure-iface.at and of
+	demo-noinst-link tests with BSD and Tru64 make if the user uses
+	'make -k', as the exit status of the latter is not reliable.
+
 2010-09-01  Gary V. Vaughan  <gary@gnu.org>
 
 	Remove announce-gen.m4sh and mailnotify.m4sh.
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 0d23dea..b56426f 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -346,6 +346,11 @@ m4dir=$srcdir/libltdl/m4
 auxdir=$srcdir/libltdl/config
 scripts="$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh"
 
+# Unset some MAKE... variables that may cause $MAKE to act like a
+# recursively invoked sub-make.  Any $MAKE invocation in a test is
+# conceptually an independent invocation.
+unset MFLAGS MAKEFLAGS MAKELEVEL __MKLVL__ MAKE_JOBS_FIFO
+
 # On AIX, shared libraries remain loaded in memory after use if they
 # are world-readable, until root issues slibclean.  On NFS, this causes
 # a testsuite rerun to fail to clean up test group directories.  Avoid
diff --git a/tests/testsuite.at b/tests/testsuite.at
index a20e074..c646c5d 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -61,6 +61,11 @@ case $lt_INSTALL in
     ;;
 esac
 
+# Unset some MAKE... variables that may cause $MAKE to act like a
+# recursively invoked sub-make.  Any $MAKE invocation in a test is
+# conceptually an independent invocation.
+unset MFLAGS MAKEFLAGS MAKELEVEL __MKLVL__ MAKE_JOBS_FIFO
+
 # On AIX, shared libraries remain loaded in memory after use if they
 # are world-readable, until root issues slibclean.  On NFS, this causes
 # a testsuite rerun to fail to clean up test group directories.  Avoid


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 01 16:20:00 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oqtmq-0002Bh-D5
	for mharc-libtool-commit@gnu.org; Wed, 01 Sep 2010 16:20:00 -0400
Received: from [140.186.70.92] (port=38142 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oqtmo-00028U-6H
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 16:19:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqtiC-0005Y7-IV
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 16:15:14 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:60123
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqtiC-0005Xy-Gv
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 16:15:12 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqtiB-0001zs-VY
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 20:15:12 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OqtiB-00048g-Q6
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 20:15:11 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7db65ac237512a01365f2fa9fc4f811835e4c690
X-Git-Newrev: e350fb07441c973e36bdbb28fefaeed067ba3813
Message-Id: <E1OqtiB-00048g-Q6@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 01 Sep 2010 20:15:11 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-150-ge350fb0
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Sep 2010 20:19:59 -0000

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

The branch, master has been updated
       via  e350fb07441c973e36bdbb28fefaeed067ba3813 (commit)
      from  7db65ac237512a01365f2fa9fc4f811835e4c690 (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 e350fb07441c973e36bdbb28fefaeed067ba3813
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Sep 1 22:12:13 2010 +0200

    tests: fix localization test for GCC on HP-UX 11.00.
    
    * tests/localization.at (localized compiler messages): Be sure
    to switch the locale only for the actual compiler commands, so
    we don't pick up warnings from helper tools such as diff which
    may not have the locale installed.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 230981e..344ba66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	tests: fix localization test for GCC on HP-UX 11.00.
+	* tests/localization.at (localized compiler messages): Be sure
+	to switch the locale only for the actual compiler commands, so
+	we don't pick up warnings from helper tools such as diff which
+	may not have the locale installed.
+
 	Avoid leaking make flags into testsuite results.
 	* tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__
 	and MAKE_JOBS_FIFO.
diff --git a/tests/localization.at b/tests/localization.at
index 71cdad4..392511e 100644
--- a/tests/localization.at
+++ b/tests/localization.at
@@ -1,7 +1,6 @@
 # localization.at -- libtool and locales                -*- Autotest -*-
 #
-#   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
-#   Written by Ralf Wildenhues, 2008
+#   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 #
 #   This file is part of GNU Libtool.
 #
@@ -26,10 +25,8 @@ AT_SETUP([localized compiler messages])
 AT_KEYWORDS([libtool])
 
 # Let's try German locale.  :-)
-LANG=de_DE
-LANGUAGE=de_DE
-LC_ALL=de_DE
-export LANG LANGUAGE LC_ALL
+m4_pushdef([lt_localize],
+[LANG=de_DE LANGUAGE=de_DE LC_ALL=de_DE])
 
 AT_DATA([a.c],
 [[int x[-1];
@@ -39,13 +36,15 @@ AT_DATA([b.c],
 ]])
 
 # First see if setting a locale is accepted at all.
-AT_CHECK([$CC $CPPFLAGS $CFLAGS -c b.c || exit 77], [], [stdout], [stderr])
+AT_CHECK([(lt_localize $CC $CPPFLAGS $CFLAGS -c b.c) || exit 77],
+	 [], [stdout], [stderr])
 
 # Find out about expected output.
-AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c || exit 1], [1], [stdout], [stderr])
+AT_CHECK([(lt_localize $CC $CPPFLAGS $CFLAGS -c a.c) || exit 1],
+	 [1], [stdout], [stderr])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [expected-stdout])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [expected-stderr])
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit 1],
+AT_CHECK([(lt_localize $LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c) || exit 1],
 	 [1], [stdout], [stderr])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr])
@@ -63,10 +62,12 @@ AT_CHECK([diff expected-stderr libtool-stderr])
 AT_CHECK([diff expected-stdout libtool-stdout])
 
 # check that we get our quoting right.
-LANGUAGE='a; nosuchprogram " '\''  & $x /#+*(){}|,:`\ !%'
-export LANGUAGE
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c b.c],
+m4_define([lt_localize],
+[[LANGUAGE='a; nosuchprogram " '\''  & $x /#+*(){}|,:`\ !%']])
+AT_CHECK([(lt_localize $LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c b.c)],
 	 [0], [stdout], [stderr])
 AT_CHECK([grep nosuchprogram stdout stderr], [1])
 
+m4_popdef([lt_localize])
+
 AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 01 16:27:33 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oqtu9-0005em-6s
	for mharc-libtool-commit@gnu.org; Wed, 01 Sep 2010 16:27:33 -0400
Received: from [140.186.70.92] (port=47753 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oqtu6-0005cu-Kj
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 16:27:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqtu5-0007f6-MC
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 16:27:30 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:42740
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqtu5-0007f0-Ij
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 16:27:29 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqtu5-00026x-Ar
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 20:27:29 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oqtu5-0004zu-7D
	for libtool-commit@gnu.org; Wed, 01 Sep 2010 20:27:29 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e350fb07441c973e36bdbb28fefaeed067ba3813
X-Git-Newrev: 786befce766c5e4d9fc6f6e8292570dade734e65
Message-Id: <E1Oqtu5-0004zu-7D@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 01 Sep 2010 20:27:29 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-151-g786befc
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Sep 2010 20:27: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  786befce766c5e4d9fc6f6e8292570dade734e65 (commit)
      from  e350fb07441c973e36bdbb28fefaeed067ba3813 (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 786befce766c5e4d9fc6f6e8292570dade734e65
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Sep 1 22:24:37 2010 +0200

    tests: avoid spurious pic_flag test failure on HP-UX 10.20.
    
    * tests/pic_flag.at (override pic_flag at configure time):
    Match HP-UX 10.20 cc warning about unknown options, to skip
    the test.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 344ba66..63d4b74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	tests: avoid spurious pic_flag test failure on HP-UX 10.20.
+	* tests/pic_flag.at (override pic_flag at configure time):
+	Match HP-UX 10.20 cc warning about unknown options, to skip
+	the test.
+
 	tests: fix localization test for GCC on HP-UX 11.00.
 	* tests/localization.at (localized compiler messages): Be sure
 	to switch the locale only for the actual compiler commands, so
diff --git a/tests/pic_flag.at b/tests/pic_flag.at
index ffad842..fb39f7f 100644
--- a/tests/pic_flag.at
+++ b/tests/pic_flag.at
@@ -37,6 +37,7 @@ AT_CHECK([$CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77],
 	 [], [stdout], [stderr])
 # The configure test for the PIC flag also checks for warnings.
 AT_CHECK([grep fpic stdout stderr && exit 77], [1])
+AT_CHECK([[grep '[uU]nknown.*option' stdout stderr && exit 77]], [1])
 
 CXX_pic_flag='-fpic -DPIC'
 if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 02 01:36:01 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Or2Sv-0007oj-Dn
	for mharc-libtool-commit@gnu.org; Thu, 02 Sep 2010 01:36:01 -0400
Received: from [140.186.70.92] (port=60552 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Or2So-0007lZ-22
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 01:35:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Or2Sk-0004oS-41
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 01:35:52 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41635
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Or2Sj-0004oL-W2
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 01:35:50 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Or2Sj-0000Sd-E6
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 05:35:49 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Or2Sh-0003Jh-GZ
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 05:35:49 +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: 786befce766c5e4d9fc6f6e8292570dade734e65
X-Git-Newrev: a77cfa4188975cb2c93084c5ccabfdc2598d29e3
Message-Id: <E1Or2Sh-0003Jh-GZ@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 02 Sep 2010 05:35:49 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-152-ga77cfa4
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2010 05:35:59 -0000

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

The branch, master has been updated
       via  a77cfa4188975cb2c93084c5ccabfdc2598d29e3 (commit)
      from  786befce766c5e4d9fc6f6e8292570dade734e65 (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 a77cfa4188975cb2c93084c5ccabfdc2598d29e3
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Mon Aug 30 02:20:56 2010 -0400

    Path conversion documentation
    
    * doc/libtool.texi (Platform quirks): Add new subsections
    'Cross compiling' and 'File name conversion'.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index 63d4b74..44d0f47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-31  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Path conversion documentation
+	* doc/libtool.texi (Platform quirks): Add new subsections
+	'Cross compiling' and 'File name conversion'.
+
 2010-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: avoid spurious pic_flag test failure on HP-UX 10.20.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index a3f1c59..573536e 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -223,6 +223,8 @@ Platform quirks
 * Reloadable objects::          Binding object files together.
 * Multiple dependencies::       Removing duplicate dependent libraries.
 * Archivers::                   Programs that create static archives.
+* Cross compiling::             Issues that arise when cross compiling.
+* File name conversion::        Converting file names between platforms.
 
 @end detailmenu
 @end menu
@@ -5750,6 +5752,8 @@ write your own.
 * Reloadable objects::          Binding object files together.
 * Multiple dependencies::       Removing duplicate dependent libraries.
 * Archivers::                   Programs that create static archives.
+* Cross compiling::             Issues that arise when cross compiling.
+* File name conversion::        Converting file names between platforms.
 @end menu
 
 @node References
@@ -5875,6 +5879,420 @@ must be used to ``bless'' the created library before linking against it,
 with the @kbd{ranlib lib@var{name}.a} command.  Some systems, like Irix,
 use the @code{ar ts} command, instead.
 
+@node Cross compiling
+@subsection Cross compiling
+@cindex cross compile
+
+Most build systems support the ability to compile libraries and applications
+on one platform for use on a different platform, provided a compiler capable
+of generating the appropriate output is available.  In such cross compiling
+scenarios, the platform on which the libraries or applications are compiled
+is called the @dfn{build platform}, while the platform on which the libraries
+or applications are intended to be used or executed is called the
+@dfn{host platform}.
+@ref{GNU Build System,, The GNU Build System, automake, The Automake Manual},
+of which libtool is a part, supports cross compiling via arguments passed to
+the configure script: @option{--build=...} and @option{--host=...}. However,
+when the build platform and host platform are very different, libtool is
+required to make certain accommodations to support these scenarios.
+
+In most cases, because the build platform and host platform differ, the
+cross-compiled libraries and executables can't be executed or tested on the
+build platform where they were compiled.  The testsuites of most build systems
+will often skip any tests that involve executing such foreign executables when
+cross-compiling.  However, if the build platform and host platform are
+sufficiently similar, it is often possible to run cross-compiled applications.
+Libtool's own testsuite often attempts to execute cross-compiled tests, but
+will mark any failures as @emph{skipped} since the failure might simply be due
+to the differences between the two platforms.
+
+In addition to cases where the host platform and build platform are extremely
+similar (e.g. @samp{i586-pc-linux-gnu} and @samp{i686-pc-linux-gnu}), there is
+another case in which cross-compiled host applications may be executed on the
+build platform.  This is possible when the build platform supports an emulation
+or API-enhanced environment for the host platform.  One example of this
+situation would be if the build platform were MinGW, and the host platform were
+Cygwin (or vice versa).  Both of these platforms can actually operate within a
+single Windows instance, so Cygwin applications can be launched from a MinGW
+context, and vice versa---provided certain care is taken.  Another example
+would be if the build platform were GNU/Linux on an x86 32bit processor, and
+the host platform were MinGW.  In this situation, the
+@uref{http://www.winehq.org/, Wine} environment can be used to launch Windows
+applications from the GNU/Linux operating system; again, provided certain care
+is taken.
+
+One particular issue occurs when a Windows platform such as MinGW, Cygwin, or
+MSYS is the host or build platform, while the other platform is a Unix-style
+system.  In these cases, there are often conflicts between the format of the
+file names and paths expected within host platform libraries and executables,
+and those employed on the build platform.
+
+This situation is best described using a concrete example: suppose the build
+platform is GNU/Linux with canonical triplet @samp{i686-pc-linux-gnu}.  Suppose
+further that the host platform is MinGW with canonical triplet
+@samp{i586-pc-mingw32}.  On the GNU/Linux platform there is a cross compiler
+following the usual naming conventions of such compilers, where the compiler
+name is prefixed by the host canonical triplet (or suitable alias).  (For more
+information concerning canonical triplets and platform aliases, see
+@ref{Specifying Target Triplets,, Specifying Target Triplets, autoconf,
+The Autoconf Manual} and @ref{Canonicalizing,, Canonicalizing, autoconf,
+The Autoconf Manual})  In this case, the C compiler is named
+@samp{i586-pc-mingw32-gcc}.
+
+As described in @ref{Wrapper executables}, for the MinGW host platform libtool
+uses a wrapper executable to set various environment variables before launching
+the actual program executable.  Like the program executable, the wrapper
+executable is cross-compiled for the host platform (that is, for MinGW).  As
+described above, ordinarily a host platform executable cannot be executed on
+the build platform, but in this case the Wine environment could be used to
+launch the MinGW application from GNU/Linux.  However, the wrapper executable,
+as a host platform (MinGW) application, must set the @env{PATH} variable so
+that the true application's dependent libraries can be located---but the
+contents of the @env{PATH} variable must be structured for MinGW.  Libtool
+must use the Wine file name mapping facilities to determined the correct value
+so that the wrapper executable can set the @env{PATH} variable to point to the
+correct location.
+
+For example, suppose we are compiling an application in @file{/var/tmp} on
+GNU/Linux, using separate source code and build directories:
+
+@example
+@multitable @columnfractions 0.5 0.5
+@item @file{/var/tmp/foo-1.2.3/app/} @tab (application source code)
+@item @file{/var/tmp/foo-1.2.3/lib/} @tab (library source code)
+@item @file{/var/tmp/BUILD/app/} @tab (application build objects here)
+@item @file{/var/tmp/BUILD/lib/} @tab (library build objects here)
+@end multitable
+@end example
+
+Since the library will be built in @file{/var/tmp/BUILD/lib}, the wrapper
+executable (which will be in @file{/var/tmp/BUILD/app}) must add that
+directory to @env{PATH} (actually, it must add the directory named
+@var{objdir} under @file{/var/tmp/BUILD/lib}, but we'll ignore that detail
+for now).  However, Windows does not have a concept of Unix-style file or
+directory names such as @file{/var/tmp/BUILD/lib}.  Therefore, Wine provides
+a mapping from Windows file names such as @file{C:\Program Files} to specific
+Unix-style file names.  Wine also provides a utility that can be used to map
+Unix-style file names to Windows file names.
+
+In this case, the wrapper executable should actually add the value
+
+@example
+Z:\var\tmp\BUILD\lib
+@end example
+
+@noindent
+to the @env{PATH}.  libtool contains support for path conversions of this
+type, for a certain limited set of build and host platform combinations. In
+this case, libtool will invoke Wine's @command{winepath} utility to ensure that
+the correct @env{PATH} value is used.  For more information, see
+@pxref{File name conversion}.
+
+@node File name conversion
+@subsection File name conversion
+@cindex file name conversion
+@cindex path conversion
+
+In certain situations, libtool must convert file names and paths between
+formats appropriate to different platforms.  Usually this occurs when
+cross-compiling, and affects only the ability to launch host platform
+executables on the build platform using an emulation or API-enhancement
+environment such as Wine.  Failure to convert paths
+(@pxref{File Name Conversion Failure}) will cause a warning to be issued, but
+rarely causes the build to fail---and should have no affect on the compiled
+products, once installed properly on the host platform.  For more information,
+@pxref{Cross compiling}.
+
+However, file name conversion may also occur in another scenario: when using a
+Unix emulation system on Windows (such as Cygwin or MSYS), combined with a
+native Windows compiler such as MinGW or MSVC.  Only a limited set of such
+scenarios are currently supported; in other cases file name conversion is
+skipped.  The lack of file name conversion usually means that uninstalled
+executables can't be launched, but only rarely causes the build to fail
+(@pxref{File Name Conversion Failure}).
+
+libtool supports file name conversion in the following scenarios:
+
+@multitable @columnfractions .25 .25 .5
+@headitem build platform @tab host platform @tab Notes
+@item MinGW (MSYS) @tab MinGW (Windows)
+@tab @pxref{Native MinGW File Name Conversion}
+
+@item Cygwin @tab MinGW (Windows)
+@tab @pxref{Cygwin/Windows File Name Conversion}
+
+@item Unix + Wine @tab MinGW (Windows)
+@tab Requires Wine. @pxref{Unix/Windows File Name Conversion}
+
+@item MinGW (MSYS) @tab Cygwin
+@tab Requires @env{LT_CYGPATH}. @pxref{LT_CYGPATH}. Provided for testing
+purposes only.
+
+@item Unix + Wine @tab Cygwin
+@tab Requires both Wine and @env{LT_CYGPATH}, but does not yet work with
+Cygwin 1.7.7 and Wine-1.2.
+See @pxref{Unix/Windows File Name Conversion} and @pxref{LT_CYGPATH}.
+@end multitable
+
+@menu
+* File Name Conversion Failure::        What happens when file name conversion fails
+* Native MinGW File Name Conversion::   MSYS file name conversion idiosyncrasies
+* Cygwin/Windows File Name Conversion:: Using @command{cygpath} to convert Cygwin file names
+* Unix/Windows File Name Conversion::   Using Wine to convert Unix paths
+* LT_CYGPATH::                          Invoking @command{cygpath} from other environments
+* Cygwin to MinGW Cross::               Other notes concerning MinGW cross
+@end menu
+
+@node File Name Conversion Failure
+@subsubsection File Name Conversion Failure
+@cindex File Name Conversion - Failure
+@cindex Path Conversion - Failure
+
+In most cases, file name conversion is not needed or attempted.  However, when
+libtool detects that a specific combination of build and host platform does
+require file name conversion, it is possible that the conversion may fail.
+In these cases, you may see a warning such as the following:
+
+@example
+Could not determine the host file name corresponding to
+  `... a file name ...'
+Continuing, but uninstalled executables may not work.
+@end example
+
+@noindent
+or
+
+@example
+Could not determine the host path corresponding to
+  `... a path ...'
+Continuing, but uninstalled executables may not work.
+@end example
+
+@noindent
+This should not cause the build to fail.  At worst, it means that the wrapper
+executable will specify file names or paths appropriate for the build platform.
+Since those are not appropriate for the host platform, the uninstalled
+executables would not operate correctly, even when the wrapper executable is
+launched via the appropriate emulation or API-enhancement (e.g. Wine).  Simply
+install the executables on the host platform, and execute them there.
+
+@node Native MinGW File Name Conversion
+@subsubsection Native MinGW File Name Conversion
+@cindex File Name Conversion - MinGW
+@cindex Path Conversion - MinGW
+@cindex MSYS
+
+MSYS is a Unix emulation environment for Windows, and is specifically designed
+such that in normal usage it @emph{pretends} to be MinGW or native Windows,
+but understands Unix-style file names and paths, and supports standard Unix
+tools and shells.  Thus, ``native'' MinGW builds are actually an odd sort of
+cross-compile, from an MSYS Unix emulation environment ``pretending'' to be
+MinGW, to actual native Windows.
+
+When an MSYS shell launches a native Windows executable (as opposed to other
+@emph{MSYS} executables), it uses a system of heuristics to detect any
+command-line arguments that contain file names or paths.  It automatically
+converts these file names from the MSYS (Unix-like) format, to the
+corresponding Windows file name, before launching the executable.  However,
+this auto-conversion facility is only available when using the MSYS runtime
+library.  The wrapper executable itself is a MinGW application (that is, it
+does not use the MSYS runtime library).  The wrapper executable must set
+@env{PATH} to, and call @code{_spawnv} with, values that have already been
+converted from MSYS format to Windows.  Thus, when libtool writes the source
+code for the wrapper executable, it must manually convert MSYS paths to
+Windows format, so that the Windows values can be hard-coded into the wrapper
+executable.
+
+@node Cygwin/Windows File Name Conversion
+@subsubsection Cygwin/Windows File Name Conversion
+@cindex File Name Conversion - Cygwin to Windows
+@cindex Path Conversion - Cygwin to Windows
+
+Cygwin provides a Unix emulation environment for Windows.  As part of that
+emulation, it provides a file system mapping that presents the Windows file
+system in a Unix-compatible manner.  Cygwin also provides a utility
+@command{cygpath} that can be used to convert file names and paths between
+the two representations.  In a correctly configured Cygwin installation,
+@command{cygpath} is always present, and is in the @env{PATH}.
+
+Libtool uses @command{cygpath} to convert from Cygwin (Unix-style) file names
+and paths to Windows format when the build platform is Cygwin and the host
+platform is MinGW.
+
+When the host platform is Cygwin, but the build platform is MSYS or some Unix
+system, libtool also uses @command{cygpath} to convert from Windows to Cygwin
+format (after first converting from the build platform format to Windows format;
+see @pxref{Native MinGW File Name Conversion} and
+@pxref{Unix/Windows File Name Conversion}).  Because the build platform is not
+Cygwin, @command{cygpath} is not (and should not be) in the @env{PATH}.
+Therefore, in this configuration the environment variable @env{LT_CYGPATH} is
+required. @xref{LT_CYGPATH}.
+
+@node Unix/Windows File Name Conversion
+@subsubsection Unix/Windows File Name Conversion
+@cindex File Name Conversion - Unix to Windows
+@cindex Path Conversion - Unix to Windows
+
+
+@uref{http://www.winehq.org/, Wine} provides an interpretation environment for
+some Unix platforms in which Windows applications can be executed.  It provides
+a mapping between the Unix file system and a virtual Windows file system used
+by the Windows programs.  For the file name conversion to work, Wine must be
+installed and properly configured on the build platform, and the
+@command{winepath} application must be in the build platform's @env{PATH}.  In
+addition, on 32bit GNU/Linux it is usually helpful if the binfmt extension is
+enabled.
+
+@node LT_CYGPATH
+@subsubsection LT_CYGPATH
+@cindex LT_CYGPATH
+
+For some cross-compile configurations (where the host platform is Cygwin), the
+@command{cygpath} program is used to convert file names from the build platform
+notation to the Cygwin form (technically, this conversion is from Windows
+notation to Cygwin notation; the conversion from the build platform format
+to Windows notation is performed via other means).  However, because the
+@command{cygpath} program is not (and should not be) in the @env{PATH} on
+the build platform, @env{LT_CYGPATH} must specify the full build platform
+file name (that is, the full Unix or MSYS file name) of the @command{cygpath}
+program.
+
+The reason @command{cygpath} should not be in the build platform @env{PATH} is
+twofold: first, @command{cygpath} is usually installed in the same directory as
+many other Cygwin executables, such as @command{sed}, @command{cp}, etc.  If
+the build platform environment had this directory in its @env{PATH}, then these
+Cygwin versions of common Unix utilities might be used in preference to the
+ones provided by the build platform itself, with deleterious effects.  Second,
+especially when Cygwin-1.7 or later is used, multiple Cygwin installations can
+coexist within the same Windows instance.  Each installation will have separate
+``mount tables'' specified in @file{@var{CYGROOT-N}/etc/fstab}.  These
+@dfn{mount tables} control how that instance of Cygwin will map Windows file
+names and paths to Cygwin form.  Each installation's @command{cygpath} utility
+automatically deduces the appropriate @file{/etc/fstab} file.  Since each
+@file{@var{CYGROOT-N}/etc/fstab} mount table may specify different mappings, it
+matters which @command{cygpath} is used.
+
+Note that @command{cygpath} is a Cygwin application; to execute this tool from
+Unix requires a working and properly configured Wine installation, as well
+as enabling the GNU/Linux @code{binfmt} extension.  Furthermore, the Cygwin
+@command{setup.exe} tool should have been used, via Wine, to properly install
+Cygwin into the Wine file system (and registry).
+
+Unfortunately, Wine support for Cygwin is intermittent.  Recent releases of
+Cygwin (1.7 and above) appear to require more Windows API support than Wine
+provides (as of Wine version 1.2); most Cygwin applications fail to execute.
+This includes @command{cygpath} itself.  Hence, it is best @emph{not} to use
+the LT_CYGPATH machinery in libtool when performing Unix to Cygwin
+cross-compiles.  Similarly, it is best @emph{not} to enable the GNU/Linux binfmt
+support in this configuration, because while Wine will fail to execute the
+compiled Cygwin applications, it will still exit with status zero.  This tends
+to confuse build systems and test suites (including libtool's own testsuite,
+resulting in spurious reported failures).  Wine support for the older
+Cygwin-1.5 series appears satisfactory, but the Cygwin team no longer supports
+Cygwin-1.5.  It is hoped that Wine will eventually be improved such that
+Cygwin-1.7 will again operate correctly under Wine.  Until then, libtool will
+report warnings as described in @pxref{File Name Conversion Failure} in these
+scenarios.
+
+However, @env{LT_CYGPATH} is also used for the MSYS to Cygwin cross compile
+scenario, and operates as expected.
+
+@node Cygwin to MinGW Cross
+@subsubsection Cygwin to MinGW Cross
+@cindex Cygwin to MinGW Cross
+
+There are actually three different scenarios that could all legitimately be
+called a ``Cygwin to MinGW'' cross compile.  The current (and standard)
+definition is when there is a compiler that produces native Windows libraries
+and applications, but which itself is a Cygwin application, just as would be
+expected in any other cross compile setup.
+
+However, historically there were two other definitions, which we will refer
+to as the @emph{fake} one, and the @emph{lying} one.
+
+In the @emph{fake} Cygwin to MinGW cross compile case, you actually use a
+native MinGW compiler, but you do so from within a Cygwin environment:
+
+@example
+@kbd{export PATH="/c/MinGW/bin:$@{PATH@}"}
+@kbd{configure --build=i686-pc-cygwin \
+	--host=mingw32 \
+	NM=/c/MinGW/bin/nm.exe}
+@end example
+
+In this way, the build system ``knows'' that you are cross compiling, and the
+file name conversion logic will be used.  However, because the tools
+(@command{mingw32-gcc}, @command{nm}, @command{ar}) used are actually native
+Windows applications, they will not understand any Cygwin (that is, Unix-like)
+absolute file names passed as command line arguments (and, unlike MSYS, Cygwin
+does not automatically convert such arguments).  However, so long as only
+relative file names are used in the build system, and non-Windows-supported
+Unix idioms such as symlinks and mount points are avoided, this scenario should
+work.
+
+In the @emph{lying} Cygwin to MinGW cross compile case, you lie to the
+build system:
+
+@example
+@kbd{export PATH="/c/MinGW/bin:$@{PATH@}"}
+@kbd{configure --build=i686-pc-mingw32 \
+	--host=i686-pc-mingw32 \
+	--disable-dependency-tracking}
+@end example
+
+@noindent
+and claim that the build platform is MinGW, even though you are actually
+running under @emph{Cygwin} and not MinGW.  In this case, libtool does
+@emph{not} know that you are performing a cross compile, and thinks instead
+that you are performing a native MinGW build.  However, as described in
+(@pxref{Native MinGW File Name Conversion}), that scenario triggers an ``MSYS
+to Windows'' file name conversion.  This, of course, is the wrong conversion
+since we are actually running under Cygwin.  To force the correct file name
+conversion in this situation, you should do the following @emph{before}
+running configure:
+
+@example
+@kbd{export lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32}
+@end example
+@cindex lt_cv_to_host_file_cmd
+@cindex func_convert_file_cygwin_to_w32
+
+Note that this relies on internal implementation details of libtool, and
+is subject to change.  Also, @code{--disable-dependency-tracking} is required,
+because otherwise the MinGW GCC will generate dependency files that contain
+Windows file names.  This, in turn, will confuse the Cygwin @command{make}
+program, which does not accept Windows file names:
+
+@example
+Makefile:1: *** target pattern contains no `%'.  Stop.
+@end example
+
+There have also always been a number of other details required for the
+@emph{lying} case to operate correctly, such as the use of so-called
+@dfn{identity mounts}:
+
+@example
+# @var{cygwin-root}/etc/fstab
+D:/foo    /foo     some_fs binary 0 0
+D:/bar    /bar     some_fs binary 0 0
+E:/grill  /grill   some_fs binary 0 0
+@end example
+
+In this way, top-level directories of each drive are available using
+identical names within Cygwin.
+
+Note that you also need to ensure that the standard Unix directories
+(like @file{/bin}, @file{/lib}, @file{/usr}, @file{/etc}) appear in the root
+of a drive.  This means that you must install Cygwin itself into the @file{C:/}
+root directory (or @file{D:/}, or @file{E:/}, etc)---instead of the
+recommended installation into @file{C:/cygwin/}.  In addition, all file names
+used in the build system must be relative, symlinks should not be used within
+the source or build directory trees, and all @option{-M*} options to
+@command{gcc} except @option{-MMD} must be avoided.
+
+This is quite a fragile setup, but it has been in historical use, and so is
+documented here.
+
 @node libtool script contents
 @section @code{libtool} script contents
 @cindex implementation of libtool


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 02 15:08:07 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OrF8o-0001TT-Vc
	for mharc-libtool-commit@gnu.org; Thu, 02 Sep 2010 15:08:07 -0400
Received: from [140.186.70.92] (port=54796 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OrF8m-0001ST-Oa
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 15:08:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrF8l-0008D6-FP
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 15:08:04 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41030
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrF8l-0008D0-Cj
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 15:08:03 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrF8l-00025B-4h
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 19:08:03 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrF8j-00072R-QI
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 19:08:03 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/lto
X-Git-Reftype: branch
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 327f014068d2f709f0e38282d6b36725573a45c7
Message-Id: <E1OrF8j-00072R-QI@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 02 Sep 2010 19:08:03 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, lto, created. v2.2.10-156-g327f014
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2010 19:08:06 -0000

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

The branch, lto has been created
        at  327f014068d2f709f0e38282d6b36725573a45c7 (commit)

- Log -----------------------------------------------------------------
commit 327f014068d2f709f0e38282d6b36725573a45c7
Merge: b81fd4e f2fc0e0
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Sep 2 21:06:43 2010 +0200

    Merge branch 'master' into lto

commit f2fc0e036910682c982daaf4cacea328091a4332
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Sep 2 08:18:12 2010 +0200

    tests: avoid spurious test failure due to library mode on HP-UX.
    
    * tests/help.at (debug tracing): Use $lt_INSTALL not cp for
    install mode, the latter will not overwrite an existing library
    with mode 555.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit b81fd4ef009c24a86a7e64727ea09efb410ea149
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 29 17:31:29 2010 +0200

    Support GCC LTO on GNU/Linux.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Allow through
    flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin.
    * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols
    starting with __gnu_lto.
    (_LT_LINKER_SHLIBS) [linux] <archive_cmds, archive_expsyms_cmds>:
    Add $pic_flag for GCC.
    (_LT_LANG_CXX_CONFIG) [linux] <archive_cmds, archive_expsyms_cmds>:
    Likewise.
    (_LT_SYS_HIDDEN_LIBDEPS): Ignore files matching *.lto.o.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit ada610770b6a30fcf8b22cd875c2002183765c4f
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 29 17:30:19 2010 +0200

    Disable GCC LTO for verbose library extraction.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Temporarily
    append -fno-lto or -fno-whopr to CFLAGS if CC or CFLAGS (which
    are substituted with the per-language variables here) contain
    -flto or match -fwhopr*, respectively.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit bf1d52eb53a6f8738105954f9e1e9533da091461
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Aug 29 17:28:29 2010 +0200

    Save and restore CFLAGS properly inside libtool.m4 macros.
    
    * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different
    temporary variables for saved and restored values of $LIBS,
    $CFLAGS, to avoid overlap with the *_CONFIG macros.
    (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
    (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore
    $CFLAGS, and override it with per-language flags, so that in
    case output_verbose_link_cmd uses $CFLAGS, the right flags are
    used.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 02 15:12:49 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OrFDN-0008NC-7b
	for mharc-libtool-commit@gnu.org; Thu, 02 Sep 2010 15:12:49 -0400
Received: from [140.186.70.92] (port=36360 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OrFDK-0008Ic-J3
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 15:12:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrFDJ-0000nU-2u
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 15:12:46 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:57751
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrFDJ-0000nL-0D
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 15:12:45 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrFDI-00028s-KV
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 19:12:44 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OrFDI-0007HT-DW
	for libtool-commit@gnu.org; Thu, 02 Sep 2010 19:12:44 +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: a77cfa4188975cb2c93084c5ccabfdc2598d29e3
X-Git-Newrev: 0f052db3b89835904b95d8336b2491e7b8eef8f7
Message-Id: <E1OrFDI-0007HT-DW@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 02 Sep 2010 19:12:44 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-154-g0f052db
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2010 19:12:47 -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  0f052db3b89835904b95d8336b2491e7b8eef8f7 (commit)
       via  f2fc0e036910682c982daaf4cacea328091a4332 (commit)
      from  a77cfa4188975cb2c93084c5ccabfdc2598d29e3 (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 0f052db3b89835904b95d8336b2491e7b8eef8f7
Merge: f2fc0e0 a77cfa4
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Sep 2 21:12:02 2010 +0200

    Merge remote branch 'origin/master'

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

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

diff --git a/ChangeLog b/ChangeLog
index 44d0f47..448393f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2010-09-31  Charles Wilson  <libtool@cwilson.fastmail.fm>
+2010-09-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	tests: avoid spurious test failure due to library mode on HP-UX.
+	* tests/help.at (debug tracing): Use $lt_INSTALL not cp for
+	install mode, the latter will not overwrite an existing library
+	with mode 555.
+
+2010-09-01  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Path conversion documentation
 	* doc/libtool.texi (Platform quirks): Add new subsections
diff --git a/tests/help.at b/tests/help.at
index c4eaa87..0b60a0d 100644
--- a/tests/help.at
+++ b/tests/help.at
@@ -161,7 +161,7 @@ for trace in '' --debug; do
 
   # Hypothesis: --debug should be passed to relink mode if (and only if)
   # it was passed at link mode.
-  AT_CHECK([$orig_LIBTOOL --mode=install cp liba.la libb.la $libdir],
+  AT_CHECK([$orig_LIBTOOL --mode=install $lt_INSTALL liba.la libb.la $libdir],
 	   [], [stdout], [stderr])
   if grep ': relinking ' stdout stderr; then
     if test "X$trace" = X--debug; then


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 06 04:43:06 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OsXIA-0000XV-7q
	for mharc-libtool-commit@gnu.org; Mon, 06 Sep 2010 04:43:06 -0400
Received: from [140.186.70.92] (port=54686 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OsXI6-0000VN-0k
	for libtool-commit@gnu.org; Mon, 06 Sep 2010 04:43:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsXI4-0007Ci-6Y
	for libtool-commit@gnu.org; Mon, 06 Sep 2010 04:43:01 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:50860
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsXI4-0007Cc-2q
	for libtool-commit@gnu.org; Mon, 06 Sep 2010 04:43:00 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsXI3-0005v5-No
	for libtool-commit@gnu.org; Mon, 06 Sep 2010 08:42:59 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsXI3-00057I-CA
	for libtool-commit@gnu.org; Mon, 06 Sep 2010 08:42:59 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0f052db3b89835904b95d8336b2491e7b8eef8f7
X-Git-Newrev: d243a1ec536d9e154c6dfca271352fe991d854c2
Message-Id: <E1OsXI3-00057I-CA@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 06 Sep 2010 08:42:59 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-158-gd243a1e
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Sep 2010 08:43:04 -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  d243a1ec536d9e154c6dfca271352fe991d854c2 (commit)
       via  742873613de1d661db060d4124438cf937832202 (commit)
       via  4dcbe4358349feeab91ac386047840c86a0009c2 (commit)
       via  375a576d095b69bfeb11d5b560201d65ce70e132 (commit)
      from  0f052db3b89835904b95d8336b2491e7b8eef8f7 (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 d243a1ec536d9e154c6dfca271352fe991d854c2
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 6 10:40:25 2010 +0200

    Use func_to_tool_file instead of fix_srcfile_path.
    
    * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the
    fix_srcfile_path hook with a call to func_to_tool_file.
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin,mingw,pw32]
    [cegcc]: Drop fix_srcfile_path.
    * doc/libtool.texi (libtool script contents): Likewise.
    * NEWS: Mention that fix_srcfile_path has been replaced.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

commit 742873613de1d661db060d4124438cf937832202
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 6 10:39:10 2010 +0200

    Convert file names to toolchain format in $NM and $AR @files.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): When listing
    symbols and when creating archives using command files (or
    response files), make sure that both the name of the command
    file and the content are made up of file names in a format
    appropriate for the tool. Fixes stresstest.at on MSYS when
    run with low command line length.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

commit 4dcbe4358349feeab91ac386047840c86a0009c2
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 6 10:38:34 2010 +0200

    Convert file names to toolchain format when linking.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): When exporting
    symbols and when linking using command files (or response
    files), make sure that both the name of the command file and
    the content are made up of file names in a format appropriate
    for the tool. Fixes problems in stresstest.at on MSYS when run
    with low command line length.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

commit 375a576d095b69bfeb11d5b560201d65ce70e132
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 6 08:23:52 2010 +0200

    Add file name conversion from $build to toolchain.
    
    * configure.ac: Ensure to_tool_file_cmd is available to Makefile.
    * libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): Add
    cache variable lt_cv_to_tool_file_cmd that describes how to
    convert file names from $build to toolchain format.
    * libltdl/config/ltmain.m4sh (func_to_tool_file): New function
    that utilizes the above.
    * Makefile.am: Ensure to_tool_file_cmd is included in
    TEST_ENVIRONMENT so that it is passed to (old testsuite) tests.
    * testsuite.at: Ensure to_tool_file_cmd is passed as a variable
    setting on the configure line for (new testsuite) tests.
    * doc/libtool.texi (libtool script content): Update with
    to_tool_file_cmd description.
    (Cygwin to MinGW Cross): Update to mention lt_cv_to_tool_file_cmd.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog                  |   41 +++++++++++++++++++++++++++++++++++++++++
 Makefile.am                |    3 ++-
 NEWS                       |    2 ++
 configure.ac               |    1 +
 doc/libtool.texi           |   30 ++++++++++++++++++++++++------
 libltdl/config/ltmain.m4sh |   40 ++++++++++++++++++++++++++++++----------
 libltdl/m4/libtool.m4      |   23 +++++++++++++++++++----
 tests/testsuite.at         |    5 ++++-
 8 files changed, 123 insertions(+), 22 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 448393f..f177fdc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,44 @@
+2010-09-06  Peter Rosin  <peda@lysator.liu.se>
+
+	Use func_to_tool_file instead of fix_srcfile_path.
+	* libltdl/config/ltmain.m4sh (func_mode_compile): Replace the
+	fix_srcfile_path hook with a call to func_to_tool_file.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin,mingw,pw32]
+	[cegcc]: Drop fix_srcfile_path.
+	* doc/libtool.texi (libtool script contents): Likewise.
+	* NEWS: Mention that fix_srcfile_path has been replaced.
+
+	Convert file names to toolchain format in $NM and $AR @files.
+	* libltdl/config/ltmain.m4sh (func_mode_link): When listing
+	symbols and when creating archives using command files (or
+	response files), make sure that both the name of the command
+	file and the content are made up of file names in a format
+	appropriate for the tool. Fixes stresstest.at on MSYS when
+	run with low command line length.
+
+	Convert file names to toolchain format when linking.
+	* libltdl/config/ltmain.m4sh (func_mode_link): When exporting
+	symbols and when linking using command files (or response
+	files), make sure that both the name of the command file and
+	the content are made up of file names in a format appropriate
+	for the tool. Fixes problems in stresstest.at on MSYS when run
+	with low command line length.
+
+	Add file name conversion from $build to toolchain.
+	* configure.ac: Ensure to_tool_file_cmd is available to Makefile.
+	* libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): Add
+	cache variable lt_cv_to_tool_file_cmd that describes how to
+	convert file names from $build to toolchain format.
+	* libltdl/config/ltmain.m4sh (func_to_tool_file): New function
+	that utilizes the above.
+	* Makefile.am: Ensure to_tool_file_cmd is included in
+	TEST_ENVIRONMENT so that it is passed to (old testsuite) tests.
+	* testsuite.at: Ensure to_tool_file_cmd is passed as a variable
+	setting on the configure line for (new testsuite) tests.
+	* doc/libtool.texi (libtool script content): Update with
+	to_tool_file_cmd description.
+	(Cygwin to MinGW Cross): Update to mention lt_cv_to_tool_file_cmd.
+
 2010-09-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: avoid spurious test failure due to library mode on HP-UX.
diff --git a/Makefile.am b/Makefile.am
index 48fbf73..dcd0876 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -518,7 +518,8 @@ TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
 	F77="$(F77)" FFLAGS="$(FFLAGS)" \
 	FC="$(FC)" FCFLAGS="$(FCFLAGS)" \
 	GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" \
-	lt_cv_to_host_file_cmd="$(to_host_file_cmd)"
+	lt_cv_to_host_file_cmd="$(to_host_file_cmd)" \
+	lt_cv_to_tool_file_cmd="$(to_tool_file_cmd)"
 
 BUILDCHECK_ENVIRONMENT = _lt_pkgdatadir="$(abs_top_srcdir)" \
 	LIBTOOLIZE="$(abs_top_builddir)/libtoolize" \
diff --git a/NEWS b/NEWS
index 688bdca..8cf68b9 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,8 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
   - Autoconf 2.62 and Automake 1.11.1 or newer are now required for
     bootstrapping Libtool.  For using Libtool in your own projects,
     Autoconf 2.59 and Automake 1.9.6 should still work.
+  - The fix_srcfile_path variable has been replaced by a more thorough
+    mechanism triggered by the to_tool_file_cmd variable.
 
 * Changes in supported systems or compilers:
 
diff --git a/configure.ac b/configure.ac
index aaa946f..d36adde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,6 +203,7 @@ LT_LANG(Windows Resource)
 # Ensure the correct file name (and path) conversion function
 # is available to the test suite.
 AC_SUBST([to_host_file_cmd])dnl
+AC_SUBST([to_tool_file_cmd])dnl
 
 ## --------------------------- ##
 ## Work out which tests to run ##
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 573536e..5a76e26 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -6230,6 +6230,16 @@ relative file names are used in the build system, and non-Windows-supported
 Unix idioms such as symlinks and mount points are avoided, this scenario should
 work.
 
+If you must use absolute file names, you will have to force Libtool to convert
+file names for the toolchain in this case, by doing the following before you
+run configure:
+
+@example
+@kbd{export lt_cv_to_tool_file_cmd=func_convert_file_cygwin_to_w32}
+@end example
+@cindex lt_cv_to_tool_file_cmd
+@cindex func_convert_file_cygwin_to_w32
+
 In the @emph{lying} Cygwin to MinGW cross compile case, you lie to the
 build system:
 
@@ -6247,14 +6257,18 @@ running under @emph{Cygwin} and not MinGW.  In this case, libtool does
 that you are performing a native MinGW build.  However, as described in
 (@pxref{Native MinGW File Name Conversion}), that scenario triggers an ``MSYS
 to Windows'' file name conversion.  This, of course, is the wrong conversion
-since we are actually running under Cygwin.  To force the correct file name
-conversion in this situation, you should do the following @emph{before}
+since we are actually running under Cygwin.  Also, the toolchain is expecting
+Windows file names (not Cygwin) but unless told so Libtool will feed Cygwin
+file names to the toolchain in this case.  To force the correct file name
+conversions in this situation, you should do the following @emph{before}
 running configure:
 
 @example
 @kbd{export lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32}
+@kbd{export lt_cv_to_tool_file_cmd=func_convert_file_cygwin_to_w32}
 @end example
 @cindex lt_cv_to_host_file_cmd
+@cindex lt_cv_to_tool_file_cmd
 @cindex func_convert_file_cygwin_to_w32
 
 Note that this relies on internal implementation details of libtool, and
@@ -6532,10 +6546,6 @@ specific directory.
 Same as @code{finish_cmds}, except the commands are not displayed.
 @end defvar
 
-@defvar fix_srcfile_path
-Expression to fix the shell variable @samp{$srcfile} for the compiler.
-@end defvar
-
 @defvar global_symbol_pipe
 A pipeline that takes the output of @code{NM}, and produces a listing of
 raw symbols followed by their C names.  For example:
@@ -6801,6 +6811,14 @@ Linker flag (passed through the C compiler) used to generate thread-safe
 libraries.
 @end defvar
 
+@defvar to_tool_file_cmd
+If the toolchain is not native to the build system (e.g.@: if you are using
+some Unix to drive the scripting together with a Windows toolchain running
+in Wine) this variable describes how to convert file names from the format
+used by the build system to the format used by the toolchain.  Normally set
+to @samp{func_convert_file_noop}.
+@end defvar
+
 @defvar version_type
 The library version numbering type.  One of @samp{libtool},
 @samp{freebsd-aout}, @samp{freebsd-elf}, @samp{irix}, @samp{linux},
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index c31f788..e5867b6 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -873,6 +873,18 @@ func_to_host_file ()
 # end func_to_host_file
 
 
+# func_to_tool_file ARG
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result.
+func_to_tool_file ()
+{
+  $opt_debug
+  $to_tool_file_cmd "$1"
+  func_to_tool_file_result=$func_to_host_file_result
+}
+# end func_to_tool_file
+
+
 # func_convert_file_noop ARG
 # Copy ARG to func_to_host_file_result.
 func_convert_file_noop ()
@@ -1364,9 +1376,8 @@ compiler."
     func_append removelist " $lockfile"
     trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
 
-    if test -n "$fix_srcfile_path"; then
-      eval srcfile=\"$fix_srcfile_path\"
-    fi
+    func_to_tool_file "$srcfile"
+    srcfile=$func_to_tool_file_result
     func_quote_for_eval "$srcfile"
     qsrcfile=$func_quote_for_eval_result
 
@@ -7325,11 +7336,13 @@ EOF
 		save_libobjs=$libobjs
 		save_output=$output
 		output=${output_objdir}/${output_la}.nm
-		libobjs=$nm_file_list_spec$output
+		func_to_tool_file "$output"
+		libobjs=$nm_file_list_spec$func_to_tool_file_result
 		func_append delfiles " $output"
 		func_verbose "creating $NM input file list: $output"
 		for obj in $save_libobjs; do
-		  $ECHO "$obj"
+		  func_to_tool_file "$obj"
+		  $ECHO "$func_to_tool_file_result"
 		done > "$output"
 		eval cmd=\"$cmd1\"
 		func_show_eval "$cmd" 'exit $?'
@@ -7474,10 +7487,13 @@ EOF
 	    echo 'INPUT (' > $output
 	    for obj in $save_libobjs
 	    do
-	      $ECHO "$obj" >> $output
+	      func_to_tool_file "$obj"
+	      $ECHO "$func_to_tool_file_result" >> $output
 	    done
 	    echo ')' >> $output
 	    func_append delfiles " $output"
+	    func_to_tool_file "$output"
+	    output=$func_to_tool_file_result
 	  elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
 	    output=${output_objdir}/${output_la}.lnk
 	    func_verbose "creating linker input file list: $output"
@@ -7491,10 +7507,12 @@ EOF
 	    fi
 	    for obj
 	    do
-	      $ECHO "$obj" >> $output
+	      func_to_tool_file "$obj"
+	      $ECHO "$func_to_tool_file_result" >> $output
 	    done
 	    func_append delfiles " $output"
-	    output=$firstobj\"$file_list_spec$output\"
+	    func_to_tool_file "$output"
+	    output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
 	  else
 	    if test -n "$save_libobjs"; then
 	      func_verbose "creating reloadable object files..."
@@ -8306,9 +8324,11 @@ EOF
 	  func_verbose "using command file archive linking..."
 	  for obj in $oldobjs
 	  do
-	    $ECHO "$obj"
+	    func_to_tool_file "$obj"
+	    $ECHO "$func_to_tool_file_result"
 	  done > $output_objdir/$libname.libcmd
-	  oldobjs=" $archiver_list_spec$output_objdir/$libname.libcmd"
+	  func_to_tool_file "$output_objdir/$libname.libcmd"
+	  oldobjs=" $archiver_list_spec$func_to_tool_file_result"
 	  cmds=$old_archive_cmds
 	else
 	  # the command line is too long to link in one step, link in parts
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 666130d..132dd2c 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -5036,7 +5036,6 @@ _LT_EOF
 	_LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
 	# FIXME: Should let the user specify the lib program.
 	_LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
-	_LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
 	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 	;;
       esac
@@ -5571,8 +5570,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
     to runtime path list])
 _LT_TAGDECL([], [link_all_deplibs], [0],
     [Whether libtool must link a program against all its dependency libraries])
-_LT_TAGDECL([], [fix_srcfile_path], [1],
-    [Fix the shell variable $srcfile for the compiler])
 _LT_TAGDECL([], [always_export_symbols], [0],
     [Set to "yes" if exported symbols are required])
 _LT_TAGDECL([], [export_symbols_cmds], [2],
@@ -7718,5 +7715,23 @@ to_host_file_cmd=$lt_cv_to_host_file_cmd
 AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
 _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
          [0], [convert $build file names to $host format])dnl
-])# _LT_PATH_CONVERSION_FUNCTIONS
 
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+        ;;
+    esac
+    ;;
+esac
+])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+         [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
diff --git a/tests/testsuite.at b/tests/testsuite.at
index c646c5d..ea13ec9 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -37,7 +37,7 @@ for tool in ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF; do
 done
 export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF
 eval `$LIBTOOL --config | grep '^EGREP='`
-eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias|to_host_file_cmd)='`
+eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|build_alias|to_host_file_cmd|to_tool_file_cmd)='`
 configure_options=--prefix=/nonexistent
 if test -n "$host_alias"; then
   configure_options="$configure_options --host $host_alias"
@@ -48,6 +48,9 @@ fi
 if test -n "$to_host_file_cmd"; then
   configure_options="$configure_options lt_cv_to_host_file_cmd=$to_host_file_cmd"
 fi
+if test -n "$to_tool_file_cmd"; then
+  configure_options="$configure_options lt_cv_to_tool_file_cmd=$to_tool_file_cmd"
+fi
 if (FOO=bar; unset FOO) >/dev/null 2>&1; then
   unset=unset
 else


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 07 01:16:20 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OsqXc-000826-Mf
	for mharc-libtool-commit@gnu.org; Tue, 07 Sep 2010 01:16:20 -0400
Received: from [140.186.70.92] (port=39394 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OsqXa-000814-6A
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 01:16:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsqXY-0007wG-Rj
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 01:16:18 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54381
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsqXY-0007wB-Pj
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 01:16:16 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsqXY-00042F-Jw
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 05:16:16 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsqXY-0001zT-21
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 05:16:16 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d243a1ec536d9e154c6dfca271352fe991d854c2
X-Git-Newrev: 25d44a7ae02548f1cc834e5a251fa3611643cf7d
Message-Id: <E1OsqXY-0001zT-21@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 07 Sep 2010 05:16:16 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-159-g25d44a7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Sep 2010 05:16: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  25d44a7ae02548f1cc834e5a251fa3611643cf7d (commit)
      from  d243a1ec536d9e154c6dfca271352fe991d854c2 (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 25d44a7ae02548f1cc834e5a251fa3611643cf7d
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Sep 7 07:04:49 2010 +0200

    Convert POSIX file names to toolchain format for MSVC
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
    [cygwin, mingw, pw32, cegcc] <cl*, postlink_cmds>: Make
    sure the -outputresource: file name for the manifest tool is
    in w32 format.
    <cl*, archive_expsym_cmds>: Likewise for the MSVC command file
    containing the exports and the output file name.
    * libltdl/config/ltmain.m4sh (func_mode_link): Precalculate the
    toolchain format of the output_objdir file name and store it in
    the tool_output_objdir variable. Also replace any occurrence of
    @TOOL_OUTPUT@ in postlink_cmds with the toolchain version of the
    @OUTPUT@ content.
    * doc/libtool.texi (libtool script content): Update description
    of postlink_cmds to mention @TOOL_OUTPUT@.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog                  |   17 +++++++++++++++++
 doc/libtool.texi           |    9 +++++----
 libltdl/config/ltmain.m4sh |   11 ++++++++---
 libltdl/m4/libtool.m4      |   21 +++++++++++++++------
 4 files changed, 45 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f177fdc..5af41fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2010-09-07  Peter Rosin  <peda@lysator.liu.se>
+
+	Convert POSIX file names to toolchain format for MSVC
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
+	[cygwin, mingw, pw32, cegcc] <cl*, postlink_cmds>: Make
+	sure the -outputresource: file name for the manifest tool is
+	in w32 format.
+	<cl*, archive_expsym_cmds>: Likewise for the MSVC command file
+	containing the exports and the output file name.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Precalculate the
+	toolchain format of the output_objdir file name and store it in
+	the tool_output_objdir variable. Also replace any occurrence of
+	@TOOL_OUTPUT@ in postlink_cmds with the toolchain version of the
+	@OUTPUT@ content.
+	* doc/libtool.texi (libtool script content): Update description
+	of postlink_cmds to mention @TOOL_OUTPUT@.
+
 2010-09-06  Peter Rosin  <peda@lysator.liu.se>
 
 	Use func_to_tool_file instead of fix_srcfile_path.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 5a76e26..7d7eb76 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -6747,11 +6747,12 @@ Commands run after uninstalling a shared or static library, respectively.
 
 @defvar postlink_cmds
 Commands necessary for finishing linking programs. @code{postlink_cmds}
-are executed immediately after the program is linked. Any occurance of
+are executed immediately after the program is linked.  Any occurrence of
 the string @code{@@OUTPUT@@} in @code{postlink_cmds} is replaced by the
-name of the created executable (i.e. not the wrapper, if a wrapper is
-generated) prior to execution. Normally disabled (i.e.
-@code{postlink_cmds} empty).
+name of the created executable (i.e.@: not the wrapper, if a wrapper is
+generated) prior to execution.  Similarly, @code{@@TOOL_OUTPUT@@} is
+replaced by the toolchain format of @{@@OUTPUT@@}.  Normally disabled
+(i.e.@: @code{postlink_cmds} empty).
 @end defvar
 
 @defvar reload_cmds
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index e5867b6..1a7bd96 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5196,6 +5196,8 @@ func_mode_link ()
 
     func_dirname "$output" "/" ""
     output_objdir="$func_dirname_result$objdir"
+    func_to_tool_file "$output_objdir/"
+    tool_output_objdir=$func_to_tool_file_result
     # Create the object directory.
     func_mkdir_p "$output_objdir"
 
@@ -8051,7 +8053,8 @@ EOF
 	func_show_eval "$link_command" 'exit_status=$?'
 
 	if test -n "$postlink_cmds"; then
-	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g'`
+	  func_to_tool_file "$output"
+	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
 	  func_execute_cmds "$postlink_cmds" 'exit $?'
 	fi
 
@@ -8102,7 +8105,8 @@ EOF
 	func_show_eval "$link_command" 'exit $?'
 
 	if test -n "$postlink_cmds"; then
-	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g'`
+	  func_to_tool_file "$output"
+	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
 	  func_execute_cmds "$postlink_cmds" 'exit $?'
 	fi
 
@@ -8140,7 +8144,8 @@ EOF
       func_show_eval "$link_command" 'exit $?'
 
       if test -n "$postlink_cmds"; then
-	postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+	func_to_tool_file "$output_objdir/$outputname"
+	postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
 	func_execute_cmds "$postlink_cmds" 'exit $?'
       fi
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 132dd2c..ba48ce3 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -5004,7 +5004,7 @@ _LT_EOF
 	  else
 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 	  fi~
-	  $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
+	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL~
 	  linknames='
 	# The linker will not automatically build a static lib if we build a DLL.
 	# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
@@ -5013,12 +5013,16 @@ _LT_EOF
 	# Don't use ranlib
 	_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
 	_LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+	  lt_tool_outputfile="@TOOL_OUTPUT@"~
 	  case $lt_outputfile in
 	    *.exe|*.EXE) ;;
-	    *) lt_outputfile="$lt_outputfile.exe" ;;
+	    *)
+	      lt_outputfile="$lt_outputfile.exe"
+	      lt_tool_outputfile="$lt_tool_outputfile.exe"
+	      ;;
 	  esac~
 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
-	    $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
+	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 	    $RM "$lt_outputfile.manifest";
 	  fi'
 	;;
@@ -5999,7 +6003,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    else
 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 	    fi~
-	    $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
+	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL~
 	    linknames='
 	  # The linker will not automatically build a static lib if we build a DLL.
 	  # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
@@ -6007,12 +6011,17 @@ if test "$_lt_caught_CXX_error" != yes; then
 	  # Don't use ranlib
 	  _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
 	  _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+	    lt_tool_outputfile="@TOOL_OUTPUT@"~
 	    case $lt_outputfile in
 	      *.exe|*.EXE) ;;
-	      *) lt_outputfile="$lt_outputfile.exe" ;;
+	      *)
+		lt_outputfile="$lt_outputfile.exe"
+		lt_tool_outputfile="$lt_tool_outputfile.exe"
+		;;
 	    esac~
+	    func_to_tool_file "$lt_outputfile"~
 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
-	      $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
+	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 	      $RM "$lt_outputfile.manifest";
 	    fi'
 	  ;;


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 07 05:10:01 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OsuBk-0004rA-JK
	for mharc-libtool-commit@gnu.org; Tue, 07 Sep 2010 05:10:01 -0400
Received: from [140.186.70.92] (port=51310 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OsuBf-0004oT-Qy
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 05:09:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsuBd-0001V5-1T
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 05:09:55 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46063
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsuBd-0001V0-09
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 05:09:53 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsuBc-0006tV-U0
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 09:09:52 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OsuBc-0004Hg-OO
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 09:09:52 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 25d44a7ae02548f1cc834e5a251fa3611643cf7d
X-Git-Newrev: 4faba0449e5abe8d136bbcd30544888b4b9dcdd3
Message-Id: <E1OsuBc-0004Hg-OO@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 07 Sep 2010 09:09:52 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-160-g4faba04
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Sep 2010 09:09:58 -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  4faba0449e5abe8d136bbcd30544888b4b9dcdd3 (commit)
      from  25d44a7ae02548f1cc834e5a251fa3611643cf7d (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 4faba0449e5abe8d136bbcd30544888b4b9dcdd3
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Sep 7 11:07:10 2010 +0200

    Fixup texi typo in previous.
    
    * doc/libtool.texi (libtool script content) <postlink_cmds>:
    Add missing 'code' command.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 5af41fb..65d0a8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-07  Peter Rosin  <peda@lysator.liu.se>
 
+	Fixup texi typo in previous.
+	* doc/libtool.texi (libtool script content) <postlink_cmds>:
+	Add missing 'code' command.
+
 	Convert POSIX file names to toolchain format for MSVC
 	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
 	[cygwin, mingw, pw32, cegcc] <cl*, postlink_cmds>: Make
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 7d7eb76..9314612 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -6751,7 +6751,7 @@ are executed immediately after the program is linked.  Any occurrence of
 the string @code{@@OUTPUT@@} in @code{postlink_cmds} is replaced by the
 name of the created executable (i.e.@: not the wrapper, if a wrapper is
 generated) prior to execution.  Similarly, @code{@@TOOL_OUTPUT@@} is
-replaced by the toolchain format of @{@@OUTPUT@@}.  Normally disabled
+replaced by the toolchain format of @code{@@OUTPUT@@}.  Normally disabled
 (i.e.@: @code{postlink_cmds} empty).
 @end defvar
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 07 12:59:27 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ot1W2-0006tI-8E
	for mharc-libtool-commit@gnu.org; Tue, 07 Sep 2010 12:59:26 -0400
Received: from [140.186.70.92] (port=35352 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ot1Vr-0006g7-EQ
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 12:59:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ot16K-0003HG-T9
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 12:32:54 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:33063
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ot16K-0003H5-RW
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 12:32:52 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ot16K-0003yr-B5
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 16:32:52 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ot16K-0007JG-11
	for libtool-commit@gnu.org; Tue, 07 Sep 2010 16:32:52 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 4faba0449e5abe8d136bbcd30544888b4b9dcdd3
X-Git-Newrev: 89819ce23bf888fa51903f552d2105d6035ec90b
Message-Id: <E1Ot16K-0007JG-11@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 07 Sep 2010 16:32:52 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-161-g89819ce
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Sep 2010 16:59: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  89819ce23bf888fa51903f552d2105d6035ec90b (commit)
      from  4faba0449e5abe8d136bbcd30544888b4b9dcdd3 (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 89819ce23bf888fa51903f552d2105d6035ec90b
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Sep 7 18:31:18 2010 +0200

    Adjust naming of MSVC import libraries.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
    [pw32, cegcc] <cl*, library_names_spec>: Adjust naming of the
    import library from foo-<major-version>.lib to foo.dll.lib, to
    avoid clashes with the static library for unversioned libraries.
    (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw, cygwin, pw32]
    [cegcc] <cl*, archive_expsym_cmds>: Explicitely name the import
    library to match the above.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 65d0a8b..061ca29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2010-09-07  Peter Rosin  <peda@lysator.liu.se>
 
+	Adjust naming of MSVC import libraries.
+	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
+	[pw32, cegcc] <cl*, library_names_spec>: Adjust naming of the
+	import library from foo-<major-version>.lib to foo.dll.lib, to
+	avoid clashes with the static library for unversioned libraries.
+	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw, cygwin, pw32]
+	[cegcc] <cl*, archive_expsym_cmds>: Explicitely name the import
+	library to match the above.
+
 	Fixup texi typo in previous.
 	* doc/libtool.texi (libtool script content) <postlink_cmds>:
 	Add missing 'code' command.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index ba48ce3..7996c34 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2312,7 +2312,7 @@ m4_if([$1], [],[
     # Native MSVC
     libname_spec='$name'
     soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}.lib'
+    library_names_spec='${libname}.dll.lib'
     sys_lib_search_path_spec="$LIB"
     if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
       # It is most probably a Windows format PATH.
@@ -5004,7 +5004,7 @@ _LT_EOF
 	  else
 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 	  fi~
-	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL~
+	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 	  linknames='
 	# The linker will not automatically build a static lib if we build a DLL.
 	# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
@@ -6003,7 +6003,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    else
 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 	    fi~
-	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL~
+	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 	    linknames='
 	  # The linker will not automatically build a static lib if we build a DLL.
 	  # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 08 16:26:16 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OtRDk-0007oa-14
	for mharc-libtool-commit@gnu.org; Wed, 08 Sep 2010 16:26:16 -0400
Received: from [140.186.70.92] (port=51105 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OtRDh-0007oT-6F
	for libtool-commit@gnu.org; Wed, 08 Sep 2010 16:26:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtRDf-0005PR-Mu
	for libtool-commit@gnu.org; Wed, 08 Sep 2010 16:26:13 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:56588
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtRDf-0005PL-Je
	for libtool-commit@gnu.org; Wed, 08 Sep 2010 16:26:11 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtRDf-0007lu-2s
	for libtool-commit@gnu.org; Wed, 08 Sep 2010 20:26:11 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtRDe-000470-97
	for libtool-commit@gnu.org; Wed, 08 Sep 2010 20:26:11 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 89819ce23bf888fa51903f552d2105d6035ec90b
X-Git-Newrev: 0b71549aa23299ed3909e1483d0532a0a79a1e7b
Message-Id: <E1OtRDe-000470-97@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 08 Sep 2010 20:26:10 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-162-g0b71549
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 20:26: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  0b71549aa23299ed3909e1483d0532a0a79a1e7b (commit)
      from  89819ce23bf888fa51903f552d2105d6035ec90b (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 0b71549aa23299ed3909e1483d0532a0a79a1e7b
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Wed Sep 8 13:39:52 2010 +0200

    Mention adjustment of naming of MSVC import libraries in NEWS.
    
    * NEWS: Mention the change in import library naming on MSVC.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog |    5 +++++
 NEWS      |    4 +++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 061ca29..8e17222 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-08  Peter Rosin  <peda@lysator.liu.se>
+
+	Mention adjustment of naming of MSVC import libraries in NEWS.
+	* NEWS: Mention the change in import library naming on MSVC.
+
 2010-09-07  Peter Rosin  <peda@lysator.liu.se>
 
 	Adjust naming of MSVC import libraries.
diff --git a/NEWS b/NEWS
index 8cf68b9..1a6e300 100644
--- a/NEWS
+++ b/NEWS
@@ -33,7 +33,9 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
   - Initial support for the Microsoft C/C++ Compiler, with help from
     the compile script in unreleased Automake 1.12. Override the manifest
     tool used to embed the manifest resource through the environment
-    variable MANIFEST_TOOL.
+    variable MANIFEST_TOOL. Please note that the import library naming
+    has changed (from foo-2.lib to foo.dll.lib) from when the code lived
+    in its own git branch.
 
 * Bug fixes:
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 09 14:57:43 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OtmJa-0005OU-Ua
	for mharc-libtool-commit@gnu.org; Thu, 09 Sep 2010 14:57:42 -0400
Received: from [140.186.70.92] (port=51970 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OtmJY-0005MF-47
	for libtool-commit@gnu.org; Thu, 09 Sep 2010 14:57:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtmJW-00023f-1l
	for libtool-commit@gnu.org; Thu, 09 Sep 2010 14:57:39 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:53559
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtmJV-00023U-UE
	for libtool-commit@gnu.org; Thu, 09 Sep 2010 14:57:38 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtmJV-0007Nb-IU
	for libtool-commit@gnu.org; Thu, 09 Sep 2010 18:57:37 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OtmJU-0007Mh-6A
	for libtool-commit@gnu.org; Thu, 09 Sep 2010 18:57:37 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0b71549aa23299ed3909e1483d0532a0a79a1e7b
X-Git-Newrev: 18a85621b92fbeac985484679a2160c7bb2433c6
Message-Id: <E1OtmJU-0007Mh-6A@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 09 Sep 2010 18:57:37 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-163-g18a8562
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2010 18:57: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  18a85621b92fbeac985484679a2160c7bb2433c6 (commit)
      from  0b71549aa23299ed3909e1483d0532a0a79a1e7b (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 18a85621b92fbeac985484679a2160c7bb2433c6
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Thu Sep 9 20:51:27 2010 +0200

    Fix dependency tracking for MSYS/MinGW.
    
    * libltdl/config/ltmain.m4sh (func_to_tool_file): Add lazy
    argument which allows the user to specify conversions that are
    not desired.
    (func_mode_compile): Don't convert source files on MSYS, as
    MSYS does it for us. This fixes a regression introduced by
    "Use func_to_tool_file instead of fix_srcfile_path".
    Reported by Charles Wilson.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 8e17222..5d4876b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-09  Peter Rosin  <peda@lysator.liu.se>
+
+	Fix dependency tracking for MSYS/MinGW.
+	* libltdl/config/ltmain.m4sh (func_to_tool_file): Add lazy
+	argument which allows the user to specify conversions that are
+	not desired.
+	(func_mode_compile): Don't convert source files on MSYS, as
+	MSYS does it for us. This fixes a regression introduced by
+	"Use func_to_tool_file instead of fix_srcfile_path".
+	Reported by Charles Wilson.
+
 2010-09-08  Peter Rosin  <peda@lysator.liu.se>
 
 	Mention adjustment of naming of MSVC import libraries in NEWS.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 1a7bd96..b2d0f88 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -873,14 +873,22 @@ func_to_host_file ()
 # end func_to_host_file
 
 
-# func_to_tool_file ARG
+# func_to_tool_file ARG LAZY
 # converts the file name ARG from $build format to toolchain format. Return
-# result in func_to_tool_file_result.
+# result in func_to_tool_file_result.  If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
 func_to_tool_file ()
 {
   $opt_debug
-  $to_tool_file_cmd "$1"
-  func_to_tool_file_result=$func_to_host_file_result
+  case ,$2, in
+    *,"$to_tool_file_cmd",*)
+      func_to_tool_file_result=$1
+      ;;
+    *)
+      $to_tool_file_cmd "$1"
+      func_to_tool_file_result=$func_to_host_file_result
+      ;;
+  esac
 }
 # end func_to_tool_file
 
@@ -1376,7 +1384,7 @@ compiler."
     func_append removelist " $lockfile"
     trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
 
-    func_to_tool_file "$srcfile"
+    func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
     srcfile=$func_to_tool_file_result
     func_quote_for_eval "$srcfile"
     qsrcfile=$func_quote_for_eval_result


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 10 16:47:20 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OuAVE-0005AN-Qy
	for mharc-libtool-commit@gnu.org; Fri, 10 Sep 2010 16:47:20 -0400
Received: from [140.186.70.92] (port=44962 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OuAVB-00059n-A0
	for libtool-commit@gnu.org; Fri, 10 Sep 2010 16:47:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuAV9-0008F7-73
	for libtool-commit@gnu.org; Fri, 10 Sep 2010 16:47:17 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:43065
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuAV9-0008Ex-4q
	for libtool-commit@gnu.org; Fri, 10 Sep 2010 16:47:15 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuAV8-0001eR-NB
	for libtool-commit@gnu.org; Fri, 10 Sep 2010 20:47:14 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuAV8-0007tH-Hd
	for libtool-commit@gnu.org; Fri, 10 Sep 2010 20:47:14 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 18a85621b92fbeac985484679a2160c7bb2433c6
X-Git-Newrev: 7db93c02180c1206b203ddc7247c234c404a2efd
Message-Id: <E1OuAV8-0007tH-Hd@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 10 Sep 2010 20:47:14 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-164-g7db93c0
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Sep 2010 20:47: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  7db93c02180c1206b203ddc7247c234c404a2efd (commit)
      from  18a85621b92fbeac985484679a2160c7bb2433c6 (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 7db93c02180c1206b203ddc7247c234c404a2efd
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Sep 10 15:04:17 2010 +0200

    Convert file name to toolchain format when invoking $NM.
    
    * libltdl/config/ltmain.m4sh (func_generate_dlsyms)
    (func_win32_libid, func_cygming_gnu_implib_p)
    (func_cygming_ms_implib_p): When using the name lister to find
    symbols in files, convert the file names to a format appropriate
    for the tool. Fixes testsuite issues in mdemo-static-make.test
    and mdemo-make.test when doing a cross from Cygwin/Wine to MinGW
    using MinGW native tools (a.k.a. a "faked" cross).
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 5d4876b..564589d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-10  Peter Rosin  <peda@lysator.liu.se>
+
+	Convert file name to toolchain format when invoking $NM.
+	* libltdl/config/ltmain.m4sh (func_generate_dlsyms)
+	(func_win32_libid, func_cygming_gnu_implib_p)
+	(func_cygming_ms_implib_p): When using the name lister to find
+	symbols in files, convert the file names to a format appropriate
+	for the tool. Fixes testsuite issues in mdemo-static-make.test
+	and mdemo-make.test when doing a cross from Cygwin/Wine to MinGW
+	using MinGW native tools (a.k.a. a "faked" cross).
+
 2010-09-09  Peter Rosin  <peda@lysator.liu.se>
 
 	Fix dependency tracking for MSYS/MinGW.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index b2d0f88..2b829d3 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2505,8 +2505,9 @@ extern \"C\" {
 	  # Add our own program objects to the symbol list.
 	  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'"
+	    func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+	    func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
+	    $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
 	  done
 
 	  if test -n "$exclude_expsyms"; then
@@ -2581,20 +2582,23 @@ extern \"C\" {
 	            func_warning "Could not compute DLL name from $name"
 	            eval '$ECHO ": $name " >> "$nlist"'
 	          fi
-	          eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe |
+	          func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	          eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
 	            $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
 	        }
 	      else # not an import lib
 	        $opt_dry_run || {
 	          eval '$ECHO ": $name " >> "$nlist"'
-	          eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+	          func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	          eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
 	        }
 	      fi
 	    ;;
 	    *)
 	      $opt_dry_run || {
 	        eval '$ECHO ": $name " >> "$nlist"'
-	        eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+	        func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	        eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
 	      }
 	    ;;
           esac
@@ -2756,7 +2760,8 @@ func_win32_libid ()
     # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
        $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
-      win32_nmres=`eval $NM -f posix -A $1 |
+      func_to_tool_file "$1" func_convert_file_msys_to_w32
+      win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
 	$SED -n -e '
 	    1,100{
 		/ I /{
@@ -2868,7 +2873,8 @@ func_cygming_dll_for_implib_fallback_core ()
 func_cygming_gnu_implib_p ()
 {
   $opt_debug
-  func_cygming_gnu_implib_tmp=`$NM $1 | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
   test -n "$func_cygming_gnu_implib_tmp"
 }
 
@@ -2879,7 +2885,8 @@ func_cygming_gnu_implib_p ()
 func_cygming_ms_implib_p ()
 {
   $opt_debug
-  func_cygming_ms_implib_tmp=`$NM $1 | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
   test -n "$func_cygming_ms_implib_tmp"
 }
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Sep 11 11:16:49 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OuRov-0005Ma-Qf
	for mharc-libtool-commit@gnu.org; Sat, 11 Sep 2010 11:16:49 -0400
Received: from [140.186.70.92] (port=45807 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OuRos-0005MV-Rs
	for libtool-commit@gnu.org; Sat, 11 Sep 2010 11:16:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuRor-00045V-ID
	for libtool-commit@gnu.org; Sat, 11 Sep 2010 11:16:46 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:37118
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuRor-00045M-CR
	for libtool-commit@gnu.org; Sat, 11 Sep 2010 11:16:45 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuRor-0006fz-2p
	for libtool-commit@gnu.org; Sat, 11 Sep 2010 15:16:45 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuRoq-0006CL-Hf
	for libtool-commit@gnu.org; Sat, 11 Sep 2010 15:16:45 +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: 7db93c02180c1206b203ddc7247c234c404a2efd
X-Git-Newrev: 383b2e2954834fbf145fe5c86a2db8fc6d465f7b
Message-Id: <E1OuRoq-0006CL-Hf@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 11 Sep 2010 15:16:44 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-165-g383b2e2
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Sep 2010 15:16:48 -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  383b2e2954834fbf145fe5c86a2db8fc6d465f7b (commit)
      from  7db93c02180c1206b203ddc7247c234c404a2efd (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 383b2e2954834fbf145fe5c86a2db8fc6d465f7b
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sat Sep 11 01:02:29 2010 -0400

    Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'
    
    * libltdl/config/ltmain.m4sh (func_generate_dlsyms): Fix obvious
    typo, $sharedlib_from_linklib_cmd missing '_cmd'.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index 564589d..dc34553 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-11  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'
+
+	* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Fix obvious
+	typo, $sharedlib_from_linklib_cmd missing '_cmd'.
+
 2010-09-10  Peter Rosin  <peda@lysator.liu.se>
 
 	Convert file name to toolchain format when invoking $NM.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 2b829d3..d8e0fe1 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2571,7 +2571,7 @@ extern \"C\" {
 	            dlprefile_dlbasename="$func_basename_result"
 	          else
 	            # no lafile. user explicitly requested -dlpreopen <import library>.
-	            $sharedlib_from_linklib "$dlprefile"
+	            $sharedlib_from_linklib_cmd "$dlprefile"
 	            dlprefile_dlbasename=$sharedlib_from_linklib_result
 	          fi
 	        fi


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 05:22:44 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ouiln-0000Lp-Qb
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 05:22:43 -0400
Received: from [140.186.70.92] (port=42172 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ouilk-0000LE-U5
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 05:22:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouilj-0003DG-58
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 05:22:40 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:42620
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouilj-0003DA-0l
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 05:22:39 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouili-0002t9-GI
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:22:38 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouilg-0002Oc-Mf
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:22: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: 383b2e2954834fbf145fe5c86a2db8fc6d465f7b
X-Git-Newrev: 3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873
Message-Id: <E1Ouilg-0002Oc-Mf@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 09:22:38 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-170-g3a94f44
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 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  3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873 (commit)
       via  327f014068d2f709f0e38282d6b36725573a45c7 (commit)
       via  b81fd4ef009c24a86a7e64727ea09efb410ea149 (commit)
       via  ada610770b6a30fcf8b22cd875c2002183765c4f (commit)
       via  bf1d52eb53a6f8738105954f9e1e9533da091461 (commit)
      from  383b2e2954834fbf145fe5c86a2db8fc6d465f7b (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 3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873
Merge: 383b2e2 327f014
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Sep 12 10:59:01 2010 +0200

    Merge branch 'lto'
    
    * lto:
      Support GCC LTO on GNU/Linux.
      Disable GCC LTO for verbose library extraction.
      Save and restore CFLAGS properly inside libtool.m4 macros.

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

Summary of changes:
 ChangeLog                  |   28 ++++++++++++++++++++++++++
 NEWS                       |    1 +
 libltdl/config/ltmain.m4sh |    4 ++-
 libltdl/m4/libtool.m4      |   47 +++++++++++++++++++++++++++++++++----------
 4 files changed, 68 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc34553..acca455 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -245,6 +245,34 @@
 
 2010-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Support GCC LTO on GNU/Linux.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Allow through
+	flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin.
+	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols
+	starting with __gnu_lto.
+	(_LT_LINKER_SHLIBS) [linux] <archive_cmds, archive_expsyms_cmds>:
+	Add $pic_flag for GCC.
+	(_LT_LANG_CXX_CONFIG) [linux] <archive_cmds, archive_expsyms_cmds>:
+	Likewise.
+	(_LT_SYS_HIDDEN_LIBDEPS): Ignore files matching *.lto.o.
+	* NEWS: Update.
+
+	Disable GCC LTO for verbose library extraction.
+	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Temporarily
+	append -fno-lto or -fno-whopr to CFLAGS if CC or CFLAGS (which
+	are substituted with the per-language variables here) contain
+	-flto or match -fwhopr*, respectively.
+
+	Save and restore CFLAGS properly inside libtool.m4 macros.
+	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different
+	temporary variables for saved and restored values of $LIBS,
+	$CFLAGS, to avoid overlap with the *_CONFIG macros.
+	(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
+	(_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore
+	$CFLAGS, and override it with per-language flags, so that in
+	case output_verbose_link_cmd uses $CFLAGS, the right flags are
+	used.
+
 	Work around yet another shell quoting portability issue.
 	* configure.ac: Avoid nonportable quoted alternate variable
 	value in unquoted here document, so Solaris 10 sh and Tru64
diff --git a/NEWS b/NEWS
index 1a6e300..5a2531c 100644
--- a/NEWS
+++ b/NEWS
@@ -101,6 +101,7 @@ New in 2.2.7b 2010-05-20: git version 2.2.7a, Libtool team:
   - With binutils 2.19.50+, shared libraries can be built on AIX.
   - Initial support for the Cuda Compiler Driver on GNU/Linux.
   - Support for Haiku (i586-pc-haiku).
+  - Initial support for GCC link-time optimization (LTO) flags.
 
 * Bug fixes:
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d8e0fe1..509a421 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5040,8 +5040,10 @@ func_mode_link ()
       # @file                GCC response files
       # -tp=*                Portland pgcc target processor selection
       # --sysroot=*          for sysroot support
+      # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*)
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+      -O*|-flto*|-fwhopr|-fuse-linker-plugin)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 7996c34..895f28d 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3615,6 +3615,7 @@ for ac_symprfx in "" "_"; do
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi
+  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
   # Check to see that the pipe works correctly.
   pipe_works=no
@@ -3697,15 +3698,15 @@ static const void *lt_preloaded_setup() {
 _LT_EOF
 	  # Now try linking the two files.
 	  mv conftest.$ac_objext conftstm.$ac_objext
-	  lt_save_LIBS="$LIBS"
-	  lt_save_CFLAGS="$CFLAGS"
+	  lt_globsym_save_LIBS=$LIBS
+	  lt_globsym_save_CFLAGS=$CFLAGS
 	  LIBS="conftstm.$ac_objext"
 	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
 	    pipe_works=yes
 	  fi
-	  LIBS="$lt_save_LIBS"
-	  CFLAGS="$lt_save_CFLAGS"
+	  LIBS=$lt_globsym_save_LIBS
+	  CFLAGS=$lt_globsym_save_CFLAGS
 	else
 	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 	fi
@@ -4664,7 +4665,7 @@ _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 	 && test "$tmp_diet" = no
       then
-	tmp_addflag=
+	tmp_addflag=' $pic_flag'
 	tmp_sharedflag='-shared'
 	case $cc_basename,$host_cpu in
         pgcc*)				# Portland Group C compiler
@@ -5749,6 +5750,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
   # Allow CC to be a program name with arguments.
   lt_save_CC=$CC
+  lt_save_CFLAGS=$CFLAGS
   lt_save_LD=$LD
   lt_save_GCC=$GCC
   GCC=$GXX
@@ -5766,6 +5768,7 @@ if test "$_lt_caught_CXX_error" != yes; then
   fi
   test -z "${LDCXX+set}" || LD=$LDCXX
   CC=${CXX-"c++"}
+  CFLAGS=$CXXFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_CC_BASENAME([$compiler])
@@ -5787,8 +5790,8 @@ if test "$_lt_caught_CXX_error" != yes; then
       # Check if GNU C++ uses GNU ld as the underlying linker, since the
       # archiving commands below assume that GNU ld is being used.
       if test "$with_gnu_ld" = yes; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -6739,6 +6742,7 @@ if test "$_lt_caught_CXX_error" != yes; then
   fi # test -n "$compiler"
 
   CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
   LDCXX=$LD
   LD=$lt_save_LD
   GCC=$lt_save_GCC
@@ -6835,6 +6839,13 @@ public class foo {
 };
 _LT_EOF
 ])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+esac
+
 dnl Parse the compiler output and extract the necessary
 dnl objects, libraries and library flags.
 if AC_TRY_EVAL(ac_compile); then
@@ -6893,6 +6904,7 @@ if AC_TRY_EVAL(ac_compile); then
        prev=
        ;;
 
+    *.lto.$objext) ;; # Ignore GCC LTO objects
     *.$objext)
        # This assumes that the test object file only shows up
        # once in the compiler output.
@@ -6928,6 +6940,7 @@ else
 fi
 
 $RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
 
 # PORTME: override above test on systems where it is broken
 m4_if([$1], [CXX],
@@ -7077,7 +7090,9 @@ if test "$_lt_disable_F77" != yes; then
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   lt_save_GCC=$GCC
+  lt_save_CFLAGS=$CFLAGS
   CC=${F77-"f77"}
+  CFLAGS=$FFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_CC_BASENAME([$compiler])
@@ -7131,6 +7146,7 @@ if test "$_lt_disable_F77" != yes; then
 
   GCC=$lt_save_GCC
   CC="$lt_save_CC"
+  CFLAGS="$lt_save_CFLAGS"
 fi # test "$_lt_disable_F77" != yes
 
 AC_LANG_POP
@@ -7207,7 +7223,9 @@ if test "$_lt_disable_FC" != yes; then
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   lt_save_GCC=$GCC
+  lt_save_CFLAGS=$CFLAGS
   CC=${FC-"f95"}
+  CFLAGS=$FCFLAGS
   compiler=$CC
   GCC=$ac_cv_fc_compiler_gnu
 
@@ -7263,7 +7281,8 @@ if test "$_lt_disable_FC" != yes; then
   fi # test -n "$compiler"
 
   GCC=$lt_save_GCC
-  CC="$lt_save_CC"
+  CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
 fi # test "$_lt_disable_FC" != yes
 
 AC_LANG_POP
@@ -7300,10 +7319,12 @@ _LT_COMPILER_BOILERPLATE
 _LT_LINKER_BOILERPLATE
 
 # Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
 lt_save_GCC=$GCC
 GCC=yes
 CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
 compiler=$CC
 _LT_TAGVAR(compiler, $1)=$CC
 _LT_TAGVAR(LD, $1)="$LD"
@@ -7334,7 +7355,8 @@ fi
 AC_LANG_RESTORE
 
 GCC=$lt_save_GCC
-CC="$lt_save_CC"
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_GCJ_CONFIG
 
 
@@ -7369,9 +7391,11 @@ _LT_LINKER_BOILERPLATE
 
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
+lt_save_CFLAGS=$CFLAGS
 lt_save_GCC=$GCC
 GCC=
 CC=${RC-"windres"}
+CFLAGS=
 compiler=$CC
 _LT_TAGVAR(compiler, $1)=$CC
 _LT_CC_BASENAME([$compiler])
@@ -7384,7 +7408,8 @@ fi
 
 GCC=$lt_save_GCC
 AC_LANG_RESTORE
-CC="$lt_save_CC"
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_RC_CONFIG
 
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 05:42:37 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ouj53-00056s-6y
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 05:42:37 -0400
Received: from [140.186.70.92] (port=60610 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ouj4z-00056e-KK
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 05:42:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouj4y-0005ZT-94
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 05:42:33 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39737
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouj4y-0005ZN-54
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 05:42:32 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouj4x-00038d-RU
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:42:31 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouj4x-0003PU-Ow
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:42:31 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873
X-Git-Newrev: 0d01005082315a4a9818be139d1db2148407ce51
Message-Id: <E1Ouj4x-0003PU-Ow@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 09:42:31 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-171-g0d01005
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 09:42: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  0d01005082315a4a9818be139d1db2148407ce51 (commit)
      from  3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873 (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 0d01005082315a4a9818be139d1db2148407ce51
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Sep 12 11:40:36 2010 +0200

    Fix getopt.m4sh to require Autoconf 2.62 or newer.
    
    * libltdl/config/getopt.m4sh (m4_version_prereq): Require 2.62,
    not 2.61.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index acca455..3dd65c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix getopt.m4sh to require Autoconf 2.62 or newer.
+	* libltdl/config/getopt.m4sh (m4_version_prereq): Require 2.62,
+	not 2.61.
+
 2010-09-11  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'
diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh
index 806c1d4..2196743 100644
--- a/libltdl/config/getopt.m4sh
+++ b/libltdl/config/getopt.m4sh
@@ -50,11 +50,11 @@ m4_pattern_forbid([^_?m4go_])
 ## --------------------------- ##
 
 # We prefer m4sugar.m4 from Autoconf-2.64, but have fallbacks in this
-# section that work back as far as Autoconf-2.61.  This file is used
+# section that work back as far as Autoconf-2.62.  This file is used
 # at bootstrap time to generate the shell processing loop for ltmain.sh
 # and libtoolize.in, so it's okay for the requirement to be tighter
 # than the configure time Autoconf prerequisite version.
-m4_version_prereq([2.61])
+m4_version_prereq([2.62])
 
 # m4_chomp(STRING)
 # ----------------


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 06:30:42 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OujpZ-0003SY-UB
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 06:30:41 -0400
Received: from [140.186.70.92] (port=44037 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OujpW-0003SN-JV
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 06:30:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OujpU-0002l4-9D
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 06:30:38 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:43580
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OujpU-0002kw-7W
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 06:30:36 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OujpT-0003jx-Fp
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 10:30:35 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OujpT-0006Me-1Y
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 10:30:35 +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: 0d01005082315a4a9818be139d1db2148407ce51
X-Git-Newrev: 60e961d061b610381fd3895a45e5992b5fc56103
Message-Id: <E1OujpT-0006Me-1Y@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 10:30:35 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-172-g60e961d
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 10:30: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  60e961d061b610381fd3895a45e5992b5fc56103 (commit)
      from  0d01005082315a4a9818be139d1db2148407ce51 (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 60e961d061b610381fd3895a45e5992b5fc56103
Author: Jürgen Reuter <juergen.reuter@physik.uni-freiburg.de>
Date:   Sun Sep 12 12:15:18 2010 +0200

    Initial support for the NAG Fortran compiler on GNU/Linux.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <nagfor>:
    New set of entries, for NAG Fortran 5.1 and 5.2.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |    8 ++++++++
 NEWS                  |    1 +
 libltdl/m4/libtool.m4 |    6 ++++++
 3 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3dd65c7..4584882 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-12  Jürgen Reuter  <juergen.reuter@physik.uni-freiburg.de>  (tiny change)
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Initial support for the NAG Fortran compiler on GNU/Linux.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <nagfor>:
+	New set of entries, for NAG Fortran 5.1 and 5.2.
+	* NEWS: Update.
+
 2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix getopt.m4sh to require Autoconf 2.62 or newer.
diff --git a/NEWS b/NEWS
index 5a2531c..1d4419b 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,7 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
     variable MANIFEST_TOOL. Please note that the import library naming
     has changed (from foo-2.lib to foo.dll.lib) from when the code lived
     in its own git branch.
+  - Initial support for the NAG Fortran compiler on GNU/Linux.
 
 * Bug fixes:
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 895f28d..a9e91f6 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4247,6 +4247,12 @@ m4_if([$1], [CXX], [
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 	;;
+      nagfor*)
+	# NAG Fortran compiler
+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+	;;
       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
 	# which looks to be a dead project)


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 09:46:20 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oumsu-0007E0-Ej
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 09:46:20 -0400
Received: from [140.186.70.92] (port=58424 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oumsq-0007BU-Vl
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:46:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oumsp-0001c1-PC
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:46:16 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:34816
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oumsp-0001bw-NK
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 09:46:15 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oumsp-00069z-BZ
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 13:46:15 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oumsp-0000wE-1P
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 13:46: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: 60e961d061b610381fd3895a45e5992b5fc56103
X-Git-Newrev: 594b9203db9e5c3fef5729016d73e71026701f02
Message-Id: <E1Oumsp-0000wE-1P@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 13:46:15 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-173-g594b920
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 13:46:18 -0000

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

The branch, master has been updated
       via  594b9203db9e5c3fef5729016d73e71026701f02 (commit)
      from  60e961d061b610381fd3895a45e5992b5fc56103 (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 594b9203db9e5c3fef5729016d73e71026701f02
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Sep 12 11:25:36 2010 +0200

    Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result
    of link check for -Wl,-exported_symbol.
    * tests/no-executables.at (AC_NO_EXECUTABLES): Set
    lt_cv_irix_exported_symbol, to avoid link check.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog               |    8 ++++++++
 libltdl/m4/libtool.m4   |   34 ++++++++++++++++++++--------------
 tests/no-executables.at |    1 +
 3 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4584882..4e8557b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result
+	of link check for -Wl,-exported_symbol.
+	* tests/no-executables.at (AC_NO_EXECUTABLES): Set
+	lt_cv_irix_exported_symbol, to avoid link check.
+
 2010-09-12  Jürgen Reuter  <juergen.reuter@physik.uni-freiburg.de>  (tiny change)
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a9e91f6..3a4e757 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -5189,21 +5189,27 @@ _LT_EOF
 	# 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(
-          [AC_LANG_SOURCE(
-	     [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
-			   [C++], [[int foo (void) { return 0; }]],
-			   [Fortran 77], [[
-       subroutine foo
-       end]],
-			   [Fortran], [[
-       subroutine foo
-       end]])])], [
+	# This should be the same for all languages, so no per-tag cache variable.
+	AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+	  [lt_cv_irix_exported_symbol],
+	  [save_LDFLAGS="$LDFLAGS"
+	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+	   AC_LINK_IFELSE(
+	     [AC_LANG_SOURCE(
+	        [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+			      [C++], [[int foo (void) { return 0; }]],
+			      [Fortran 77], [[
+      subroutine foo
+      end]],
+			      [Fortran], [[
+      subroutine foo
+      end]])])],
+	      [lt_cv_irix_exported_symbol=yes],
+	      [lt_cv_irix_exported_symbol=no])
+           LDFLAGS="$save_LDFLAGS"])
+	if test "$lt_cv_irix_exported_symbol" = yes; then
           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-        ])
-        LDFLAGS="$save_LDFLAGS"
+	fi
       else
 	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	_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'
diff --git a/tests/no-executables.at b/tests/no-executables.at
index 75b92ef..bcc9cf2 100644
--- a/tests/no-executables.at
+++ b/tests/no-executables.at
@@ -52,6 +52,7 @@ lt_cv_cc_needs_belf=no
 lt_cv_ld_exported_symbols_list=no
 lt_cv_prog_compiler_static_works=no
 lt_cv_aix_libpath="/usr/lib:/lib"
+lt_cv_irix_exported_symbol=yes
 
 # Deal with AC_LIBTOOL_DLOPEN in one of two possible ways:
 # - do not execute it at all in the ac_no_link case


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 10:50:16 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ounsm-0001jc-KI
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 10:50:16 -0400
Received: from [140.186.70.92] (port=44149 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ounsi-0001fJ-Mf
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 10:50:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ounsd-0001Em-IO
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 10:50:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:48341
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ounsd-0001Eg-EV
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 10:50:07 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ounsc-0006wj-Vz
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 14:50:07 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ounsc-0004Dl-JS
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 14:50:06 +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: 594b9203db9e5c3fef5729016d73e71026701f02
X-Git-Newrev: 048979e10ffcbe67dad11e3b58365ecc66232e5a
Message-Id: <E1Ounsc-0004Dl-JS@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 14:50:06 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-174-g048979e
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 14:50: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  048979e10ffcbe67dad11e3b58365ecc66232e5a (commit)
      from  594b9203db9e5c3fef5729016d73e71026701f02 (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 048979e10ffcbe67dad11e3b58365ecc66232e5a
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Sep 12 16:38:46 2010 +0200

    tests: work around zsh use of $options variable.
    
    * tests/getopt-m4sh.at: Rename $options to $opts, the former is
    special for zsh 4.3.10.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 4e8557b..b9abe8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	tests: work around zsh use of $options variable.
+	* tests/getopt-m4sh.at: Rename $options to $opts, the former is
+	special for zsh 4.3.10.
+
 	Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
 	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result
 	of link check for -Wl,-exported_symbol.
diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index 1c2ac26..75a7bf6 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -37,14 +37,14 @@ AT_DATA([options.m4sh],
 nl='
 '
 list=
-options=
+opts=
 M4SH_GETOPTS(
   [a!],	[--append],	[],	[func_append list "$optarg$nl"],
-  [f],	[--force],	[],	[options="$options force"],
-  [i],	[--install],	[],	[options="$options install"],
-  [v],	[--verbose],	[],	[options="$options verbose"],
-  [!],	[--ltdl],	[false],[options="$options ltdl=$optarg"],
-[echo "$list" $options])
+  [f],	[--force],	[],	[opts="$opts force"],
+  [i],	[--install],	[],	[opts="$opts install"],
+  [v],	[--verbose],	[],	[opts="$opts verbose"],
+  [!],	[--ltdl],	[false],[opts="$opts ltdl=$optarg"],
+[echo "$list" $opts])
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 11:04:53 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ouo6u-00008u-Nm
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 11:04:52 -0400
Received: from [140.186.70.92] (port=44531 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ouo6s-00007U-Ht
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 11:04:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouo6q-00034p-Vd
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 11:04:50 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:47670
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouo6q-00034l-Rx
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 11:04:48 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouo6q-000760-Qs
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 15:04:48 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ouo6q-00051O-LF
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 15:04:48 +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: 048979e10ffcbe67dad11e3b58365ecc66232e5a
X-Git-Newrev: ef56e98f3bb4ed780a08bced638f8adf673c0041
Message-Id: <E1Ouo6q-00051O-LF@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 15:04:48 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-175-gef56e98
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 15:04:51 -0000

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

The branch, master has been updated
       via  ef56e98f3bb4ed780a08bced638f8adf673c0041 (commit)
      from  048979e10ffcbe67dad11e3b58365ecc66232e5a (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 ef56e98f3bb4ed780a08bced638f8adf673c0041
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sun Sep 12 09:19:51 2010 -0400

    When assigning $linklib value, honor [-all]-static[-libtool-libs]
    
    * libltdl/config/ltmain.m4sh (func_mode_link): When prefer_static_libs
    and static library exists, ensure old_library name is used as $linklib.
    Fixes failure on mingw when both static and shared libraries are
    present.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index b9abe8a..6b76340 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-12  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	When assigning $linklib value, honor [-all]-static[-libtool-libs]
+
+	* libltdl/config/ltmain.m4sh (func_mode_link): When prefer_static_libs
+	and static library exists, ensure old_library name is used as $linklib.
+	Fixes failure on mingw when both static and shared libraries are
+	present.
+
 2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: work around zsh use of $options variable.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 509a421..6036f4f 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5652,9 +5652,15 @@ func_mode_link ()
 
 	# Get the name of the library we link against.
 	linklib=
-	for l in $old_library $library_names; do
-	  linklib="$l"
-	done
+	if test -n "$old_library" &&
+	   { test "$prefer_static_libs" = yes ||
+	     test "$prefer_static_libs,$installed" = "built,no"; }; then
+	  linklib=$old_library
+	else
+	  for l in $old_library $library_names; do
+	    linklib="$l"
+	  done
+	fi
 	if test -z "$linklib"; then
 	  func_fatal_error "cannot find name of link library for \`$lib'"
 	fi


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 11:31:05 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OuoWG-0003uS-Nf
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 11:31:04 -0400
Received: from [140.186.70.92] (port=45160 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OuoW3-0003jR-EK
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 11:30:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuoW1-0007vK-W0
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 11:30:51 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:55858
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuoW1-0007vG-UZ
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 11:30:49 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuoW1-0007S5-OH
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 15:30:49 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuoW1-00076R-CY
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 15:30:49 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ef56e98f3bb4ed780a08bced638f8adf673c0041
X-Git-Newrev: a62c82a9fa68db09090cd2a1eed796b6e5160b94
Message-Id: <E1OuoW1-00076R-CY@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 15:30:49 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-176-ga62c82a
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 15:30: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  a62c82a9fa68db09090cd2a1eed796b6e5160b94 (commit)
      from  ef56e98f3bb4ed780a08bced638f8adf673c0041 (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 a62c82a9fa68db09090cd2a1eed796b6e5160b94
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Sep 12 17:25:59 2010 +0200

    tests: avoid empty AT_DATA contents, for zsh.
    
    * tests/libtoolize.at (libtoolize macro serial update)
    (libtoolize config files serial update, LIBTOOLIZE_OPTIONS):
    Do not create empty files with AT_DATA, the latter is documented
    to require a final newline.  Fixes testsuite failures with zsh
    4.3.10.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog           |    9 +++++++++
 tests/libtoolize.at |   10 +++++-----
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6b76340..3cea4aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	tests: avoid empty AT_DATA contents, for zsh.
+	* tests/libtoolize.at (libtoolize macro serial update)
+	(libtoolize config files serial update, LIBTOOLIZE_OPTIONS):
+	Do not create empty files with AT_DATA, the latter is documented
+	to require a final newline.  Fixes testsuite failures with zsh
+	4.3.10.
+
 2010-09-12  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	When assigning $linklib value, honor [-all]-static[-libtool-libs]
diff --git a/tests/libtoolize.at b/tests/libtoolize.at
index fa229b9..541753b 100644
--- a/tests/libtoolize.at
+++ b/tests/libtoolize.at
@@ -155,7 +155,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy], 0, expout, experr)
 ## Next, a second update attempt with everything now updated. ##
 ## ---------------------------------------------------------- ##
 
-AT_DATA(expout, [[]])
+: >expout
 
 AT_DATA(experr,
 [[libtoolize: `build-aux/ltmain.sh' is newer: use `--force' to overwrite
@@ -187,7 +187,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy --force], 0, expout)
 ## A final update attempt with everything previously force updated. ##
 ## ---------------------------------------------------------------- ##
 
-AT_DATA(expout, [[]])
+: >expout
 
 LT_AT_CHECK_LIBTOOLIZE([--copy], 0, expout)
 
@@ -232,7 +232,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy --install], 0, expout, experr)
 ## Next, a second update attempt with everything now updated. ##
 ## ---------------------------------------------------------- ##
 
-AT_DATA(expout, [[]])
+: >expout
 
 AT_DATA(experr,
 [[libtoolize: `build-aux/ltmain.sh' is newer: use `--force' to overwrite
@@ -267,7 +267,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy --force --install], 0, expout)
 ## A final update attempt with everything previously force updated. ##
 ## ---------------------------------------------------------------- ##
 
-AT_DATA(expout, [[]])
+: >expout
 
 LT_AT_CHECK_LIBTOOLIZE([--copy --install], 0, expout)
 
@@ -978,7 +978,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy], 0, [ignore], experr)
 LIBTOOLIZE_OPTIONS=--no-warn,--no-such-option
 export LIBTOOLIZE_OPTIONS
 
-AT_DATA(experr, [[]])
+: >experr
 
 LT_AT_CHECK_LIBTOOLIZE([--copy], 0, [ignore], experr)
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 12:27:34 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OupOw-0001N1-9P
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 12:27:34 -0400
Received: from [140.186.70.92] (port=49119 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OupOs-0001Mt-VC
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 12:27:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OupOr-0007yx-Ho
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 12:27:30 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:33160
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OupOr-0007yt-FX
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 12:27:29 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OupOr-00087Z-68
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 16:27:29 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OupOq-0001ab-RZ
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 16:27:29 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a62c82a9fa68db09090cd2a1eed796b6e5160b94
X-Git-Newrev: e61b37353e4de33b24c7cf0ecde097e0e4c32aca
Message-Id: <E1OupOq-0001ab-RZ@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 16:27:28 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-177-ge61b373
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 16:27:32 -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  e61b37353e4de33b24c7cf0ecde097e0e4c32aca (commit)
      from  a62c82a9fa68db09090cd2a1eed796b6e5160b94 (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 e61b37353e4de33b24c7cf0ecde097e0e4c32aca
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sun Sep 12 18:23:53 2010 +0200

    Adjust to moved auxiliary files and add compile.
    
    * HACKING (Maintenance Notes): Adjust to moved files.  Add the
    compile script.
    * Makefile.maint (fetch): Also fetch the compile script.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog      |    7 +++++++
 HACKING        |   11 ++++++-----
 Makefile.maint |    2 ++
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3cea4aa..0d5e54d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-12  Peter Rosin  <peda@lysator.liu.se>
+
+	Adjust to moved auxiliary files and add compile.
+	* HACKING (Maintenance Notes): Adjust to moved files.  Add the
+	compile script.
+	* Makefile.maint (fetch): Also fetch the compile script.
+
 2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: avoid empty AT_DATA contents, for zsh.
diff --git a/HACKING b/HACKING
index b462c98..e9184f2 100644
--- a/HACKING
+++ b/HACKING
@@ -28,7 +28,12 @@ and is not part of a release distribution.
   files should never be edited here.  These files are:
 	COPYING
 	INSTALL
-	config/
+	doc/
+	    + fdl.texi
+	libltdl/
+	    + COPYING.LIB
+	libltdl/config/
+	    + compile
 	    + config.guess
 	    + config.sub
 	    + depcomp
@@ -36,10 +41,6 @@ and is not part of a release distribution.
 	    + mdate-sh
 	    + missing
 	    + texinfo.tex
-	doc/
-	    + fdl.texi
-	libltdl/
-	    + COPYING.LIB
   The ones that are important for a release can be udated with,
   `make -fMakefile.maint fetch' (or `make -f../Makefile.maint fetch'
   if you are running from a VPATH build directory, where `../' is the
diff --git a/Makefile.maint b/Makefile.maint
index 64abde6..784b155 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -88,6 +88,7 @@ WGET_CGIT = $(WGET) 'http://git.savannah.gnu.org/cgit/config.git/plain'
 ## FIXME should be a lot more here
 FETCHFILES = \
 ./INSTALL \
+$(auxdir)/compile \
 $(auxdir)/install-sh \
 $(auxdir)/config.guess \
 $(auxdir)/config.sub \
@@ -101,6 +102,7 @@ fetch:
 ## If a get fails then that is a problem.
 	(cd Fetchdir && \
 	$(WGET_GIT)'gnulib.git;f=doc/INSTALL' -O INSTALL && \
+	$(WGET_GIT)'automake.git;f=lib/compile' -O compile && \
 	$(WGET_GIT)'automake.git;f=lib/install-sh' -O install-sh && \
 	$(WGET_CGIT)/config.guess -O config.guess && \
 	$(WGET_CGIT)/config.sub -O config.sub && \


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 12 12:46:35 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OuphL-0008M8-Rb
	for mharc-libtool-commit@gnu.org; Sun, 12 Sep 2010 12:46:35 -0400
Received: from [140.186.70.92] (port=46559 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OuphI-0008K6-VS
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 12:46:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuphH-0001a4-Rp
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 12:46:32 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46593
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuphH-0001a0-QY
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 12:46:31 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuphH-0008Mz-9d
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 16:46:31 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OuphC-0002eb-29
	for libtool-commit@gnu.org; Sun, 12 Sep 2010 16:46:28 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e61b37353e4de33b24c7cf0ecde097e0e4c32aca
X-Git-Newrev: 52e86c62786b95f91f32e7020f7eaf3c1be9a59b
Message-Id: <E1OuphC-0002eb-29@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 12 Sep 2010 16:46:26 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-178-g52e86c6
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 16:46: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  52e86c62786b95f91f32e7020f7eaf3c1be9a59b (commit)
      from  e61b37353e4de33b24c7cf0ecde097e0e4c32aca (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 52e86c62786b95f91f32e7020f7eaf3c1be9a59b
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sun Sep 12 18:43:11 2010 +0200

    * .gitignore: Ignore *.obj files for MSVC (and w32 in general).

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

Summary of changes:
 .gitignore |    1 +
 ChangeLog  |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index e8e1bc2..bc71270 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
 *.lo
 *.log
 *.o
+*.obj
 *.pg
 *.toc
 *.tp
diff --git a/ChangeLog b/ChangeLog
index 0d5e54d..c7d0336 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-09-12  Peter Rosin  <peda@lysator.liu.se>
 
+	* .gitignore: Ignore *.obj files for MSVC (and w32 in general).
+
 	Adjust to moved auxiliary files and add compile.
 	* HACKING (Maintenance Notes): Adjust to moved files.  Add the
 	compile script.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 13 15:59:43 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OvFBn-0001bQ-36
	for mharc-libtool-commit@gnu.org; Mon, 13 Sep 2010 15:59:43 -0400
Received: from [140.186.70.92] (port=35490 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OvFBi-0001ZU-MU
	for libtool-commit@gnu.org; Mon, 13 Sep 2010 15:59:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvFBg-0004CT-MA
	for libtool-commit@gnu.org; Mon, 13 Sep 2010 15:59:38 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:38953
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvFBg-0004CP-Il
	for libtool-commit@gnu.org; Mon, 13 Sep 2010 15:59:36 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvFBg-0002ta-1q
	for libtool-commit@gnu.org; Mon, 13 Sep 2010 19:59:36 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvFBf-0007ud-Ky
	for libtool-commit@gnu.org; Mon, 13 Sep 2010 19:59: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: 52e86c62786b95f91f32e7020f7eaf3c1be9a59b
X-Git-Newrev: fdba1e5c9130004d943157cd5d6e7e1b3855d8bd
Message-Id: <E1OvFBf-0007ud-Ky@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 13 Sep 2010 19:59:35 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-180-gfdba1e5
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 19:59:41 -0000

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

The branch, master has been updated
       via  fdba1e5c9130004d943157cd5d6e7e1b3855d8bd (commit)
       via  05afa27b5aff35cda9f8ff4d50c9e2ab05bad78c (commit)
      from  52e86c62786b95f91f32e7020f7eaf3c1be9a59b (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 fdba1e5c9130004d943157cd5d6e7e1b3855d8bd
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Sep 13 21:52:03 2010 +0200

    doc: avoid long lines in input and output, indexing fixes.
    
    * doc/libtool.texi (Linking libraries)
    (Module loaders for libltdl): Manually line-wrap examples, to
    avoid long lines.
    (Libltdl interface, User defined module data)
    (Module loaders for libltdl): Wrap long @deftypefun input lines
    using trailing '@'.  Use @deftypefun rather than @deftp where
    appropriate, and add spaces in @deftypefun lines to fix the
    index entries generated from these lines.
    (Cheap tricks): Use @smallexample rather than @example, to avoid
    long lines.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 05afa27b5aff35cda9f8ff4d50c9e2ab05bad78c
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Sep 13 21:28:52 2010 +0200

    docs: @file and @option markup fixes.
    
    * doc/libtool.texi (Creating object files, Linking libraries)
    (Linking executables, Link mode, Finish mode, Autoconf macros)
    (Using Automake, Inter-library dependencies, Dlpreopening)
    (Linking with dlopened modules, Finding the dlname)
    (Libltdl interface, Test descriptions, Multiple dependencies):
    Add @option where needed, replace @samp with @file as
    appropriate.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog        |   23 ++++++++++++
 doc/libtool.texi |  104 +++++++++++++++++++++++++++++------------------------
 2 files changed, 80 insertions(+), 47 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c7d0336..39c3e7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	doc: avoid long lines in input and output, indexing fixes.
+	* doc/libtool.texi (Linking libraries)
+	(Module loaders for libltdl): Manually line-wrap examples, to
+	avoid long lines.
+	(Libltdl interface, User defined module data)
+	(Module loaders for libltdl): Wrap long @deftypefun input lines
+	using trailing '@'.  Use @deftypefun rather than @deftp where
+	appropriate, and add spaces in @deftypefun lines to fix the
+	index entries generated from these lines.
+	(Cheap tricks): Use @smallexample rather than @example, to avoid
+	long lines.
+
+	docs: @file and @option markup fixes.
+	* doc/libtool.texi (Creating object files, Linking libraries)
+	(Linking executables, Link mode, Finish mode, Autoconf macros)
+	(Using Automake, Inter-library dependencies, Dlpreopening)
+	(Linking with dlopened modules, Finding the dlname)
+	(Libltdl interface, Test descriptions, Multiple dependencies):
+	Add @option where needed, replace @samp with @file as
+	appropriate.
+
 2010-09-12  Peter Rosin  <peda@lysator.liu.se>
 
 	* .gitignore: Ignore *.obj files for MSVC (and w32 in general).
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 9314612..a3555dc 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -510,11 +510,11 @@ to the compiler to tell it to generate PIC rather than the standard
 position-dependent code.
 
 @cindex library object file
-@cindex @samp{.lo} files
+@cindex @file{.lo} files
 @cindex object files, library
 Since this is a library implementation detail, libtool hides the
 complexity of PIC compiler flags and uses separate library object files
-(the PIC one lives in the @samp{@value{objdir}} subdirectory and the
+(the PIC one lives in the @file{@value{objdir}} subdirectory and the
 static one lives in the current directory).  On systems without shared
 libraries, the PIC library object files are not created, whereas on
 systems where all code is PIC, such as AIX, the static ones are not
@@ -533,7 +533,7 @@ a23$
 @end example
 
 Note that libtool silently creates an additional control file on each
-@samp{compile} invocation.  The @samp{.lo} file is the libtool object,
+@samp{compile} invocation.  The @file{.lo} file is the libtool object,
 which Libtool uses to determine what object file may be built into a
 shared library.  On @samp{a23}, only static libraries are supported so
 the library objects look like this:
@@ -564,7 +564,7 @@ gcc -g -O -c foo.c -o foo.o >/dev/null 2>&1
 burger$
 @end example
 
-Note that Libtool automatically created @samp{@value{objdir}} directory
+Note that Libtool automatically created @file{@value{objdir}} directory
 upon its first execution, where PIC library object files will be stored.
 
 Since @samp{burger} supports shared libraries, and requires PIC
@@ -585,7 +585,7 @@ pic_object='@value{objdir}/foo.o'
 non_pic_object='foo.o'
 @end example
 
-@cindex -no-suppress, libtool compile mode option
+@cindex @option{-no-suppress}, libtool compile mode option
 Notice that the second run of GCC has its output discarded.  This is
 done so that compiler warnings aren't annoyingly duplicated.  If you
 need to see both sets of warnings (you might have conditional code
@@ -628,16 +628,16 @@ shared libraries, libtool simply acts as a wrapper for the system
 @command{ar} (and possibly @code{ranlib}) commands.
 
 @cindex libtool libraries
-@cindex @samp{.la} files
-Again, the libtool control file name (@samp{.la} suffix) differs from
-the standard library name (@samp{.a} suffix).  The arguments to
+@cindex @file{.la} files
+Again, the libtool control file name (@file{.la} suffix) differs from
+the standard library name (@file{.a} suffix).  The arguments to
 libtool are the same ones you would use to produce an executable named
 @file{libhello.la} with your compiler (@pxref{Link mode}):
 
 @example
 a23$ @kbd{libtool --mode=link gcc -g -O -o libhello.la foo.o hello.o}
-*** Warning: Linking the shared library libhello.la against the non-libtool
-*** objects  foo.o hello.o is not portable!
+*** Warning: Linking the shared library libhello.la against the
+*** non-libtool objects foo.o hello.o is not portable!
 ar cru .libs/libhello.a
 ranlib .libs/libhello.a
 creating libhello.la
@@ -646,7 +646,7 @@ a23$
 @end example
 
 Aha!  Libtool caught a common error@dots{} trying to build a library
-from standard objects instead of special @samp{.lo} object files.  This
+from standard objects instead of special @file{.lo} object files.  This
 doesn't matter so much for static libraries, but on shared library
 systems, it is of great importance.  (Note that you may replace
 @file{libhello.la} with @file{libhello.a} in which case libtool won't
@@ -700,7 +700,7 @@ make it easier to clean up the build directory, and to help ensure that
 other programs fail horribly if you accidentally forget to use libtool
 when you should.
 
-Again, you may want to have a look at the @samp{.la} file in order
+Again, you may want to have a look at the @file{.la} file in order
 to see what Libtool stores in it.  In particular, you will see that
 Libtool uses this file to remember the destination directory for the
 library (the argument to @option{-rpath}) as well as the dependency
@@ -742,7 +742,7 @@ burger$
 
 Libtool's way is almost the same@footnote{However, you should avoid using
 @option{-L} or @option{-l} flags to link against an uninstalled libtool
-library.  Just specify the relative path to the @samp{.la} file, such as
+library.  Just specify the relative path to the @file{.la} file, such as
 @file{../intl/libintl.la}.  This is a design decision to eliminate any
 ambiguity when linking against uninstalled shared libraries.}
 (@pxref{Link mode}):
@@ -1481,7 +1481,7 @@ Allow symbols from @var{output-file} to be resolved with @code{dlsym}
 
 @item -export-symbols @var{symfile}
 Tells the linker to export only the symbols listed in @var{symfile}.
-The symbol file should end in @samp{.sym} and must contain the name of one
+The symbol file should end in @file{.sym} and must contain the name of one
 symbol per line.  This option has no effect on some platforms.
 By default all symbols are exported.
 
@@ -1545,9 +1545,9 @@ If @var{output-file} is a library, it will eventually be installed in
 the run-time path of the program.  On platforms that don't support
 hardcoding library paths into executables and only search PATH for
 shared libraries, such as when @var{output-file} is a Windows (or
-other PE platform) DLL, the @samp{.la} control file will be installed in
+other PE platform) DLL, the @file{.la} control file will be installed in
 @var{libdir}, but see @option{-bindir} above for the eventual destination
-of the @samp{.dll} or other library file itself.
+of the @file{.dll} or other library file itself.
 
 @item -R @var{libdir}
 If @var{output-file} is a program, add @var{libdir} to its run-time
@@ -1616,18 +1616,18 @@ Pass a linker-specific flag directly to the linker.
 Pass a link-specific flag to the compiler driver (@code{CC}) during linking.
 @end table
 
-If the @var{output-file} ends in @samp{.la}, then a libtool library is
-created, which must be built only from library objects (@samp{.lo} files).
+If the @var{output-file} ends in @file{.la}, then a libtool library is
+created, which must be built only from library objects (@file{.lo} files).
 The @option{-rpath} option is required.  In the current implementation,
 libtool libraries may not depend on other uninstalled libtool libraries
 (@pxref{Inter-library dependencies}).
 
-If the @var{output-file} ends in @samp{.a}, then a standard library is
+If the @var{output-file} ends in @file{.a}, then a standard library is
 created using @code{ar} and possibly @code{ranlib}.
 
 @cindex partial linking
 @cindex linking, partial
-If @var{output-file} ends in @samp{.o} or @samp{.lo}, then a reloadable object
+If @var{output-file} ends in @file{.o} or @file{.lo}, then a reloadable object
 file is created from the input files (generally using @samp{ld -r}).
 This method is often called @dfn{partial linking}.
 
@@ -1736,7 +1736,7 @@ compilation environment after they were built in a cross-compilation
 environment.  Cross-compilation environments may rely on recent libtool
 features, and running libtool in finish mode will make it easier to
 work with older versions of libtool.  This task is performed whenever
-the @var{mode-arg} is a @samp{.la} file.
+the @var{mode-arg} is a @file{.la} file.
 
 @node Uninstall mode
 @section Uninstall mode
@@ -1875,7 +1875,7 @@ default library search path.
 Define the preprocessor symbol @samp{LT_MODULE_EXT} to the extension
 used for runtime loadable modules.  If you use libltdl to open
 modules, then you can simply use the libtool library extension,
-@samp{.la}.
+@file{.la}.
 @end defmac
 
 @defmac LT_SYS_MODULE_PATH
@@ -1959,7 +1959,7 @@ hell_static_LDFLAGS = -static
 @end example
 
 You may use the @samp{program_LDFLAGS} variable to stuff in any flags
-you want to pass to libtool while linking @samp{program} (such as
+you want to pass to libtool while linking @file{program} (such as
 @option{-static} to avoid linking uninstalled shared libtool libraries).
 
 Building a libtool library is almost as trivial@dots{} note the use of
@@ -3264,7 +3264,7 @@ library systems and simple dynamic library systems.
 Some platforms, such as AIX, do not even allow you this
 flexibility.  In order to build a shared library, it must be entirely
 self-contained (that is, have references only to symbols that are found
-in the @samp{.lo} files or the specified @samp{-l} libraries), and you
+in the @file{.lo} files or the specified @samp{-l} libraries), and you
 need to specify the @option{-no-undefined} flag.  By default, libtool
 builds only static libraries on these kinds of platforms.
 
@@ -3480,7 +3480,7 @@ module opened in this way, call @var{func}.
 
 @noindent
 To open all of the modules preloaded into @file{libhell.la}
-(presumably from within the @samp{libhell.a} initialisation code):
+(presumably from within the @file{libhell.a} initialisation code):
 
 @example
 #define preloaded_symbols lt_libhell_LTX_preloaded_symbols
@@ -3609,7 +3609,7 @@ intrinsics_la_LIBADD    = ../libloader/libinterface.la
         cd ../libloader && $(MAKE) $(AM_MAKEFLAGS) libinterface.la
 @end example
 
-@cindex -weak option
+@cindex @option{-weak} option
 For a more complex example, see the sources of @file{libltdl} in the
 Libtool distribution, which is built with the help of the @option{-weak}
 option.
@@ -3625,7 +3625,7 @@ Unfortunately, because of the variation in library names,
 your package needs to determine the correct file to dlopen.
 
 The most straightforward and flexible implementation is to determine the
-name at runtime, by finding the installed @samp{.la} file, and searching
+name at runtime, by finding the installed @file{.la} file, and searching
 it for the following lines:
 
 @example
@@ -3880,8 +3880,8 @@ If the file with the file name @var{filename} cannot be found
 libltdl tries to append the following extensions:
 
 @enumerate 1
-@item the libtool archive extension @samp{.la}
-@item the extension used for native dynamically loadable modules on the host platform, e.g., @samp{.so}, @samp{.sl}, etc.
+@item the libtool archive extension @file{.la}
+@item the extension used for native dynamically loadable modules on the host platform, e.g., @file{.so}, @file{.sl}, etc.
 @end enumerate
 
 This lookup strategy was designed to allow programs that don't
@@ -4039,7 +4039,7 @@ Replace the current user-defined library search path with
 by @code{LT_PATHSEP_CHAR}.  Return 0 on success.
 @end deftypefun
 
-@deftypefun {const char *}lt_dlgetsearchpath (void)
+@deftypefun {const char *} lt_dlgetsearchpath (void)
 Return the current user-defined library search path.
 @end deftypefun
 
@@ -4175,7 +4175,10 @@ Some of the internal information about each loaded module that is
 maintained by libltdl is available to the user, in the form of this
 structure:
 
-@deftypefn {Type} {struct} lt_dlinfo @{ @w{char *@var{filename};} @w{char *@var{name};} @w{int @var{ref_count};} @w{int @var{is_resident};} @w{int @var{is_symglobal};} @w{int @var{is_symlocal};}@}
+@deftypefn {Type} {struct} lt_dlinfo @{ @w{char *@var{filename};} @
+  @w{char *@var{name};} @w{int @var{ref_count};} @
+  @w{int @var{is_resident};} @w{int @var{is_symglobal};} @
+  @w{int @var{is_symlocal};}@}
 @code{lt_dlinfo} is used to store information about a module.
 The @var{filename} attribute is a null-terminated character string of
 the real module file name.  If the module is a libtool module then
@@ -4205,7 +4208,8 @@ The opaque type used to hold the module interface details for each
 registered libltdl client.
 @end deftp
 
-@deftp {Type} int lt_dlhandle_interface (@w{lt_dlhandle @var{handle},} @w{const char *@var{id_string}})
+@deftypefn {Type} int lt_dlhandle_interface (@w{lt_dlhandle @var{handle},} @
+  @w{const char *@var{id_string}})
 Functions of this type are called to check that a handle conforms to a
 library's expected module interface when iterating over the global
 handle list.  You should be careful to write a callback function of
@@ -4238,9 +4242,10 @@ my_interface_cb (lt_dlhandle handle, const char *id_string)
   return 0;
 @}
 @end example
-@end deftp
+@end deftypefn
 
-@deftypefun lt_dlinterface_id lt_dlinterface_register (@w{const char *@var{id_string}}, @w{lt_dlhandle_interface *@var{iface}})
+@deftypefun lt_dlinterface_id lt_dlinterface_register @
+  (@w{const char *@var{id_string}}, @w{lt_dlhandle_interface *@var{iface}})
 Use this function to register your interface validator with libltdl,
 and in return obtain a unique key to store and retrieve per-module data.
 You supply an @var{id_string} and @var{iface} so that the resulting
@@ -4253,7 +4258,9 @@ all modules will be matched.
 Release the data associated with @var{iface}.
 @end deftypefun
 
-@deftypefun int lt_dlhandle_map (@w{lt_dlinterface_id @var{iface}}, @w{int (*@var{func}) (lt_dlhandle @var{handle}, void * @var{data})}, @w{void * @var{data}})
+@deftypefun int lt_dlhandle_map (@w{lt_dlinterface_id @var{iface}}, @
+  @w{int (*@var{func}) (lt_dlhandle @var{handle}, void * @var{data})}, @
+  @w{void * @var{data}})
 For each module that matches @var{iface}, call the function
 @var{func}.  When writing the @var{func} callback function, the
 argument @var{handle} is the handle of a loaded module, and
@@ -4264,7 +4271,8 @@ return that non-zero value.  Otherwise 0 is eventually returned when
 @var{func} has been successfully called for all matching modules.
 @end deftypefun
 
-@deftypefun lt_dlhandle lt_dlhandle_iterate (@w{lt_dlinterface_id @var{iface}}, @w{lt_dlhandle @var{place}})
+@deftypefun lt_dlhandle lt_dlhandle_iterate (@w{lt_dlinterface_id @
+  @var{iface}}, @w{lt_dlhandle @var{place}})
 Iterate over the module handles loaded by @var{iface}, returning the
 first matching handle in the list if @var{place} is @code{NULL}, and
 the next one on subsequent calls.  If @var{place} is the last element
@@ -4455,7 +4463,8 @@ register_myloader (void)
   dlloader.dlloader_data = (lt_user_data)myloader_function;
 
   /* Add my loader as the default module loader. */
-  if (lt_dlloader_add (lt_dlloader_next (NULL), &dlloader, "myloader") != 0)
+  if (lt_dlloader_add (lt_dlloader_next (NULL), &dlloader,
+                       "myloader") != 0)
     return ERROR;
 
   return OK;
@@ -4475,7 +4484,8 @@ during the initialisation phase.
 libltdl provides the following functions for writing your own module
 loaders:
 
-@deftypefun int lt_dlloader_add (@w{lt_dlloader *@var{place},} @w{lt_user_dlloader *@var{dlloader},} @w{const char *@var{loader_name}})
+@deftypefun int lt_dlloader_add (@w{lt_dlloader *@var{place},} @
+  @w{lt_user_dlloader *@var{dlloader},} @w{const char *@var{loader_name}})
 Add a new module loader to the list of all loaders, either as the
 last loader (if @var{place} is @code{NULL}), else immediately before the
 loader passed as @var{place}.  @var{loader_name} will be returned by
@@ -4504,7 +4514,7 @@ if (lt_dlloader_remove ("myloader") != 0)
 @end example
 @end deftypefun
 
-@deftypefun {lt_dlloader *}lt_dlloader_next (@w{lt_dlloader *@var{place}})
+@deftypefun {lt_dlloader *} lt_dlloader_next (@w{lt_dlloader *@var{place}})
 Iterate over the module loaders, returning the first loader if @var{place} is
 @code{NULL}, and the next one on subsequent calls.  The handle is for use with
 @code{lt_dlloader_add}.
@@ -4516,7 +4526,7 @@ if (lt_dlloader_add (lt_dlloader_next (NULL), myloader) != 0)
 @end example
 @end deftypefun
 
-@deftypefun {lt_dlloader *}lt_dlloader_find (@w{const char *@var{loader_name}})
+@deftypefun {lt_dlloader *} lt_dlloader_find (@w{const char *@var{loader_name}})
 Return the first loader with a matching @var{loader_name} identifier, or else
 @code{NULL}, if the identifier is not found.
 
@@ -4533,14 +4543,14 @@ if (lt_dlloader_add (lt_dlloader_find ("dlopen"), myloader) != 0)
 @end example
 @end deftypefun
 
-@deftypefun {const char *}lt_dlloader_name (@w{lt_dlloader *@var{place}})
+@deftypefun {const char *} lt_dlloader_name (@w{lt_dlloader *@var{place}})
 Return the identifying name of @var{place}, as obtained from
 @code{lt_dlloader_next} or @code{lt_dlloader_find}.  If this function fails,
 it will return @code{NULL} and set an error for retrieval with
 @code{lt_dlerror}.
 @end deftypefun
 
-@deftypefun {lt_user_data *}lt_dlloader_data (@w{lt_dlloader *@var{place}})
+@deftypefun {lt_user_data *} lt_dlloader_data (@w{lt_dlloader *@var{place}})
 Return the address of the @code{dlloader_data} of @var{place}, as
 obtained from @code{lt_dlloader_next} or @code{lt_dlloader_find}.  If
 this function fails, it will return @code{NULL} and set an error for
@@ -5315,7 +5325,7 @@ library works properly.
 
 @item link-2.test
 @pindex link-2.test
-This test makes sure that files ending in @samp{.lo} are never linked
+This test makes sure that files ending in @file{.lo} are never linked
 directly into a program file.
 
 @item nomode.test
@@ -5354,7 +5364,7 @@ shell scripts.
 @item suffix.test
 @pindex suffix.test
 When other programming languages are used with libtool (@pxref{Other
-languages}), the source files may end in suffixes other than @samp{.c}.
+languages}), the source files may end in suffixes other than @file{.c}.
 This test validates that libtool can handle suffixes for all the file
 types that it supports, and that it fails when the suffix is invalid.
 
@@ -5871,7 +5881,7 @@ in cases where it is necessary.
 
 On all known systems, building a static library can be accomplished by
 running @kbd{ar cru lib@var{name}.a @var{obj1}.o @var{obj2}.o @dots{}},
-where the @samp{.a} file is the output library, and each @samp{.o} file is an
+where the @file{.a} file is the output library, and each @file{.o} file is an
 object file.
 
 On all known systems, if there is a program named @command{ranlib}, then it
@@ -6875,7 +6885,7 @@ tree, @code{/home/src/libtool/libtool} is a libtool script that has been
 configured for your platform, and @code{~/bin} is a directory in your
 @env{PATH}:
 
-@example
+@smallexample
 trick$ cd ~/bin
 trick$ sed 's%^\(macro_version=\).*$%\1@@VERSION@@%;
             s%^\(macro_revision=\).*$%\1@@package_revision@@%;
@@ -6889,7 +6899,7 @@ Copyright (C) 2010 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 trick$
-@end example
+@end smallexample
 @end itemize
 
 The output of the final @samp{libtool --version} command shows that the


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 14 10:02:25 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OvW5Y-0008DH-Sf
	for mharc-libtool-commit@gnu.org; Tue, 14 Sep 2010 10:02:24 -0400
Received: from [140.186.70.92] (port=48875 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OvW5R-00089I-Ag
	for libtool-commit@gnu.org; Tue, 14 Sep 2010 10:02:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvW5P-0006UB-TJ
	for libtool-commit@gnu.org; Tue, 14 Sep 2010 10:02:17 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54899
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvW5P-0006U3-QX
	for libtool-commit@gnu.org; Tue, 14 Sep 2010 10:02:15 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvW5P-0007hw-01
	for libtool-commit@gnu.org; Tue, 14 Sep 2010 14:02:15 +0000
Received: from ericb by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OvW5O-000614-Km
	for libtool-commit@gnu.org; Tue, 14 Sep 2010 14:02:14 +0000
From: "Eric Blake" <eblake@redhat.com>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: fdba1e5c9130004d943157cd5d6e7e1b3855d8bd
X-Git-Newrev: 3f74c1edc6ba4c4718a9a5e5e5c30bd0c9fd97e3
Message-Id: <E1OvW5O-000614-Km@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 14 Sep 2010 14:02:14 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-181-g3f74c1e
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 14:02:23 -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  3f74c1edc6ba4c4718a9a5e5e5c30bd0c9fd97e3 (commit)
      from  fdba1e5c9130004d943157cd5d6e7e1b3855d8bd (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 3f74c1edc6ba4c4718a9a5e5e5c30bd0c9fd97e3
Author: Eric Blake <eblake@redhat.com>
Date:   Mon Sep 13 15:33:13 2010 -0600

    maint: ship .xz, not .lzma
    
    * configure.ac (AM_INIT_AUTOMAKE): Prefer better file format.
    * Makefile.maint (git-release, git-dist, prev-tarball)
    (new-tarball, diffs): Use correct extension.
    * HACKING: Update instructions.
    * .gitignore: Ignore .xz files.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

Summary of changes:
 .gitignore     |    1 +
 ChangeLog      |    9 +++++++++
 HACKING        |    2 +-
 Makefile.maint |   18 +++++++++---------
 configure.ac   |    2 +-
 5 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/.gitignore b/.gitignore
index bc71270..17050be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ libtool
 libtool-*.tar.bz2
 libtool-*.tar.gz
 libtool-*.tar.lzma
+libtool-*.tar.xz
 libtoolize
 libtoolize.in
 manual.html
diff --git a/ChangeLog b/ChangeLog
index 39c3e7a..543623f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-14  Eric Blake  <eblake@redhat.com>
+
+	maint: ship .xz, not .lzma
+	* configure.ac (AM_INIT_AUTOMAKE): Prefer better file format.
+	* Makefile.maint (git-release, git-dist, prev-tarball)
+	(new-tarball, diffs): Use correct extension.
+	* HACKING: Update instructions.
+	* .gitignore: Ignore .xz files.
+
 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	doc: avoid long lines in input and output, indexing fixes.
diff --git a/HACKING b/HACKING
index e9184f2..d36b7f0 100644
--- a/HACKING
+++ b/HACKING
@@ -602,7 +602,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
   (esp. bug-libtool) for outstanding bug reports also in the list of
   pending moderation requests.
 
-* Make sure you have wget, lzma, and autobuild installed.  aclocal should be
+* Make sure you have wget, xz, and autobuild installed.  aclocal should be
   able to find autobuild.m4; or you can install it into the tree with
          aclocal -I libltdl/m4 --install
 
diff --git a/Makefile.maint b/Makefile.maint
index 784b155..e176713 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -1,6 +1,6 @@
 ## Makefile.maint -- Makefile rules for libtool maintainers -*-Makefile-*-
 ##
-##   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+##   Copyright (C) 2004, 2005, 2010 Free Software Foundation, Inc.
 ##   Written by Scott James Remnant, 2004
 ##
 ##   This file is part of GNU Libtool.
@@ -39,11 +39,11 @@ TEXI2HTML = texi2html
 .PHONY: git-release
 git-release: version-check prev-tarball check-news fetch git-dist diffs web-manual
 	@tarname="$(PACKAGE)-$(VERSION).tar.gz"; \
-	lzmaname="$(PACKAGE)-$(VERSION).tar.lzma"; \
+	xzname="$(PACKAGE)-$(VERSION).tar.xz"; \
 	diffname="$(PACKAGE)-$(LASTRELEASE)-$(VERSION).diff.gz"; \
 	echo " *** Upload $$tarname, $$tarname.sig,";\
-	echo " *** $$tarname.directive.asc, $$lzmaname,";\
-	echo " *** $$lzmaname.sig, $$lzmaname.directive.asc,";\
+	echo " *** $$tarname.directive.asc, $$xzname,";\
+	echo " *** $$xzname.sig, $$xzname.directive.asc,";\
 	echo " *** $$diffname, $$diffname.sig";\
 	echo " ***  and $$diffname.directive.asc to either"; \
 	echo " *** /incoming/alpha or /incoming/ftp on ftp-upload.gnu.org."
@@ -134,7 +134,7 @@ git-dist: check-news check-commit
 	cd $(srcdir) \
 	  && $(GIT) tag -s "v$(VERSION)"
 ## Generate signatures and directives for FSF ftp-upload:
-	for suffix in gz lzma; do \
+	for suffix in gz xz; do \
 	  ofile="$(PACKAGE)-$(VERSION).tar.$$suffix"; \
 	  $(GPG) --detach-sign $$ofile \
 	  && echo "version: 1.1" > $$ofile.directive \
@@ -151,7 +151,7 @@ prev-tarball:
 		then echo "LASTRELEASE is not set"; exit 1; fi
 	@ofile="$(PACKAGE)-$(LASTRELEASE).tar.gz"; \
 	if test -f $$ofile; then :; \
-	else ofile="$(PACKAGE)-$(LASTRELEASE).tar.lzma"; \
+	else ofile="$(PACKAGE)-$(LASTRELEASE).tar.xz"; \
           if test -f $$ofile; then :; \
           else echo "Cannot make diffs without $$ofile"; exit 1; fi; fi
 
@@ -160,7 +160,7 @@ new-tarball:
 ## Make sure we have the new release tarball in the tree.
 	@ofile="$(PACKAGE)-$(VERSION).tar.gz"; \
 	if test -f $$ofile; then :; \
-	else ofile="$(PACKAGE)-$(VERSION).tar.lzma"; \
+	else ofile="$(PACKAGE)-$(VERSION).tar.xz"; \
           if test -f $$ofile; then :; \
           else echo "Cannot make diffs without $$ofile"; exit 1; fi; fi
 
@@ -179,8 +179,8 @@ diffs: prev-tarball new-tarball
 	ntar="../$(PACKAGE)-$(VERSION).tar"; \
 	test -f "$$otar.gz" && otar="$$otar.gz" && ounpack="gzip"; \
 	test -f "$$ntar.gz" && ntar="$$ntar.gz" && nunpack="gzip"; \
-	test -f "$$otar.lzma" && otar="$$otar.lzma" && ounpack="lzma"; \
-	test -f "$$ntar.lzma" && ntar="$$ntar.lzma" && nunpack="zlma"; \
+	test -f "$$otar.xz" && otar="$$otar.xz" && ounpack="xz"; \
+	test -f "$$ntar.xz" && ntar="$$ntar.xz" && nunpack="xz"; \
 	$$ounpack -c -d "$$otar" | tar xf - \
 	&& $$nunpack -c -d "$$ntar" | tar xf - \
 	&& $(DIFF) $(DIFF_OPTIONS) \
diff --git a/configure.ac b/configure.ac
index d36adde..0fcf109 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,7 +127,7 @@ AC_SUBST([package_revision])
 dnl These are bootstrap requirements! Once built, libtool may work with
 dnl much older releases of autoconf and automake.  See release notes.
 dnl 1.11 is needed for color-tests, 1.11.1 fixes a security issue.
-AM_INIT_AUTOMAKE([1.11.1 gnu subdir-objects dist-lzma color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11.1 gnu subdir-objects dist-xz color-tests parallel-tests])
 
 
 ## ------------------------- ##


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 15 22:10:34 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ow3vm-0003a7-5c
	for mharc-libtool-commit@gnu.org; Wed, 15 Sep 2010 22:10:34 -0400
Received: from [140.186.70.92] (port=40398 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ow3vi-0003Zx-Ut
	for libtool-commit@gnu.org; Wed, 15 Sep 2010 22:10:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ow3vh-00036t-BQ
	for libtool-commit@gnu.org; Wed, 15 Sep 2010 22:10:30 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:50303
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ow3vh-00036p-9p
	for libtool-commit@gnu.org; Wed, 15 Sep 2010 22:10:29 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ow3vg-0001rs-UJ
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 02:10:28 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ow3vg-0007O3-AU
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 02:10:28 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3f74c1edc6ba4c4718a9a5e5e5c30bd0c9fd97e3
X-Git-Newrev: a3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22
Message-Id: <E1Ow3vg-0007O3-AU@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 16 Sep 2010 02:10:28 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-182-ga3ecc5f
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 02:10:33 -0000

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

The branch, master has been updated
       via  a3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22 (commit)
      from  3f74c1edc6ba4c4718a9a5e5e5c30bd0c9fd97e3 (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 a3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 16 09:05:28 2010 +0700

    Remove obsolete .cvs ignore files.
    
    * .cvsignore, doc/.cvsignore, libltdl/.cvsignore,
    libltdl/config/.cvsignore, libltdl/loaders/.cvsignore,
    libltdl/m4/.cvsignore, tests/.cvsignore,
    tests/cdemo/.cvsignore, tests/demo/.cvsignore,
    tests/depdemo/l1/.cvsignore, tests/depdemo/l2/.cvsignore,
    tests/depdemo/l3/.cvsignore, tests/depdemo/l4/.cvsignore,
    tests/f77demo/.cvsignore, tests/fcdemo/.cvsignore,
    tests/mdemo/.cvsignore, tests/mdemo2/.cvsignore,
    tests/pdemo/.cvsignore, tests/tagdemo/.cvsignore: Deleted. Even
    when using savannah's CVS readonly mirror there's no way to commit
    back to the real repo, so this files are not worth maintaining
    or keeping around.

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

Summary of changes:
 .cvsignore                  |   32 --------------------------------
 doc/.cvsignore              |   21 ---------------------
 libltdl/.cvsignore          |   15 ---------------
 libltdl/config/.cvsignore   |   13 -------------
 libltdl/loaders/.cvsignore  |    5 -----
 libltdl/m4/.cvsignore       |    1 -
 tests/.cvsignore            |    8 --------
 tests/cdemo/.cvsignore      |   14 --------------
 tests/demo/.cvsignore       |   20 --------------------
 tests/depdemo/.cvsignore    |   15 ---------------
 tests/depdemo/l1/.cvsignore |    6 ------
 tests/depdemo/l2/.cvsignore |    6 ------
 tests/depdemo/l3/.cvsignore |    6 ------
 tests/depdemo/l4/.cvsignore |    6 ------
 tests/f77demo/.cvsignore    |   17 -----------------
 tests/fcdemo/.cvsignore     |   17 -----------------
 tests/mdemo/.cvsignore      |   15 ---------------
 tests/mdemo2/.cvsignore     |   15 ---------------
 tests/pdemo/.cvsignore      |   20 --------------------
 tests/tagdemo/.cvsignore    |   14 --------------
 20 files changed, 0 insertions(+), 266 deletions(-)
 delete mode 100644 .cvsignore
 delete mode 100644 doc/.cvsignore
 delete mode 100644 libltdl/.cvsignore
 delete mode 100644 libltdl/config/.cvsignore
 delete mode 100644 libltdl/loaders/.cvsignore
 delete mode 100644 libltdl/m4/.cvsignore
 delete mode 100644 tests/.cvsignore
 delete mode 100644 tests/cdemo/.cvsignore
 delete mode 100644 tests/demo/.cvsignore
 delete mode 100644 tests/depdemo/.cvsignore
 delete mode 100644 tests/depdemo/l1/.cvsignore
 delete mode 100644 tests/depdemo/l2/.cvsignore
 delete mode 100644 tests/depdemo/l3/.cvsignore
 delete mode 100644 tests/depdemo/l4/.cvsignore
 delete mode 100644 tests/f77demo/.cvsignore
 delete mode 100644 tests/fcdemo/.cvsignore
 delete mode 100644 tests/mdemo/.cvsignore
 delete mode 100644 tests/mdemo2/.cvsignore
 delete mode 100644 tests/pdemo/.cvsignore
 delete mode 100644 tests/tagdemo/.cvsignore

diff --git a/.cvsignore b/.cvsignore
deleted file mode 100644
index a9384a9..0000000
--- a/.cvsignore
+++ /dev/null
@@ -1,32 +0,0 @@
-.*.prcs_aux
-.clcommitrc
-.cvslog-tlasync
-.gdb_history
-.pc
-.deps
-.libs
-_libs
-+build
-+dest
-+inst
-COPYING
-INSTALL
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-clibtool.cfg
-configure
-config.*
-libtool
-libtoolize
-libtoolize.in
-patches
-stamp-h1
-stamp-vcl
-config-h.in
-commit
-manual.html
-libtool-*.tar.gz
-libtool-*.tar.bz2
diff --git a/doc/.cvsignore b/doc/.cvsignore
deleted file mode 100644
index 5937eaa..0000000
--- a/doc/.cvsignore
+++ /dev/null
@@ -1,21 +0,0 @@
-.dirstamp
-Makefile
-Makefile.in
-stamp-vti
-version.texi
-notes.txt
-*.log
-*.dvi
-*.aux
-*.toc
-*.cp
-*.fn
-*.vr
-*.tp
-*.ky
-*.pg
-*.cps
-*.info*
-*.html
-*.ps
-*.pdf
diff --git a/libltdl/.cvsignore b/libltdl/.cvsignore
deleted file mode 100644
index c5b4e71..0000000
--- a/libltdl/.cvsignore
+++ /dev/null
@@ -1,15 +0,0 @@
-.deps
-.dirstamp
-.libs
-_libs
-INSTALL
-Makefile.in
-Makefile.am
-aclocal.m4
-argz.h
-autom4te.cache
-configure
-config-h.in
-*.lo
-*.la
-stamp-*
diff --git a/libltdl/config/.cvsignore b/libltdl/config/.cvsignore
deleted file mode 100644
index 1529432..0000000
--- a/libltdl/config/.cvsignore
+++ /dev/null
@@ -1,13 +0,0 @@
-COPYING
-INSTALL
-install-sh
-ltmain.in
-ltmain.sh
-mdate-sh
-missing
-mkinstalldirs
-texinfo.tex
-depcomp
-compile
-config.guess
-config.sub
diff --git a/libltdl/loaders/.cvsignore b/libltdl/loaders/.cvsignore
deleted file mode 100644
index 0a02879..0000000
--- a/libltdl/loaders/.cvsignore
+++ /dev/null
@@ -1,5 +0,0 @@
-.deps
-.dirstamp
-.libs
-_libs
-*.lo
diff --git a/libltdl/m4/.cvsignore b/libltdl/m4/.cvsignore
deleted file mode 100644
index 0b52c5c..0000000
--- a/libltdl/m4/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-ltversion.m4
diff --git a/tests/.cvsignore b/tests/.cvsignore
deleted file mode 100644
index 7b25241..0000000
--- a/tests/.cvsignore
+++ /dev/null
@@ -1,8 +0,0 @@
-Makefile
-Makefile.in
-atconfig
-defs.in
-defs
-package.m4
-testsuite
-testsuite.log
diff --git a/tests/cdemo/.cvsignore b/tests/cdemo/.cvsignore
deleted file mode 100644
index 90cb964..0000000
--- a/tests/cdemo/.cvsignore
+++ /dev/null
@@ -1,14 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-conftest*
-libtool
-*.lo
-*.la
-cdemo
diff --git a/tests/demo/.cvsignore b/tests/demo/.cvsignore
deleted file mode 100644
index 2448112..0000000
--- a/tests/demo/.cvsignore
+++ /dev/null
@@ -1,20 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-conftest*
-hc-direct
-hc-libflag
-hc-libpath
-hc-minusL
-libtool
-*.lo
-*.la
-hell
-hell_static
-helldl
diff --git a/tests/depdemo/.cvsignore b/tests/depdemo/.cvsignore
deleted file mode 100644
index b416949..0000000
--- a/tests/depdemo/.cvsignore
+++ /dev/null
@@ -1,15 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-conftest*
-libtool
-*.lo
-*.la
-depdemo
-depdemo_static
diff --git a/tests/depdemo/l1/.cvsignore b/tests/depdemo/l1/.cvsignore
deleted file mode 100644
index 09980ae..0000000
--- a/tests/depdemo/l1/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-*.lo
-*.la
diff --git a/tests/depdemo/l2/.cvsignore b/tests/depdemo/l2/.cvsignore
deleted file mode 100644
index 09980ae..0000000
--- a/tests/depdemo/l2/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-*.lo
-*.la
diff --git a/tests/depdemo/l3/.cvsignore b/tests/depdemo/l3/.cvsignore
deleted file mode 100644
index 09980ae..0000000
--- a/tests/depdemo/l3/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-*.lo
-*.la
diff --git a/tests/depdemo/l4/.cvsignore b/tests/depdemo/l4/.cvsignore
deleted file mode 100644
index 09980ae..0000000
--- a/tests/depdemo/l4/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-*.lo
-*.la
diff --git a/tests/f77demo/.cvsignore b/tests/f77demo/.cvsignore
deleted file mode 100644
index 30c8944..0000000
--- a/tests/f77demo/.cvsignore
+++ /dev/null
@@ -1,17 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-config-h.in
-conftest*
-libtool
-*.lo
-*.la
-stamp-h*
-cprogram
-fprogram
diff --git a/tests/fcdemo/.cvsignore b/tests/fcdemo/.cvsignore
deleted file mode 100644
index 30c8944..0000000
--- a/tests/fcdemo/.cvsignore
+++ /dev/null
@@ -1,17 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-config-h.in
-conftest*
-libtool
-*.lo
-*.la
-stamp-h*
-cprogram
-fprogram
diff --git a/tests/mdemo/.cvsignore b/tests/mdemo/.cvsignore
deleted file mode 100644
index 47c0c4b..0000000
--- a/tests/mdemo/.cvsignore
+++ /dev/null
@@ -1,15 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-conftest*
-libtool
-*.lo
-*.la
-mdemo
-mdemo_static
diff --git a/tests/mdemo2/.cvsignore b/tests/mdemo2/.cvsignore
deleted file mode 100644
index fd7a079..0000000
--- a/tests/mdemo2/.cvsignore
+++ /dev/null
@@ -1,15 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-conftest*
-libtool
-*.lo
-*.la
-mdemo2
-mdemo2_static
diff --git a/tests/pdemo/.cvsignore b/tests/pdemo/.cvsignore
deleted file mode 100644
index 2448112..0000000
--- a/tests/pdemo/.cvsignore
+++ /dev/null
@@ -1,20 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-acinclude.m4
-aclocal.m4
-autom4te.cache
-configure
-config.*
-conftest*
-hc-direct
-hc-libflag
-hc-libpath
-hc-minusL
-libtool
-*.lo
-*.la
-hell
-hell_static
-helldl
diff --git a/tests/tagdemo/.cvsignore b/tests/tagdemo/.cvsignore
deleted file mode 100644
index 4b6013d..0000000
--- a/tests/tagdemo/.cvsignore
+++ /dev/null
@@ -1,14 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-autom4te.cache
-acinclude.m4
-aclocal.m4
-configure
-config.*
-conftest*
-libtool
-*.lo
-*.la
-tagdemo


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 16 14:55:40 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwJcS-0008H4-MZ
	for mharc-libtool-commit@gnu.org; Thu, 16 Sep 2010 14:55:40 -0400
Received: from [140.186.70.92] (port=42656 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwJcO-0008EH-Lv
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 14:55:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwJcJ-0005vo-U0
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 14:55:33 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41165
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwJcJ-0005vj-SU
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 14:55:31 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwJcJ-0005lN-Ck
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 18:55:31 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwJcI-0006sO-UE
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 18:55:31 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22
X-Git-Newrev: 72064249b217a22626dd8da8a5a2ce7f12e4404d
Message-Id: <E1OwJcI-0006sO-UE@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 16 Sep 2010 18:55:31 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-183-g7206424
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 18:55: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  72064249b217a22626dd8da8a5a2ce7f12e4404d (commit)
      from  a3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22 (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 72064249b217a22626dd8da8a5a2ce7f12e4404d
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 13 09:48:57 2010 +0200

    Prefer $NM @file when the toolchain isn't native to $build.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating
    the command line length and take the @file branch *if* the file
    names needs to be converted for the toolchain and the @file
    branch works.  Fixes problems in stresstest.at when doing a cross
    from Cygwin to MinGW using MinGW native tools (a.k.a. a "faked"
    cross), and for the specific case of MSVC on Cygwin it makes the
    test pass.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 543623f..1697a1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-13  Peter Rosin  <peda@lysator.liu.se>
+
+	Prefer $NM @file when the toolchain isn't native to $build.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating
+	the command line length and take the @file branch *if* the file
+	names needs to be converted for the toolchain and the @file
+	branch works.  Fixes problems in stresstest.at when doing a cross
+	from Cygwin to MinGW using MinGW native tools (a.k.a. a "faked"
+	cross), and for the specific case of MSVC on Cygwin it makes the
+	test pass.
+
 2010-09-14  Eric Blake  <eblake@redhat.com>
 
 	maint: ship .xz, not .lzma
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 6036f4f..18f0f39 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7349,10 +7349,23 @@ EOF
 	    save_ifs="$IFS"; IFS='~'
 	    for cmd1 in $cmds; do
 	      IFS="$save_ifs"
-	      eval cmd=\"$cmd1\"
-	      func_len " $cmd"
-	      len=$func_len_result
-	      if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+	      # Take the normal branch if the nm_file_list_spec branch
+	      # doesn't work or if tool conversion is not needed.
+	      case $nm_file_list_spec~$to_tool_file_cmd in
+		*~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+		  try_normal_branch=yes
+		  eval cmd=\"$cmd1\"
+		  func_len " $cmd"
+		  len=$func_len_result
+		  ;;
+		*)
+		  try_normal_branch=no
+		  ;;
+	      esac
+	      if test $try_normal_branch = yes \
+		 && { test "$len" -lt "$max_cmd_len" \
+		      || test "$max_cmd_len" -le -1; }
+	      then
 		func_show_eval "$cmd" 'exit $?'
 		skipped_export=false
 	      elif test -n "$nm_file_list_spec"; then


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 16 16:03:54 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwKgU-0000pl-19
	for mharc-libtool-commit@gnu.org; Thu, 16 Sep 2010 16:03:54 -0400
Received: from [140.186.70.92] (port=55124 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwKgP-0000o2-OK
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 16:03:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwKgO-0007M6-AD
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 16:03:49 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:59414
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwKgO-0007M2-7X
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 16:03:48 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwKgN-0006mE-W7
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 20:03:48 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwKgN-0002OI-S1
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 20:03: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: 72064249b217a22626dd8da8a5a2ce7f12e4404d
X-Git-Newrev: 3d4f9e324590737af07de73ce4d4eefea85fb16e
Message-Id: <E1OwKgN-0002OI-S1@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 16 Sep 2010 20:03:47 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-184-g3d4f9e3
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 20:03: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  3d4f9e324590737af07de73ce4d4eefea85fb16e (commit)
      from  72064249b217a22626dd8da8a5a2ce7f12e4404d (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 3d4f9e324590737af07de73ce4d4eefea85fb16e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Sep 16 22:02:50 2010 +0200

    tests: avoid localization failure due to unstable compiler messages.
    
    * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT):
    Attempt to normalize temporary file names in error messages.
    Fixes 'localized compiler messages' test failure on Darwin when
    creating fat (multi-ABI) libraries.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 1697a1b..37f6c84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	tests: avoid localization failure due to unstable compiler messages.
+	* tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT):
+	Attempt to normalize temporary file names in error messages.
+	Fixes 'localized compiler messages' test failure on Darwin when
+	creating fat (multi-ABI) libraries.
+
 2010-09-13  Peter Rosin  <peda@lysator.liu.se>
 
 	Prefer $NM @file when the toolchain isn't native to $build.
diff --git a/tests/testsuite.at b/tests/testsuite.at
index ea13ec9..c450e10 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -240,10 +240,13 @@ esac])
 # - distcc process numbers,
 # - ccache file location,
 # - newline encoding,
-# - location of the libtool script.
+# - location of the libtool script,
+# - error messages involving unstable temporary file names.
 m4_define([LT_AT_NORMALIZE_COMPILER_OUTPUT],
 [_ltbase=`$ECHO "$LIBTOOL" | sed 's,^.*/,,'`
-[sed "/^distcc\[[0-9]*\]/d; /^$_ltbase: compile/d" < $1 > $1.t]
+[sed "/^distcc\[[0-9]*\]/d
+      /^$_ltbase: compile/d
+      s/\(tmp\/\{1,\}cc\)\([a-zA-Z0-9_]\{1,\}\)/\1-normalized-tmpname/g" < $1 > $1.t]
 LT_AT_UNIFY_NL([$1.t], [m4_default([$2], [$1])])[]dnl
 ])
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Sep 16 23:37:48 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwRlj-00060Y-VZ
	for mharc-libtool-commit@gnu.org; Thu, 16 Sep 2010 23:37:48 -0400
Received: from [140.186.70.92] (port=43492 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwRlh-00060Q-Jh
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 23:37:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwRle-0007y3-5e
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 23:37:45 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:59547
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwRle-0007xn-4G
	for libtool-commit@gnu.org; Thu, 16 Sep 2010 23:37:42 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwRld-0003oT-Kd
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 03:37:41 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwRlc-0002cU-Uw
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 03:37:41 +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: 3d4f9e324590737af07de73ce4d4eefea85fb16e
X-Git-Newrev: 254f5280e6cb6f69b17b581e0febbb73cd02b606
Message-Id: <E1OwRlc-0002cU-Uw@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 03:37:41 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-185-g254f528
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 03:37:47 -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  254f5280e6cb6f69b17b581e0febbb73cd02b606 (commit)
      from  3d4f9e324590737af07de73ce4d4eefea85fb16e (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 254f5280e6cb6f69b17b581e0febbb73cd02b606
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Thu Sep 16 22:53:47 2010 -0400

    Fix sh.test failure introduced in 72064249
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor syntax.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index 37f6c84..44a76e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-16  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Fix sh.test failure introduced in 72064249
+	* libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor
+	syntax.
+
 2010-09-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: avoid localization failure due to unstable compiler messages.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 18f0f39..7bbca85 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7362,7 +7362,7 @@ EOF
 		  try_normal_branch=no
 		  ;;
 	      esac
-	      if test $try_normal_branch = yes \
+	      if test "$try_normal_branch" = yes \
 		 && { test "$len" -lt "$max_cmd_len" \
 		      || test "$max_cmd_len" -le -1; }
 	      then


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 13:56:43 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwfAx-0003pw-AL
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 13:56:43 -0400
Received: from [140.186.70.92] (port=40815 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwfAq-0003D4-I4
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 13:56:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oweva-000758-Gs
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 13:40:51 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:58862
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oweva-00074x-F5
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 13:40:50 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwevZ-0005wz-Vo
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 17:40:50 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwevV-00028i-74
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 17:40:49 +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: 254f5280e6cb6f69b17b581e0febbb73cd02b606
X-Git-Newrev: 301c4cf24f5ddaa565ffb773906247deb1319aa2
Message-Id: <E1OwevV-00028i-74@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 17:40:49 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-186-g301c4cf
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 17: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  301c4cf24f5ddaa565ffb773906247deb1319aa2 (commit)
      from  254f5280e6cb6f69b17b581e0febbb73cd02b606 (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 301c4cf24f5ddaa565ffb773906247deb1319aa2
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Fri Sep 17 12:28:46 2010 -0400

    Document libtool variable to_host_file_cmd.
    
    * doc/libtool.texi (libtool script contents:to_host_file_cmd): Document
    variable.
    (libtool script contents:to_tool_file_cmd): Prefer `build platform'
    to `build system'; Ditto `host platform'.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index 44a76e2..334a5d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Document libtool variable to_host_file_cmd.
+	* doc/libtool.texi (libtool script contents:to_host_file_cmd):
+	Document variable.
+	(libtool script contents:to_tool_file_cmd): Prefer `build platform'
+	to `build system'; Ditto `host platform'.
+
 2010-09-16  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Fix sh.test failure introduced in 72064249
diff --git a/doc/libtool.texi b/doc/libtool.texi
index a3555dc..0d3ff7f 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -6822,11 +6822,21 @@ Linker flag (passed through the C compiler) used to generate thread-safe
 libraries.
 @end defvar
 
+@defvar to_host_file_cmd
+If the toolchain is not native to the build platform (e.g.@: if you are using
+MSYS to drive the scripting, but are using the MinGW native Windows compiler)
+this variable describes how to convert file names from the format used by the
+build platform to the format used by host platform.  Normally set to
+@samp{func_convert_file_noop}, libtool will autodetect most cases in which
+other values should be used.  On rare occasions, it may be necessary to override
+the autodetected value (@pxref{Cygwin to MinGW Cross}).
+@end defvar
+
 @defvar to_tool_file_cmd
-If the toolchain is not native to the build system (e.g.@: if you are using
+If the toolchain is not native to the build platform (e.g.@: if you are using
 some Unix to drive the scripting together with a Windows toolchain running
 in Wine) this variable describes how to convert file names from the format
-used by the build system to the format used by the toolchain.  Normally set
+used by the build platform to the format used by the toolchain.  Normally set
 to @samp{func_convert_file_noop}.
 @end defvar
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 14:40:04 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Owfqu-0008Fh-J4
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 14:40:04 -0400
Received: from [140.186.70.92] (port=47874 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Owfqr-0008FH-CV
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 14:40:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owfqq-0001V2-4r
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 14:40:01 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:53635
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owfqq-0001Uv-0p
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 14:40:00 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owfqp-0006dL-N6
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 18:39:59 +0000
Received: from cwilson by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owfqo-0005Du-G5
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 18:39:59 +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: 301c4cf24f5ddaa565ffb773906247deb1319aa2
X-Git-Newrev: 69e77671311ab54de44ba24ff5dbf5568bf1221d
Message-Id: <E1Owfqo-0005Du-G5@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 18:39:59 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-187-g69e7767
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 18:40:02 -0000

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

The branch, master has been updated
       via  69e77671311ab54de44ba24ff5dbf5568bf1221d (commit)
      from  301c4cf24f5ddaa565ffb773906247deb1319aa2 (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 69e77671311ab54de44ba24ff5dbf5568bf1221d
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Fri Sep 17 12:23:28 2010 -0400

    Fix order of PATH manipulation in cwrapper and shwrapper
    
    * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call
    lt_update_exe_path before lt_update_lib_path, to ensure that the
    temporary rpath values (which include the OBJDIRs of uninstalled
    libtool libraries) precede installation and final -rpath directories.
    (func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending
    $temp_rpath to $shlibpath_var; similar rationale as above.
    Reported by Jon Turney <jon.turney@dronecode.org.uk>
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index 334a5d0..17e50cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2010-09-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
+	Fix order of PATH manipulation in cwrapper and shwrapper
+	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call
+	lt_update_exe_path before lt_update_lib_path, to ensure that the
+	temporary rpath values (which include the OBJDIRs of uninstalled
+	libtool libraries) precede installation and final -rpath directories.
+	(func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending
+	$temp_rpath to $shlibpath_var; similar rationale as above.
+	Reported by Jon Turney <jon.turney@dronecode.org.uk>
+
+2010-09-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
 	Document libtool variable to_host_file_cmd.
 	* doc/libtool.texi (libtool script contents:to_host_file_cmd):
 	Document variable.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 7bbca85..4f5bbb3 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -3293,6 +3293,18 @@ func_exec_program ()
 
   if test -f \"\$progdir/\$program\"; then"
 
+	# fixup the dll searchpath if we need to.
+	#
+	# Fix the DLL searchpath if we need to.  Do this before prepending
+	# to shlibpath, because on Windows, both are PATH and uninstalled
+	# libraries must come first.
+	if test -n "$dllsearchpath"; then
+	  $ECHO "\
+    # Add the dll search path components to the executable PATH
+    PATH=$dllsearchpath:\$PATH
+"
+	fi
+
 	# Export our shlibpath_var if we have one.
 	if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
 	  $ECHO "\
@@ -3307,14 +3319,6 @@ func_exec_program ()
 "
 	fi
 
-	# fixup the dll searchpath if we need to.
-	if test -n "$dllsearchpath"; then
-	  $ECHO "\
-    # Add the dll search path components to the executable PATH
-    PATH=$dllsearchpath:\$PATH
-"
-	fi
-
 	$ECHO "\
     if test \"\$libtool_execute_magic\" != \"$magic\"; then
       # Run the actual program with our arguments.
@@ -3703,8 +3707,12 @@ EOF
 
   lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
   lt_setenv ("DUALCASE", "1");  /* for MSK sh */
-  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+  /* Update the DLL searchpath.  EXE_PATH_VALUE ($dllsearchpath) must
+     be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+     because on Windows, both *_VARNAMEs are PATH but uninstalled
+     libraries must come first. */
   lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
 
   lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
 		  nonnull (lt_argv_zero));


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 15:53:32 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Owh00-0005en-Cl
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 15:53:32 -0400
Received: from [140.186.70.92] (port=44364 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Owgzx-0005dv-3I
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 15:53:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgzb-0003tY-0z
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 15:53:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46689
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgza-0003tN-TM
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 15:53:06 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgza-0007X5-IX
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 19:53:06 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgza-0008Pi-DK
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 19:53:06 +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: 69e77671311ab54de44ba24ff5dbf5568bf1221d
X-Git-Newrev: 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca
Message-Id: <E1Owgza-0008Pi-DK@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 19:53:06 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-189-g9797b61
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 19:53: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  9797b616fc18cedcb0f9ed2dcfddb77a3c452bca (commit)
       via  d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c (commit)
      from  69e77671311ab54de44ba24ff5dbf5568bf1221d (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 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca
Merge: 69e7767 d4bf222
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Sep 17 21:48:00 2010 +0200

    Merge branch 'lto'
    
    * lto:
      LTO: consistently accept -fwhopr* and -flto* for GCC.

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

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

diff --git a/ChangeLog b/ChangeLog
index 17e50cf..326b658 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	LTO: consistently accept -fwhopr* and -flto* for GCC.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*.
+	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match
+	-flto*.
+
 2010-09-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Fix order of PATH manipulation in cwrapper and shwrapper
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 4f5bbb3..0418007 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5048,10 +5048,10 @@ func_mode_link ()
       # @file                GCC response files
       # -tp=*                Portland pgcc target processor selection
       # --sysroot=*          for sysroot support
-      # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization
+      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
-      -O*|-flto*|-fwhopr|-fuse-linker-plugin)
+      -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 3a4e757..1a5b85d 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -6854,7 +6854,7 @@ _LT_EOF
 
 _lt_libdeps_save_CFLAGS=$CFLAGS
 case "$CC $CFLAGS " in #(
-*\ -flto\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 esac
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 15:56:45 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Owh37-0006Zd-1Z
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 15:56:45 -0400
Received: from [140.186.70.92] (port=44365 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Owh31-0005du-SH
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 15:56:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgzb-0003tT-1S
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 15:53:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46688
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgza-0003tK-TM
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 15:53:06 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owgza-0007X2-Be
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 19:53:06 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwgzZ-0008P8-RL
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 19:53:06 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/lto
X-Git-Reftype: branch
X-Git-Oldrev: 327f014068d2f709f0e38282d6b36725573a45c7
X-Git-Newrev: d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c
Message-Id: <E1OwgzZ-0008P8-RL@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 19:53:06 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, lto, updated. v2.2.10-157-gd4bf222
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 19:56: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, lto has been updated
       via  d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c (commit)
      from  327f014068d2f709f0e38282d6b36725573a45c7 (commit)

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

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

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

diff --git a/ChangeLog b/ChangeLog
index 3819e0b..e6decf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	LTO: consistently accept -fwhopr* and -flto* for GCC.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*.
+	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match
+	-flto*.
+
 2010-09-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: avoid spurious test failure due to library mode on HP-UX.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 5ada0c1..d74b598 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5014,10 +5014,10 @@ func_mode_link ()
       # @file                GCC response files
       # -tp=*                Portland pgcc target processor selection
       # --sysroot=*          for sysroot support
-      # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization
+      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
-      -O*|-flto*|-fwhopr|-fuse-linker-plugin)
+      -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 01cd66a..c2803cd 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -6836,7 +6836,7 @@ _LT_EOF
 
 _lt_libdeps_save_CFLAGS=$CFLAGS
 case "$CC $CFLAGS " in #(
-*\ -flto\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 esac
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 16:29:02 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwhYL-0005Ih-R3
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 16:29:01 -0400
Received: from [140.186.70.92] (port=57355 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwhYC-0005FO-9Y
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 16:28:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwhXv-0000P8-LN
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 16:28:36 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:55628
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwhXv-0000P2-In
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 16:28:35 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwhXv-0000RS-2a
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 20:28:35 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwhXu-00026V-UR
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 20:28:35 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca
X-Git-Newrev: a93b8481087b3eb9675ea9e6ca15b09e7e6901ae
Message-Id: <E1OwhXu-00026V-UR@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 20:28:34 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-190-ga93b848
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 20:28:59 -0000

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

The branch, master has been updated
       via  a93b8481087b3eb9675ea9e6ca15b09e7e6901ae (commit)
      from  9797b616fc18cedcb0f9ed2dcfddb77a3c452bca (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 a93b8481087b3eb9675ea9e6ca15b09e7e6901ae
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Sep 17 16:15:04 2010 +0200

    Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2]
    [pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 326b658..514a20e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-17  Peter Rosin  <peda@lysator.liu.se>
+
+	Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2]
+	[pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++.
+
 2010-09-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	LTO: consistently accept -fwhopr* and -flto* for GCC.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 1a5b85d..a8b07bf 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3873,6 +3873,12 @@ m4_if([$1], [CXX], [
 	  ;;
 	esac
 	;;
+      mingw* | cygwin* | os2* | pw32* | cegcc*)
+	# This hack is so that the source file can tell whether it is being
+	# built for inclusion in a dll (and should export symbols for example).
+	m4_if([$1], [GCJ], [],
+	  [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+	;;
       dgux*)
 	case $cc_basename in
 	  ec++*)


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 16:33:04 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwhcG-0008UR-69
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 16:33:04 -0400
Received: from [140.186.70.92] (port=35532 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwhcC-0007vj-Nx
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 16:33:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owhbq-00015G-Te
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 16:32:39 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54516
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owhbq-00015C-Oi
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 16:32:38 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owhbq-0000Wz-OT
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 20:32:38 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Owhbq-0002Mk-HU
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 20:32:38 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a93b8481087b3eb9675ea9e6ca15b09e7e6901ae
X-Git-Newrev: 92d9818d7eb8ca4bb1bc775cd397255beb2481d8
Message-Id: <E1Owhbq-0002Mk-HU@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 17 Sep 2010 20:32:38 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-191-g92d9818
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 20:33:02 -0000

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

The branch, master has been updated
       via  92d9818d7eb8ca4bb1bc775cd397255beb2481d8 (commit)
      from  a93b8481087b3eb9675ea9e6ca15b09e7e6901ae (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 92d9818d7eb8ca4bb1bc775cd397255beb2481d8
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Sep 17 22:31:08 2010 +0200

    tests: actually detect missing 'test' in 'if "$foo" = ...'.
    
    * tests/sh.test: Remove extra backslash in regex.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog     |    3 +++
 tests/sh.test |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 514a20e..e6984ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-09-17  Peter Rosin  <peda@lysator.liu.se>
 
+	tests: actually detect missing 'test' in 'if "$foo" = ...'.
+	* tests/sh.test: Remove extra backslash in regex.
+
 	Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
 	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2]
 	[pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++.
diff --git a/tests/sh.test b/tests/sh.test
index 6d2fa20..5324b31 100755
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -2,8 +2,8 @@
 # sh.test - check for some nonportable or dubious or undesired shell
 #           constructs in shell scripts.
 #
-#   Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software
-#   Foundation, Inc.
+#   Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free
+#   Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2003
 #
 #   This file is part of GNU Libtool.
@@ -31,7 +31,7 @@
 status=$EXIT_SUCCESS
 
 # Check for bad binary operators.
-if $EGREP -n -e 'if[ 	]+["'\'']?\\$[^ 	]+[ 	]+(=|-[lg][te]|-eq|-ne)' $scripts; then
+if $EGREP -n -e 'if[ 	]+["'\'']?\$[^ 	]+[ 	]+(=|-[lg][te]|-eq|-ne)' $scripts; then
   echo "use \`if test \$something =' instead of \`if \$something ='"
   status=$EXIT_FAILURE
 fi


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 17 22:45:29 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwnQf-0006Ri-Hj
	for mharc-libtool-commit@gnu.org; Fri, 17 Sep 2010 22:45:29 -0400
Received: from [140.186.70.92] (port=37905 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwnQc-0006RP-7B
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 22:45:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwnQa-0006IL-KX
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 22:45:26 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:52360
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwnQa-0006IA-In
	for libtool-commit@gnu.org; Fri, 17 Sep 2010 22:45:24 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwnQa-00053F-1p
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 02:45:24 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwnQZ-0002u4-7M
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 02:45:24 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 92d9818d7eb8ca4bb1bc775cd397255beb2481d8
X-Git-Newrev: bb8ae2a29a769877ec1b40155dfe53ad47228185
Message-Id: <E1OwnQZ-0002u4-7M@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 18 Sep 2010 02:45:23 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-192-gbb8ae2a
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Sep 2010 02:45: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  bb8ae2a29a769877ec1b40155dfe53ad47228185 (commit)
      from  92d9818d7eb8ca4bb1bc775cd397255beb2481d8 (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 bb8ae2a29a769877ec1b40155dfe53ad47228185
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 16 09:47:45 2010 +0700

    maint: improve README instructions for fetching latest version.
    
    * README, README-alpha (Obtaining the Latest Sources): New
    section, describing use of savannah repositories and bootstrap.
    * README.alpha (Reporting Bugs): Remove git instructions in
    favour of a reference to the new `Obtaining the Latest Sources'
    section.

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

Summary of changes:
 ChangeLog    |    9 ++++++++
 README       |   47 ++++++++++++++++++++++++++++++++++++++++++-
 README.alpha |   61 +++++++++++++++++++++++++++++++++++++++++++++++----------
 3 files changed, 104 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e6984ae..d72d9e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,15 @@
 	cross), and for the specific case of MSVC on Cygwin it makes the
 	test pass.
 
+2010-09-15  Gary V. Vaughan  <gary@gnu.org>
+
+	maint: improve README instructions for fetching latest version.
+	* README, README-alpha (Obtaining the Latest Sources): New
+	section, describing use of savannah repositories and bootstrap.
+	* README.alpha (Reporting Bugs): Remove git instructions in
+	favour of a reference to the new `Obtaining the Latest Sources'
+	section.
+
 2010-09-14  Eric Blake  <eblake@redhat.com>
 
 	maint: ship .xz, not .lzma
diff --git a/README b/README
index 0c13518..16328bb 100644
--- a/README
+++ b/README
@@ -113,7 +113,51 @@ If you wish to report test failures to the libtool list, you need to
 send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
 
-4. Version Numbering
+4. Obtaining the Latest Sources
+===============================
+
+* The master libtool repository is stored in git.
+
+  If you are a member of the savannah group for GNU Libtool, a writable
+  copy of the libtool repository can be obtained by:
+
+    git clone <savannah-user>@git.sv.gnu.org:/srv/git/libtool.git
+
+  If you are behind a firewall that blocks the git protocol, you may
+  find it useful to use
+
+    git config --global url.http://git.sv.gnu.org/r/.insteadof \
+      git://git.sv.gnu.org/
+
+  to force git to transparently rewrite all savannah git references to
+  use http.
+
+  If you are not a member of the savannah group for GNU Libtool, you can
+  still fetch a read-only copy with either:
+
+    git clone git://git.sv.gnu.org/libtool.git
+
+  or using the CVS pserver protocol:
+
+    cvs -d:pserver:anonymous@pserver.git.sv.gnu.org:/srv/git/libtool.git \
+        co -d libtool HEAD
+
+* Before you can build from git, you need to bootstrap.  This requires:
+  - Autoconf 2.62 or later
+  - Automake 1.11.1 or later
+  - Help2man 1.29 or later
+  - Xz 4.999.8beta or later (from <http://tukaani.org/xz>)
+  - Texinfo 4.8 or later
+  - Any prerequisites of the above (such as m4, perl, tex)
+
+  Note that these bootstrapping dependencies are much stricter than
+  those required to use a destributed release for your own packages.
+  After installation, GNU Libtool is designed to work either standalone,
+  or optionally with:
+  - Autoconf 2.59 or later
+  - Automake 1.9.6 or later
+
+5. Version Numbering
 ====================
 
 People have complained that they find the version numbering scheme under
@@ -168,7 +212,6 @@ things:
 For more details about version numbers, see:
 
     http://www.gnu.org/software/libtool/contribute.html
-
 -- 
   Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.
diff --git a/README.alpha b/README.alpha
index 2632e75..a58167e 100644
--- a/README.alpha
+++ b/README.alpha
@@ -21,21 +21,17 @@ subject line including the string `[PLATFORM]'.
 =================
 
 If this distribution doesn't work for you, before you report the
-problem, please try upgrading to the latest version from git first:
-
-  git clone git://git.savannah.gnu.org/libtool.git
-  cd libtool
-  ./bootstrap
+problem, please try upgrading to the latest version first (see
+`Obtaining the latest sources' below).
 
 The `bootstrap' script sets up the source directory for you to hack,
-though it may take quite some time to run.  To use it, you need a recent
-(maybe yet to be released) version of both Autoconf and Automake.  If
-you don't intend to run the test suite, you can speed up the `bootstrap'
-step by an order of magnitude if you call it like this instead:
+though it may take quite some time to run.  If you don't intend to
+re-run the test suite, you can speed up the `bootstrap' step by an
+order of magnitude if you call it like this instead:
 
   reconfdirs='. libltdl' ./bootstrap
 
-If your bug is not fixed in the latest version, please send a full
+If your bug is still not fixed in the latest version, please send a full
 report to <bug-libtool@gnu.org>, including the information from the end
 of the help message given by `./libtool --help', and the verbose output
 of any failed test groups (as described below).
@@ -71,7 +67,7 @@ do it like this:
 
   gmake check TESTS="tests/cdemo-static.test tests/cdemo-static-make.test \
                      tests/cdemo-static-exec.test" \
-	      TESTSUITEFLAGS=-V
+              TESTSUITEFLAGS=-V
 
 Providing that you have a FAIL from the most recent group from a
 particular demo directory (like the cdemo-static.test group above), you
@@ -109,6 +105,49 @@ If you wish to report test failures to the libtool list, you need to
 send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
 
+4. Obtaining the Latest Sources
+===============================
+
+* The master libtool repository is stored in git.
+
+  If you are a member of the savannah group for GNU Libtool, a writable
+  copy of the libtool repository can be obtained by:
+
+    git clone <savannah-user>@git.sv.gnu.org:/srv/git/libtool.git
+
+  If you are behind a firewall that blocks the git protocol, you may
+  find it useful to use
+
+    git config --global url.http://git.sv.gnu.org/r/.insteadof \
+      git://git.sv.gnu.org/
+
+  to force git to transparently rewrite all savannah git references to
+  use http.
+
+  If you are not a member of the savannah group for GNU Libtool, you can
+  still fetch a read-only copy with either:
+
+    git clone git://git.sv.gnu.org/libtool.git
+
+  or using the CVS pserver protocol:
+
+    cvs -d:pserver:anonymous@pserver.git.sv.gnu.org:/srv/git/libtool.git \
+        co -d libtool HEAD
+
+* Before you can build from git, you need to bootstrap.  This requires:
+  - Autoconf 2.62 or later
+  - Automake 1.11.1 or later
+  - Help2man 1.29 or later
+  - Xz 4.999.8beta or later (from <http://tukaani.org/xz>)
+  - Texinfo 4.8 or later
+  - Any prerequisites of the above (such as m4, perl, tex)
+
+  Note that these bootstrapping dependencies are much stricter than
+  those required to use a destributed release for your own packages.
+  After installation, GNU Libtool is designed to work either standalone,
+  or optionally with:
+  - Autoconf 2.59 or later
+  - Automake 1.9.6 or later
 -- 
   Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Sep 18 04:21:59 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OwsgJ-0006nF-Bb
	for mharc-libtool-commit@gnu.org; Sat, 18 Sep 2010 04:21:59 -0400
Received: from [140.186.70.92] (port=57207 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwsgG-0006mk-PW
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 04:21:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwsgE-0007MU-Vz
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 04:21:56 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:45049
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwsgE-0007MQ-T0
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 04:21:54 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwsgE-0000eh-Ld
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 08:21:54 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OwsgE-0001Vg-IF
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 08:21:54 +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: bb8ae2a29a769877ec1b40155dfe53ad47228185
X-Git-Newrev: 8e7350625f1236f6f0c31ba5a8f518671731b032
Message-Id: <E1OwsgE-0001Vg-IF@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 18 Sep 2010 08:21:54 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-193-g8e73506
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Sep 2010 08:21:57 -0000

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

The branch, master has been updated
       via  8e7350625f1236f6f0c31ba5a8f518671731b032 (commit)
      from  bb8ae2a29a769877ec1b40155dfe53ad47228185 (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 8e7350625f1236f6f0c31ba5a8f518671731b032
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Sep 18 10:19:38 2010 +0200

    tests: avoid distcheck failure with --disable-ltdl-install.
    
    * tests/ltdl-libdir.at (libdir of installed modules): Skip if
    $LIBLTDL does not exist.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index d72d9e0..fd8bb49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	tests: avoid distcheck failure with --disable-ltdl-install.
+	* tests/ltdl-libdir.at (libdir of installed modules): Skip if
+	$LIBLTDL does not exist.
+
 2010-09-17  Peter Rosin  <peda@lysator.liu.se>
 
 	tests: actually detect missing 'test' in 'if "$foo" = ...'.
diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at
index 7065c5b..01c9e70 100644
--- a/tests/ltdl-libdir.at
+++ b/tests/ltdl-libdir.at
@@ -93,6 +93,9 @@ main (int argc, const char *argv[])
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
 : ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
 
+# Skip installcheck if --disable-ltdl-install was used.
+AT_CHECK([test -f "$LIBLTDL" || exit 77])
+
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 LDFLAGS="$LDFLAGS -no-undefined"
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sat Sep 18 23:52:40 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OxAxE-00063Q-NW
	for mharc-libtool-commit@gnu.org; Sat, 18 Sep 2010 23:52:40 -0400
Received: from [140.186.70.92] (port=40002 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OxAx9-000636-PY
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 23:52:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxAx7-0006YG-8O
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 23:52:35 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39736
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxAx7-0006YA-6O
	for libtool-commit@gnu.org; Sat, 18 Sep 2010 23:52:33 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxAx6-0006S8-Lm
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 03:52:32 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxAx4-0003Pr-Tv
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 03:52:32 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 8e7350625f1236f6f0c31ba5a8f518671731b032
X-Git-Newrev: 3ce570843e0f83e0c7d4b331945e7aff98ad6878
Message-Id: <E1OxAx4-0003Pr-Tv@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 19 Sep 2010 03:52:31 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-199-g3ce5708
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Sep 2010 03:52: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  3ce570843e0f83e0c7d4b331945e7aff98ad6878 (commit)
       via  28956db0f0b80c3dd88307e29ce13ef9a68ecc47 (commit)
       via  14df28e4f478ce58cd0472f31aaf1f4c91ef9c6b (commit)
       via  aded917934bd13a2a5a390e2c6bc22d913da0f37 (commit)
       via  a42ab2b857499d6a5b004849cefe813938f4a2ba (commit)
       via  9837f9a545d494890b5b7c4ba7030bda1c49935e (commit)
      from  8e7350625f1236f6f0c31ba5a8f518671731b032 (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 3ce570843e0f83e0c7d4b331945e7aff98ad6878
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 18 12:08:13 2010 +0700

    maint: use sed instead of maintaining 2 README files.
    
    * README.alpha: Deleted.  It was mostly identical to README.
    * libltdl/config/edit-readme-alpha: New script to edit the
    contents of README in the dist tree prior to tarring up.
    * Makefile.am (dist-hook): Run it before rolling alpha release
    tarball.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 28956db0f0b80c3dd88307e29ce13ef9a68ecc47
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 18 11:13:50 2010 +0700

    maint: improve README's `Obtaining the Latest Sources'.
    
    * README (Obtaining the Latest Sources): Add instructions for
    obtaining stable, alpha and nightly snapshot tarballs.
    * README.alpha (Obtaining the Latest Sources): Adjust to match.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 14df28e4f478ce58cd0472f31aaf1f4c91ef9c6b
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 18 10:46:09 2010 +0700

    maint: reformat README `The Test Suites' for consistency.
    
    * README (The Test Suites): Reformatted for consistency.
    * README.alpha (The Test Suites): Adjust to match.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit aded917934bd13a2a5a390e2c6bc22d913da0f37
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 18 10:38:10 2010 +0700

    maint: improve `Reporting Bugs' in README and README.alpha.
    
    * README (Reporting Bugs): Rewritten to a more complete and
    concise guide to providing a good bug report.
    * README.alpha (Reporting Bugs): Adjust to match.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit a42ab2b857499d6a5b004849cefe813938f4a2ba
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 18 10:08:25 2010 +0700

    maint: consolidate Introductions of README and README.alpha.
    
    * README (Introduction): Rewritten to a more logical order for
    first time users, incorporating some additional text that was
    previously only in README.alpha.
    * README.alpha (Introduction): Adjust to match.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 9837f9a545d494890b5b7c4ba7030bda1c49935e
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 18 09:48:31 2010 +0700

    maint: copy the Version Numbering section into README.alpha.
    
    * README.alpha (Version Numbering): No less useful for users
    of alpha releases.  Copied from README.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

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

Summary of changes:
 ChangeLog                        |   33 ++++++++
 Makefile.am                      |   11 ++-
 README                           |  162 +++++++++++++++++++++++++++++--------
 README.alpha                     |  168 --------------------------------------
 libltdl/config/edit-readme-alpha |   81 ++++++++++++++++++
 5 files changed, 249 insertions(+), 206 deletions(-)
 delete mode 100644 README.alpha
 create mode 100755 libltdl/config/edit-readme-alpha

diff --git a/ChangeLog b/ChangeLog
index fd8bb49..946f8d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,39 @@
 	* tests/ltdl-libdir.at (libdir of installed modules): Skip if
 	$LIBLTDL does not exist.
 
+2010-09-18  Gary V. Vaughan  <gary@gnu.org>
+
+	maint: use sed instead of maintaining 2 README files.
+	* README.alpha: Deleted.  It was mostly identical to README.
+	* libltdl/config/edit-readme-alpha: New script to edit the
+	contents of README in the dist tree prior to tarring up.
+	* Makefile.am (dist-hook): Run it before rolling alpha release
+	tarball.
+
+	maint: improve README's `Obtaining the Latest Sources'.
+	* README (Obtaining the Latest Sources): Add instructions for
+	obtaining stable, alpha and nightly snapshot tarballs.
+	* README.alpha (Obtaining the Latest Sources): Adjust to match.
+
+	maint: reformat README `The Test Suites' for consistency.
+	* README (The Test Suites): Reformatted for consistency.
+	* README.alpha (The Test Suites): Adjust to match.
+
+	maint: improve `Reporting Bugs' in README and README.alpha.
+	* README (Reporting Bugs): Rewritten to a more complete and
+	concise guide to providing a good bug report.
+	* README.alpha (Reporting Bugs): Adjust to match.
+
+	maint: consolidate Introductions of README and README.alpha.
+	* README (Introduction): Rewritten to a more logical order for
+	first time users, incorporating some additional text that was
+	previously only in README.alpha.
+	* README.alpha (Introduction): Adjust to match.
+
+	maint: copy the Version Numbering section into README.alpha.
+	* README.alpha (Version Numbering): No less useful for users
+	of alpha releases.  Copied from README.
+
 2010-09-17  Peter Rosin  <peda@lysator.liu.se>
 
 	tests: actually detect missing 'test' in 'if "$foo" = ...'.
diff --git a/Makefile.am b/Makefile.am
index dcd0876..6e29a29 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -406,6 +406,10 @@ install-data-local: libltdl/Makefile.in
 ## Distribution. ##
 ## ------------- ##
 
+edit_readme_alpha = $(auxdir)/edit-readme-alpha
+
+EXTRA_DIST += $(edit_readme_alpha)
+
 uninstall-hook:
 	@$(NORMAL_UNINSTALL)
 	@list='$(ltdldatafiles) $(auxfiles)'; for f in $$list; do \
@@ -419,11 +423,10 @@ uninstall-hook:
 	done
 
 dist-hook:
-## Ship README.alpha only in alpha release, but renamed to README
-	@if test -f $(srcdir)/README.alpha; then \
+## Edit the README file for alpha releases.
 	case $(VERSION) in \
-	  *[a-z]) cp -p $(srcdir)/README.alpha $(distdir)/README ;; \
-	esac; else :; fi
+	  *[a-z]) $(SHELL) $(srcdir)/$(edit_readme_alpha) $(distdir)/README ;; \
+	esac
 ## 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 \
diff --git a/README b/README
index 16328bb..f88901c 100644
--- a/README
+++ b/README
@@ -8,32 +8,70 @@ This is GNU Libtool, a generic library support script.  Libtool hides
 the complexity of using shared libraries behind a consistent, portable
 interface.
 
-To use Libtool, add the new generic library building commands to your
-Makefile, Makefile.in, or Makefile.am.  See the documentation for
-details.
-
 Libtool's home page is:
 
-  http://www.gnu.org/software/libtool/libtool.html
+    http://www.gnu.org/software/libtool/libtool.html
 
 See the file NEWS for a description of recent changes to Libtool.
 
-See the file INSTALL for generic instructions on how to build and install
-Libtool.  Please see the file doc/notes.txt for some platform-specific
-information.  Please note that you need GNU make to build Libtool.
+Please note that you can build GNU Libtool from this directory using a
+vendor Make program as long as this is an official release tarball;
+otherwise you will need GNU Make for sane VPATH support.  See the file
+INSTALL for complete generic instructions on how to build and install
+Libtool.  Also, see the file doc/notes.txt for some platform- specific
+information.
+
+See the info node (libtool)Tested Platforms. (or the file doc/PLATFORMS)
+for a list of platforms that Libtool already supports.
 
-See the info node (libtool)Tested Platforms. (or the file
-doc/PLATFORMS) for a list of platforms that Libtool supports.
+Please try it on all the platforms you have access to:
+
+ * If it builds and passes the test suite (`gmake check'), please send
+   a short note to the libtool mailing list <libtool@gnu.org> with a
+   subject line including the string `[PLATFORM]', and containing the
+   details from the end of `./libtool --help' in the body.
+ * Otherwise, see `Reporting Bugs' below for how to help us fix any
+   problems you discover.
+
+To use Libtool, add the new generic library building commands to your
+Makefile, Makefile.in, or Makefile.am.  See the documentation for
+details.
 
 
 2. Reporting Bugs
 =================
 
-If you have any suggestions or bug reports, or you wish to port Libtool
-to a new platform, please send electronic mail to the libtool mailing
-list <libtool@gnu.org> or bug reports to <bug-libtool@gnu.org>.  Be sure
-to send us your information from the end of the help message given by
-`./libtool --help'.
+If this distribution doesn't work for you, before you report the
+problem, at least try upgrading to the latest released version first,
+and see whether the issue persists.  If you feel able, you can also
+check whether the issue has been fixed in the development sources for
+the next release (see `Obtaining the Latest Sources' below).
+
+Once you've determined that your bug is still not fixed in the latest
+version, please send a full report to <bug-libtool@gnu.org>, including:
+
+  1. the information from the end of the help message given by
+     `./libtool --help', and the verbose output of any failed tests
+     (see `The Test Suites' immediately below);
+  2. complete instructions for how to reproduce your bug, along with
+     the results you were expecting, and how they differ from what you
+     actually see;
+  3. a workaround or full fix for the bug, if you have it;
+  4. a copy of `tests/testsuite.log' if you are experiencing failures
+     in the Autotest testsuite.
+  5. new test cases for the testsuite that demonstrate the bug are
+     especially welcome, and will help to ensure that future releases
+     don't reintroduce the problem - if you're not able to write a
+     complete testsuite case, a simple standalone shell script is
+     usually good enough to help us write a test for you.
+
+If you have any other suggestions, or if you wish to port Libtool to a
+new platform, please send email to the mailing list <libtool@gnu.org>.
+
+Please note that if you send us an non-trivial code for inclusion in a
+future release, we may ask you for a copyright assignment (for brief
+details see the `Copyright Assignment' section on our `Contributing'
+webpage <http://www.gnu.org/software/libtool/contribute.html>).
 
 
 3. The Test Suites
@@ -43,15 +81,15 @@ Libtool comes with two integrated sets of tests to check that your build
 is sane.  You can run both test suites like this, assuming that `gmake'
 refers to GNU make:
 
-  gmake -k check
+    gmake -k check
 
 If you want to run the old testsuite only, do it like this:
 
-  gmake check TESTSUITEFLAGS=-V
+    gmake check TESTSUITEFLAGS=-V
 
 If you want to run the new testsuite only, do it like this:
 
-  gmake check-local
+    gmake check-local
 
 The tests of the old test suite run in groups in the various demo
 subdirectories, so if one of the tests early in a group FAILs, the rest
@@ -64,9 +102,8 @@ To run a test group of the old test suite in isolation (say, you think
 you have fixed a bug, but don't want to rerun the entire suite), you can
 do it like this:
 
-  gmake check TESTS="tests/cdemo-static.test tests/cdemo-static-make.test \
-                     tests/cdemo-static-exec.test" \
-              TESTSUITEFLAGS=-V
+    gmake check TESTSUITEFLAGS=-V TESTS="tests/cdemo-static.test \
+        tests/cdemo-static-make.test tests/cdemo-static-exec.test"
 
 Providing that you have a FAIL from the most recent group from a
 particular demo directory (like the cdemo-static.test group above), you
@@ -82,40 +119,89 @@ the verbose output from all failed tests.
 In order to enable debug shell tracing, you can set VERBOSE=debug when
 running the old test suite.
 
+In the long run, Libtool will move to using only the new, Autotest-
+driven testsuite.  Its usage is documented in:
 
-In the long run, Libtool will move to using only the new,
-Autotest-driven testsuite.  Its usage is documented in
-
-  info Autoconf 'testsuite Invocation'
+    info Autoconf 'testsuite Invocation'
 
-but simple help may also be obtained through
+but simple help may also be obtained through:
 
-  gmake check-local TESTSUITEFLAGS='--help'
+    gmake check-local TESTSUITEFLAGS='--help'
 
 For verbose output, add the flag `-v', for running only a subset of the
 independent tests, merely specify them by number or by keyword, both of
 which are displayed with the `--list' flag.  For example, the `libtool'
 keyword is used for the tests that exercise only this script.  So it is
 possible to test an installed script, possibly from a different Libtool
-release, with
-  gmake check-local TESTSUITEFLAGS="-k libtool LIBTOOL=/path/to/libtool"
+release, with:
+
+    gmake check-local \
+        TESTSUITEFLAGS="-k libtool LIBTOOL=/path/to/libtool"
 
 Some tests, like the one exercising max_cmd_len limits, make use of this
 to invoke the testsuite recursively on a subset of tests.  For these
 tests, the variable INNER_TESTSUITEFLAGS may be used.  It will be
-expanded right after the `-k libtool', without separating whitespace,
-so that further limiting of the recursive set of tests is possible.
-For example, to run only the template tests within the max_cmd_len, use
-  gmake check-local TESTSUITEFLAGS="-v -x -k max_cmd_len \
+expanded right after the `-k libtool', without separating whitespace, so
+that further limiting of the recursive set of tests is possible.  For
+example, to run only the template tests within the max_cmd_len, use:
+
+    gmake check-local TESTSUITEFLAGS="-v -x -k max_cmd_len \
 		      INNER_TESTSUITEFLAGS=',template -v -x'"
 
 If you wish to report test failures to the libtool list, you need to
 send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
 
+
 4. Obtaining the Latest Sources
 ===============================
 
+* With the exception of ancient releases, all official GNU Libtool
+  releases have a detached GPG signature file.  With this you can verify
+  that the corresponding file (i.e. without the `.sig' suffix) is the
+  same file that was released by the owner of it's GPG key ID.  First,
+  be sure to download both the .sig file and the corresponding release,
+  then run a command like this:
+
+    gpg --verify libtool-x.y.z.tar.gz.sig
+
+  If that command fails because you don't have the required public key,
+  then run this command to import it:
+
+    gpg --keyserver keys.gnupg.net --recv-keys 2983D606
+
+  and then rerun the `gpg --verify' command.
+
+* Official stable releases of GNU Libtool, along with these detached
+  signature files are available from:
+
+    ftp://ftp.gnu.org/gnu/libtool
+
+  To reduce load on the main server, please use one of the mirrors
+  listed at:
+
+    http://www.gnu.org/order/ftp.html
+
+* Alpha quality pre-releases of GNU Libtool, also with detached
+  signature files are available from:
+
+    ftp://alpha.gnu.org/gnu/libtool
+
+  and some of the mirrors listed at:
+
+    http://www.gnu.org/order/ftp.html
+
+* Nightly snapshots of the unreleased development trunk of GNU Libtool
+  are available from:
+
+    http://pogma.com/libtool
+
+  These files do not have signatures, but will allow you to easily
+  determine whether the most recent development code still exhibits any
+  bugs you have discovered, without requiring you to install a complete
+  build environment and the extra tools needed to bootstrap a version
+  control checkout.
+
 * The master libtool repository is stored in git.
 
   If you are a member of the savannah group for GNU Libtool, a writable
@@ -157,6 +243,14 @@ send the file `tests/testsuite.log' to the bug report mailing list,
   - Autoconf 2.59 or later
   - Automake 1.9.6 or later
 
+* The `bootstrap' script sets up the source directory for you to hack,
+  though it may take quite some time to run.  If you don't intend to
+  re-run the test suite, you can speed up the `bootstrap' step by an
+  order of magnitude if you call it like this instead:
+
+    reconfdirs='. libltdl' ./bootstrap
+
+
 5. Version Numbering
 ====================
 
@@ -212,7 +306,7 @@ things:
 For more details about version numbers, see:
 
     http://www.gnu.org/software/libtool/contribute.html
--- 
+--
   Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.
   Written by Gary V. Vaughan, 2004
diff --git a/README.alpha b/README.alpha
deleted file mode 100644
index a58167e..0000000
--- a/README.alpha
+++ /dev/null
@@ -1,168 +0,0 @@
-GNU Libtool
-***********
-
-1. Introduction
-===============
-
-This is an alpha testing release of GNU Libtool, please try it on all
-the platforms you have access to.  Using it more or less implicitly
-signs you up to help us find whatever problems you report.
-
-See the file INSTALL for generic instructions on how to build and install
-Libtool.  Please see the file doc/notes.txt for some platform-specific
-information.  Please note that you need GNU make to build Libtool.
-
-If it builds and passes the test suite (`gmake check'), please send
-notification to the libtool mailing list <libtool@gnu.org> with a
-subject line including the string `[PLATFORM]'.
-
-
-2. Reporting Bugs
-=================
-
-If this distribution doesn't work for you, before you report the
-problem, please try upgrading to the latest version first (see
-`Obtaining the latest sources' below).
-
-The `bootstrap' script sets up the source directory for you to hack,
-though it may take quite some time to run.  If you don't intend to
-re-run the test suite, you can speed up the `bootstrap' step by an
-order of magnitude if you call it like this instead:
-
-  reconfdirs='. libltdl' ./bootstrap
-
-If your bug is still not fixed in the latest version, please send a full
-report to <bug-libtool@gnu.org>, including the information from the end
-of the help message given by `./libtool --help', and the verbose output
-of any failed test groups (as described below).
-
-
-3. The Test Suites
-==================
-
-Libtool comes with two integrated sets of tests to check that your build
-is sane.  You can run both test suites like this, assuming that `gmake'
-refers to GNU make:
-
-  gmake -k check
-
-If you want to run the old testsuite only, do it like this:
-
-  gmake check TESTSUITEFLAGS=-V
-
-If you want to run the new testsuite only, do it like this:
-
-  gmake check-local
-
-The tests of the old test suite run in groups in the various demo
-subdirectories, so if one of the tests early in a group FAILs, the rest
-of the tests in that group will be SKIPped.  If you see a FAIL further
-into a group, even if a test with the same name PASSes in another test
-group, you need to take note of the name of the first test in the group
-if you want to rerun the group with FAILures to get verbose output.
-
-To run a test group of the old test suite in isolation (say, you think
-you have fixed a bug, but don't want to rerun the entire suite), you can
-do it like this:
-
-  gmake check TESTS="tests/cdemo-static.test tests/cdemo-static-make.test \
-                     tests/cdemo-static-exec.test" \
-              TESTSUITEFLAGS=-V
-
-Providing that you have a FAIL from the most recent group from a
-particular demo directory (like the cdemo-static.test group above), you
-can explore the state of the directory to help with debugging.
-
-If you wish to report a test group failure to the libtool list, you need
-to send the verbose output of the FAILing group, along with the
-information from the end of `$(top_builddir)/libtool --help' to the bug
-report mailing list, <bug-libtool@gnu.org> with a subject line that
-includes the string `[TEST FAILURE]'.  The file test-suite.log contains
-the verbose output from all failed tests.
-
-In order to enable debug shell tracing, you can set VERBOSE=debug when
-running the old test suite.
-
-
-In the long run, Libtool will move to using only the new,
-Autotest-driven testsuite.  Its usage is documented in
-
-  info Autoconf 'testsuite Invocation'
-
-but simple help may also be obtained through
-
-  gmake check-local TESTSUITEFLAGS='--help'
-
-For verbose output, add the flag `-v', for running only a subset of the
-independent tests, merely specify them by number or by keyword, both of
-which are displayed with the `--list' flag.  For example, the `libtool'
-keyword is used for the tests that exercise only this script.  So it is
-possible to test an installed script, possibly from a different Libtool
-release, with
-  gmake check-local TESTSUITEFLAGS="-k libtool LIBTOOL=/path/to/libtool"
-
-If you wish to report test failures to the libtool list, you need to
-send the file `tests/testsuite.log' to the bug report mailing list,
-<bug-libtool@gnu.org>.
-
-4. Obtaining the Latest Sources
-===============================
-
-* The master libtool repository is stored in git.
-
-  If you are a member of the savannah group for GNU Libtool, a writable
-  copy of the libtool repository can be obtained by:
-
-    git clone <savannah-user>@git.sv.gnu.org:/srv/git/libtool.git
-
-  If you are behind a firewall that blocks the git protocol, you may
-  find it useful to use
-
-    git config --global url.http://git.sv.gnu.org/r/.insteadof \
-      git://git.sv.gnu.org/
-
-  to force git to transparently rewrite all savannah git references to
-  use http.
-
-  If you are not a member of the savannah group for GNU Libtool, you can
-  still fetch a read-only copy with either:
-
-    git clone git://git.sv.gnu.org/libtool.git
-
-  or using the CVS pserver protocol:
-
-    cvs -d:pserver:anonymous@pserver.git.sv.gnu.org:/srv/git/libtool.git \
-        co -d libtool HEAD
-
-* Before you can build from git, you need to bootstrap.  This requires:
-  - Autoconf 2.62 or later
-  - Automake 1.11.1 or later
-  - Help2man 1.29 or later
-  - Xz 4.999.8beta or later (from <http://tukaani.org/xz>)
-  - Texinfo 4.8 or later
-  - Any prerequisites of the above (such as m4, perl, tex)
-
-  Note that these bootstrapping dependencies are much stricter than
-  those required to use a destributed release for your own packages.
-  After installation, GNU Libtool is designed to work either standalone,
-  or optionally with:
-  - Autoconf 2.59 or later
-  - Automake 1.9.6 or later
--- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-  Foundation, Inc.
-  Written by Gary V. Vaughan, 2004
-
-  This file is part of GNU Libtool.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.  This file is offered as-is,
-without warranty of any kind.
-
-
-Local Variables:
-mode: text
-fill-column: 72
-End:
-vim:tw=72
diff --git a/libltdl/config/edit-readme-alpha b/libltdl/config/edit-readme-alpha
new file mode 100755
index 0000000..6070a31
--- /dev/null
+++ b/libltdl/config/edit-readme-alpha
@@ -0,0 +1,81 @@
+#! /bin/sh
+
+#   edit-readme-alpha - edit README file for alpha releases
+#   Copyright (C) 2010 Free Software Foundation, Inc.
+#   Written by Gary V. Vaughan, 2010
+#
+#   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.
+####
+
+# We used to maintain separate (but extremely similiar!) README and
+# README.alpha files, and had `make dist' include the right one in a
+# distribution based on the contests of `$(VERSION)'.
+#
+# Now, we have `make dist' call this script to tweak the first paragraph
+# of README in situ, to be more suitable for an alpha quality release.
+
+EXIT_SUCCESS=0
+EXIT_FAILURE=1
+
+# 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:
+progname=`echo "$progpath" |sed 's|^.*/||'`
+
+
+# func_fatal_error ARG...
+# -----------------------
+# Echo program name prefixed message to standard error, and exit.
+func_fatal_error ()
+{
+    echo "$progname: $*" >&2
+    exit $EXIT_FAILURE
+}
+
+
+for file in "$@"; do
+  # Make sure the paragraph we are matching has not been edited since
+  # this script was written.
+  matched=`sed -n -e '/^This is GNU Libtool,/,/^interface.$/p' $file \
+      |wc -l |sed 's|^ *||'`
+  test 3 = "$matched" \
+      || func_fatal_error "$file format has changed, please fix \`$0'"
+
+  # Don't leave file droppings.
+  trap 'x=$?; rm $file.T; exit $x' 1 2 13 15
+
+  # Edit the first paragraph to be suitable for an alpha release.
+  sed -e '/^This is GNU Libtool,/,/^interface.$/c\
+This is an alpha testing release of GNU Libtool, a generic library\
+support script.  Libtool hides the complexity of using shared libraries\
+behind a consistent, portable interface.' $file > $file.T
+
+  # Diagnose redirection failure.
+  test -f $file.T || func_fatal_error "Unable to write $file.T"
+
+  # Overwrite the original file with our edited version.
+  mv $file.T $file || func_fatal_error "Unable to edit $file"
+done
+
+exit $EXIT_SUCCESS


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 19 11:10:38 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OxLXJ-0000QG-J9
	for mharc-libtool-commit@gnu.org; Sun, 19 Sep 2010 11:10:37 -0400
Received: from [140.186.70.92] (port=55854 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OxLXF-0008V4-1A
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 11:10:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxL40-0005AA-0h
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 10:40:21 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:44768
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxL3z-0005A6-VN
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 10:40:19 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxL3z-0005uU-N3
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 14:40:19 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxL3y-0001LM-CD
	for libtool-commit@gnu.org; Sun, 19 Sep 2010 14:40:19 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3ce570843e0f83e0c7d4b331945e7aff98ad6878
X-Git-Newrev: f05840852938b904ac81502f7162e19525206f59
Message-Id: <E1OxL3y-0001LM-CD@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 19 Sep 2010 14:40:19 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-200-gf058408
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Sep 2010 15:10: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  f05840852938b904ac81502f7162e19525206f59 (commit)
      from  3ce570843e0f83e0c7d4b331945e7aff98ad6878 (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 f05840852938b904ac81502f7162e19525206f59
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sun Sep 19 14:14:21 2010 +0200

    tests: Import items from liba1 for MSVC.
    
    * tests/lt_dlexit.at (b1.c) [MSVC]: Import function f1 and
    variable v1 from liba1 when using them from modb1.  Makes the
    test pass on MSVC.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog          |    7 +++++++
 tests/lt_dlexit.at |   11 +++++++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 946f8d7..78d3e48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-19  Peter Rosin  <peda@lysator.liu.se>
+
+	tests: Import items from liba1 for MSVC.
+	* tests/lt_dlexit.at (b1.c) [MSVC]: Import function f1 and
+	variable v1 from liba1 when using them from modb1.  Makes the
+	test pass on MSVC.
+
 2010-09-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	tests: avoid distcheck failure with --disable-ltdl-install.
diff --git a/tests/lt_dlexit.at b/tests/lt_dlexit.at
index 8d0b728..c80c1eb 100644
--- a/tests/lt_dlexit.at
+++ b/tests/lt_dlexit.at
@@ -1,6 +1,6 @@
 # lt_dlexit.at -- test libltdl functionality                  -*- Autotest -*-
 #
-#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc.
 #   Written by Dave Brolley & Ralf Wildenhues, 2007
 #
 #   This file is part of GNU Libtool.
@@ -117,7 +117,14 @@ AT_DATA([b1.c],
 [[#ifdef __cplusplus
 extern "C" {
 #endif
-extern int f1 (int), v1;
+#if defined DLL_EXPORT && defined _WIN32 && defined _MSC_VER
+#  define LIBA1_SCOPE extern __declspec (dllimport)
+#endif
+#if !defined LIBA1_SCOPE
+#  define LIBA1_SCOPE extern
+#endif
+LIBA1_SCOPE int f1 (int);
+LIBA1_SCOPE v1;
 int fb1 (int x) { return f1 (v1) + x - 3; }
 int vb1 = 3;
 #ifdef __cplusplus


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 20 12:16:34 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oxj2g-0003Iy-8d
	for mharc-libtool-commit@gnu.org; Mon, 20 Sep 2010 12:16:34 -0400
Received: from [140.186.70.92] (port=43358 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oxj2V-00032b-Af
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 12:16:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxip2-00014J-1V
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 12:02:30 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:59708
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxip1-000141-Vc
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 12:02:28 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxip1-0007gX-Pz
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 16:02:27 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxip0-0007jl-22
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 16:02:27 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f05840852938b904ac81502f7162e19525206f59
X-Git-Newrev: 48c28ce65b53af7ad6c1cb84026e47be9ce2d68b
Message-Id: <E1Oxip0-0007jl-22@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 20 Sep 2010 16:02:27 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-202-g48c28ce
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2010 16:16:32 -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  48c28ce65b53af7ad6c1cb84026e47be9ce2d68b (commit)
       via  52972128c5952da628e033e4509208711906c3a2 (commit)
      from  f05840852938b904ac81502f7162e19525206f59 (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 48c28ce65b53af7ad6c1cb84026e47be9ce2d68b
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 20 09:11:43 2010 +0200

    libltdl: Make sure preloaded symbols are declared extern "C".
    
    * libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Move the
    declaration of lt__PROGRAM__LTX_preloaded_symbols to global
    scope and make sure it has "C" linkage.  Makes exceptions.at
    succeed on MSVC.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

commit 52972128c5952da628e033e4509208711906c3a2
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 20 09:07:25 2010 +0200

    tests: __declspec (dll{ex,im}port) in tests/exceptions.at
    
    * tests/exceptions.at (common.h, module.h, lib.h) [w32]: Use
    __declspec (dllimport) and __declspec (dllexport) instead of
    the less portable __attribute__ ((dllimport)) and
    __attribute__ ((dllexport)).  Makes the test compile on MSVC.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog           |   17 +++++++++++++++++
 libltdl/ltdl.h      |    9 +++++----
 tests/exceptions.at |   17 ++++++++---------
 3 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 78d3e48..8ed47f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2010-09-20  Peter Rosin  <peda@lysator.liu.se>
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	libltdl: Make sure preloaded symbols are declared extern "C".
+	* libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Move the
+	declaration of lt__PROGRAM__LTX_preloaded_symbols to global
+	scope and make sure it has "C" linkage.  Makes exceptions.at
+	succeed on MSVC.
+
+2010-09-20  Peter Rosin  <peda@lysator.liu.se>
+
+	tests: __declspec (dll{ex,im}port) in tests/exceptions.at
+	* tests/exceptions.at (common.h, module.h, lib.h) [w32]: Use
+	__declspec (dllimport) and __declspec (dllexport) instead of
+	the less portable __attribute__ ((dllimport)) and
+	__attribute__ ((dllexport)).  Makes the test compile on MSVC.
+
 2010-09-19  Peter Rosin  <peda@lysator.liu.se>
 
 	tests: Import items from liba1 for MSVC.
diff --git a/libltdl/ltdl.h b/libltdl/ltdl.h
index 5154da1..749a54d 100644
--- a/libltdl/ltdl.h
+++ b/libltdl/ltdl.h
@@ -102,10 +102,11 @@ LT_SCOPE int	lt_dlpreload_open    (const char *originator,
 				      lt_dlpreload_callback_func *func);
 
 #define lt_preloaded_symbols	lt__PROGRAM__LTX_preloaded_symbols
-#define LTDL_SET_PRELOADED_SYMBOLS() 			LT_STMT_START{	\
-	extern LT_DLSYM_CONST lt_dlsymlist lt_preloaded_symbols[];	\
-	lt_dlpreload_default(lt_preloaded_symbols);			\
-							}LT_STMT_END
+/* Ensure C linkage.  */
+extern LT_DLSYM_CONST lt_dlsymlist lt__PROGRAM__LTX_preloaded_symbols[];
+
+#define LTDL_SET_PRELOADED_SYMBOLS() \
+	lt_dlpreload_default(lt_preloaded_symbols)
 
 
 
diff --git a/tests/exceptions.at b/tests/exceptions.at
index 235597c..286b2ac 100644
--- a/tests/exceptions.at
+++ b/tests/exceptions.at
@@ -66,9 +66,8 @@ CPPFLAGS="$LTDLINCL $CPPFLAGS"
 # the regex).  However, in this test, none of these situations apply,
 # so we don't directly address it.  Otherwise, the correct mechanism
 # would be to avoid all of those flags, and instead explicitly decorate
-# all symbols with appropriate __attribute__ ((dllexport)) or
-# __attribute__ ((dllimport)) flags when building the DLLs and the
-# clients.
+# all symbols with appropriate __declspec (dllexport) or
+# __declspec (dllimport) flags when building the DLLs and the clients.
 #
 # For more information, see these two threads:
 #   http://lists.gnu.org/archive/html/bug-libtool/2010-06/msg00069.html
@@ -84,9 +83,9 @@ AT_DATA([common.h],
 #if defined(__CYGWIN__) || defined(_WIN32)
 # if defined(DLL_EXPORT) || defined(USING_COMMON_DLL)
 #  if defined(LIBTOOL_TEST_IN_COMMON)
-#   define COMMON_IMPEXP __attribute__ ((dllexport))
+#   define COMMON_IMPEXP __declspec (dllexport)
 #  else
-#   define COMMON_IMPEXP __attribute__ ((dllimport))
+#   define COMMON_IMPEXP __declspec (dllimport)
 #  endif
 # else
 #  define COMMON_IMPEXP
@@ -128,9 +127,9 @@ AT_DATA([module.h],
 #if defined(__CYGWIN__) || defined(_WIN32)
 # if defined(DLL_EXPORT) || defined(USING_MODULE_DLL)
 #  if defined(LIBTOOL_TEST_IN_MODULE)
-#   define MODULE_IMPEXP __attribute__ ((dllexport))
+#   define MODULE_IMPEXP __declspec (dllexport)
 #  else
-#   define MODULE_IMPEXP __attribute__ ((dllimport))
+#   define MODULE_IMPEXP __declspec (dllimport)
 #  endif
 # else
 #  define MODULE_IMPEXP
@@ -174,9 +173,9 @@ AT_DATA([lib.h],
 #if defined(__CYGWIN__) || defined(_WIN32)
 # if defined(DLL_EXPORT) || defined(USING_LIB_DLL)
 #  if defined(LIBTOOL_TEST_IN_LIB)
-#   define LIB_IMPEXP __attribute__ ((dllexport))
+#   define LIB_IMPEXP __declspec (dllexport)
 #  else
-#   define LIB_IMPEXP __attribute__ ((dllimport))
+#   define LIB_IMPEXP __declspec (dllimport)
 #  endif
 # else
 #  define LIB_IMPEXP


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 20 15:27:48 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oxm1k-0000pd-9G
	for mharc-libtool-commit@gnu.org; Mon, 20 Sep 2010 15:27:48 -0400
Received: from [140.186.70.92] (port=52310 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oxm1h-0000nQ-D1
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 15:27:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxm1f-0007hn-W4
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 15:27:45 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:55344
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxm1f-0007hj-UA
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 15:27:43 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxm1f-0001m3-M1
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 19:27:43 +0000
Received: from ericb by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxm1d-0004j9-PK
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 19:27:43 +0000
From: "Eric Blake" <eblake@redhat.com>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 48c28ce65b53af7ad6c1cb84026e47be9ce2d68b
X-Git-Newrev: 31221926db25f9d8b34ac5d79412355896f3c70d
Message-Id: <E1Oxm1d-0004j9-PK@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 20 Sep 2010 19:27:42 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-203-g3122192
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2010 19:27:47 -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  31221926db25f9d8b34ac5d79412355896f3c70d (commit)
      from  48c28ce65b53af7ad6c1cb84026e47be9ce2d68b (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 31221926db25f9d8b34ac5d79412355896f3c70d
Author: Eric Blake <eblake@redhat.com>
Date:   Mon Sep 20 12:04:50 2010 -0600

    build: ship autobuild.m4, to reduce bootstrap requirement
    
    Shipping a copy of autobuild.m4 makes it so that users need not
    pre-install autobuild just for aclocal to find the macro AB_INIT.
    
    * libltdl/m4/.gitignore: Drop autobuild.m4.
    * libltdl/m4/autobuild.m4: New file, copied from autobuild.
    * configure.ac (AB_INIT): Unconditionally call it.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

Summary of changes:
 ChangeLog               |    7 +++++++
 configure.ac            |    3 +--
 libltdl/m4/.gitignore   |    1 -
 libltdl/m4/autobuild.m4 |   40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 3 deletions(-)
 create mode 100644 libltdl/m4/autobuild.m4

diff --git a/ChangeLog b/ChangeLog
index 8ed47f7..d468552 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-20  Eric Blake  <eblake@redhat.com>
+
+	build: ship autobuild.m4, to reduce bootstrap requirement
+	* libltdl/m4/.gitignore: Drop autobuild.m4.
+	* libltdl/m4/autobuild.m4: New file, copied from autobuild.
+	* configure.ac (AB_INIT): Unconditionally call it.
+
 2010-09-20  Peter Rosin  <peda@lysator.liu.se>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/configure.ac b/configure.ac
index 0fcf109..131cd3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,8 +138,7 @@ AM_INIT_AUTOMAKE([1.11.1 gnu subdir-objects dist-xz color-tests parallel-tests])
 # string for this build.
 : ${autobuild_mode=default}
 AB_VERSION="AC_PACKAGE_VERSION ($TIMESTAMP)"
-m4_ifdef([AB_INIT],
-	 [AB_INIT([$autobuild_mode])])
+AB_INIT([$autobuild_mode])
 
 
 dnl We use m4sh to generate libtool's portable shell scripts
diff --git a/libltdl/m4/.gitignore b/libltdl/m4/.gitignore
index 81a1059..0b52c5c 100644
--- a/libltdl/m4/.gitignore
+++ b/libltdl/m4/.gitignore
@@ -1,2 +1 @@
 ltversion.m4
-autobuild.m4
diff --git a/libltdl/m4/autobuild.m4 b/libltdl/m4/autobuild.m4
new file mode 100644
index 0000000..93ccb54
--- /dev/null
+++ b/libltdl/m4/autobuild.m4
@@ -0,0 +1,40 @@
+# autobuild.m4 serial 7
+dnl Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
+dnl Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Simon Josefsson
+
+# Usage: AB_INIT([MODE]).
+AC_DEFUN([AB_INIT],
+[
+  AC_REQUIRE([AC_CANONICAL_BUILD])
+  AC_REQUIRE([AC_CANONICAL_HOST])
+
+  if test -z "$AB_PACKAGE"; then
+    AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
+  fi
+  AC_MSG_NOTICE([autobuild project... $AB_PACKAGE])
+
+  if test -z "$AB_VERSION"; then
+    AB_VERSION=${PACKAGE_VERSION:-$VERSION}
+  fi
+  AC_MSG_NOTICE([autobuild revision... $AB_VERSION])
+
+  hostname=`hostname`
+  if test "$hostname"; then
+    AC_MSG_NOTICE([autobuild hostname... $hostname])
+  fi
+
+  ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
+
+  date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
+  if test "$?" != 0; then
+    date=`date`
+  fi
+  if test "$date"; then
+    AC_MSG_NOTICE([autobuild timestamp... $date])
+  fi
+])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 20 16:42:57 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OxnCS-0001vN-HY
	for mharc-libtool-commit@gnu.org; Mon, 20 Sep 2010 16:42:56 -0400
Received: from [140.186.70.92] (port=48752 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OxnCO-0001rT-Ar
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 16:42:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxnCM-000242-K4
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 16:42:51 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:36167
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxnCM-00023y-Ig
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 16:42:50 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxnCM-0002jR-19
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 20:42:50 +0000
Received: from ericb by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OxnCL-0000Ju-VA
	for libtool-commit@gnu.org; Mon, 20 Sep 2010 20:42:50 +0000
From: "Eric Blake" <eblake@redhat.com>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 31221926db25f9d8b34ac5d79412355896f3c70d
X-Git-Newrev: 627373516c5b0f0228b004eb03a397b782638128
Message-Id: <E1OxnCL-0000Ju-VA@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 20 Sep 2010 20:42:49 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-204-g6273735
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2010 20:42: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  627373516c5b0f0228b004eb03a397b782638128 (commit)
      from  31221926db25f9d8b34ac5d79412355896f3c70d (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 627373516c5b0f0228b004eb03a397b782638128
Author: Eric Blake <eblake@redhat.com>
Date:   Mon Sep 20 14:40:09 2010 -0600

    maint: drop autobuild requirement
    
    * HACKING: Update.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

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

diff --git a/ChangeLog b/ChangeLog
index d468552..ceb193c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-09-20  Eric Blake  <eblake@redhat.com>
 
+	maint: drop autobuild requirement
+	* HACKING: Update.
+
 	build: ship autobuild.m4, to reduce bootstrap requirement
 	* libltdl/m4/.gitignore: Drop autobuild.m4.
 	* libltdl/m4/autobuild.m4: New file, copied from autobuild.
diff --git a/HACKING b/HACKING
index d36b7f0..977be10 100644
--- a/HACKING
+++ b/HACKING
@@ -602,9 +602,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
   (esp. bug-libtool) for outstanding bug reports also in the list of
   pending moderation requests.
 
-* Make sure you have wget, xz, and autobuild installed.  aclocal should be
-  able to find autobuild.m4; or you can install it into the tree with
-         aclocal -I libltdl/m4 --install
+* Make sure you have wget and xz installed.
 
 * Make sure your locale is sane, e.g. by exporting LC_ALL=C.
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 21 03:11:07 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oxx0M-0002t7-VB
	for mharc-libtool-commit@gnu.org; Tue, 21 Sep 2010 03:11:07 -0400
Received: from [140.186.70.92] (port=38477 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oxx0I-0002sJ-DB
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 03:11:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxx0C-0007aH-VN
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 03:11:02 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:52892
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxx0C-0007a7-Ts
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 03:10:56 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxx0C-00020A-H8
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 07:10:56 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oxx0C-0002g4-Es
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 07:10:56 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 627373516c5b0f0228b004eb03a397b782638128
X-Git-Newrev: 850f41781e1c5e98b71457d1375231b1fa581325
Message-Id: <E1Oxx0C-0002g4-Es@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 21 Sep 2010 07:10:56 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-205-g850f417
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Sep 2010 07:11:04 -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  850f41781e1c5e98b71457d1375231b1fa581325 (commit)
      from  627373516c5b0f0228b004eb03a397b782638128 (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 850f41781e1c5e98b71457d1375231b1fa581325
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Tue Sep 21 07:57:15 2010 +0700

    maint: edit-readme-alpha shouldn't try to re-edit during dist.
    
    * libltdl/config/edit-readme-alpha: If README is non-writable
    assume that it is being run from distcheck, and bail out with
    a warning (to help diagnose cases where the heuristic is not
    correct).  However, if README has already been edited to the
    alpha text, quietly skip without an error message.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

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

Summary of changes:
 ChangeLog                        |    9 +++++++++
 libltdl/config/edit-readme-alpha |   17 +++++++++++++++--
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ceb193c..4934ce5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-21  Gary V. Vaughan  <gary@gnu.org>
+
+	maint: edit-readme-alpha shouldn't try to re-edit during dist.
+	* libltdl/config/edit-readme-alpha: If README is non-writable
+	assume that it is being run from distcheck, and skip the edit
+	with a warning (to help diagnose cases where the heuristic is
+	not correct).  However, if README has already been edited to
+	the alpha text, quietly skip without an error message.
+
 2010-09-20  Eric Blake  <eblake@redhat.com>
 
 	maint: drop autobuild requirement
diff --git a/libltdl/config/edit-readme-alpha b/libltdl/config/edit-readme-alpha
index 6070a31..ee6ca6b 100755
--- a/libltdl/config/edit-readme-alpha
+++ b/libltdl/config/edit-readme-alpha
@@ -55,10 +55,23 @@ func_fatal_error ()
 
 
 for file in "$@"; do
+  # Assume that read-only README indicates that we are running inside
+  # the latter part of a `make distcheck'.
+  test -w $file || {
+    echo "$progname: not editing non-writeable \`$file' (distcheck?)" >&2
+    continue
+  }
+
   # Make sure the paragraph we are matching has not been edited since
   # this script was written.
-  matched=`sed -n -e '/^This is GNU Libtool,/,/^interface.$/p' $file \
-      |wc -l |sed 's|^ *||'`
+  matched=`sed -n -e '/^This is GNU Libtool,/,/^interface\.$/p' $file \
+           |wc -l |sed 's|^ *||'`
+
+  # Unless, of course, it was edited by this script already.
+  test 3 = "$matched" \
+      || matched=`sed -n -e '/^This is an alpha testing release/,/behind a consistent, portable interface\.$/p' $file \
+                  |wc -l |sed 's|^ *||'`
+
   test 3 = "$matched" \
       || func_fatal_error "$file format has changed, please fix \`$0'"
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 21 13:58:57 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oy77J-0008JM-2o
	for mharc-libtool-commit@gnu.org; Tue, 21 Sep 2010 13:58:57 -0400
Received: from [140.186.70.92] (port=48491 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oy77F-0008GI-W2
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 13:58:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy77E-0005cN-Kn
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 13:58:53 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:44651
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy77E-0005cJ-Ia
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 13:58:52 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy77E-0001Xj-8c
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 17:58:52 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy77C-0007Dq-Jn
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 17:58:52 +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: 850f41781e1c5e98b71457d1375231b1fa581325
X-Git-Newrev: 830f33846e796d5094e9f055f48877a0e35ea9bd
Message-Id: <E1Oy77C-0007Dq-Jn@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 21 Sep 2010 17:58:52 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-206-g830f338
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Sep 2010 17:58:55 -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  830f33846e796d5094e9f055f48877a0e35ea9bd (commit)
      from  850f41781e1c5e98b71457d1375231b1fa581325 (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 830f33846e796d5094e9f055f48877a0e35ea9bd
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Sep 20 21:51:55 2010 +0200

    Revert to per-language libpath computation on AIX.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Accept
    tagname argument.  Use global cache variable lt_cv_aix_libpath
    to override per-language tag variables for the libpath value.
    Fix the sed script to remove trailing space.
    (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Pass tag argument to
    _LT_SYS_MODULE_PATH_AIX.
    Tracked down and reported by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |   11 ++++++++++
 libltdl/m4/libtool.m4 |   54 ++++++++++++++++++++++++++++--------------------
 2 files changed, 42 insertions(+), 23 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4934ce5..f3dee40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Revert to per-language libpath computation on AIX.
+	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Accept
+	tagname argument.  Use global cache variable lt_cv_aix_libpath
+	to override per-language tag variables for the libpath value.
+	Fix the sed script to remove trailing space.
+	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Pass tag argument to
+	_LT_SYS_MODULE_PATH_AIX.
+	Tracked down and reported by Rainer Tammer.
+
 2010-09-21  Gary V. Vaughan  <gary@gnu.org>
 
 	maint: edit-readme-alpha shouldn't try to re-edit during dist.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a8b07bf..2aee398 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1073,33 +1073,41 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
   fi
 ])
 
-# _LT_SYS_MODULE_PATH_AIX
-# -----------------------
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
 # Links a minimal program and checks the executable
 # for the system default hardcoded library path. In most cases,
 # this is /usr/lib:/lib, but when the MPI compilers are used
 # the location of the communication and MPI libs are included too.
 # If we don't find anything, use the default library path according
 # to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
-AC_CACHE_VAL([lt_cv_aix_libpath],
-[AC_LINK_IFELSE([AC_LANG_PROGRAM],[
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-lt_cv_aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$lt_cv_aix_libpath"; then
-  lt_cv_aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi],[])
-if test -z "$lt_cv_aix_libpath"; then lt_cv_aix_libpath="/usr/lib:/lib"; fi
-])
-aix_libpath=$lt_cv_aix_libpath
+if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+  lt_aix_libpath_sed='[
+      /Import File Strings/,/^$/ {
+	  /^0/ {
+	      s/^0  *\([^ ]*\) *$/\1/
+	      p
+	  }
+      }]'
+  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi],[])
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
+  fi
+  ])
+  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
 ])# _LT_SYS_MODULE_PATH_AIX
 
 
@@ -4944,7 +4952,7 @@ _LT_EOF
 	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        _LT_SYS_MODULE_PATH_AIX
+        _LT_SYS_MODULE_PATH_AIX([$1])
         _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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
@@ -4955,7 +4963,7 @@ _LT_EOF
 	else
 	 # Determine the default libpath from the value encoded in an
 	 # empty executable.
-	 _LT_SYS_MODULE_PATH_AIX
+	 _LT_SYS_MODULE_PATH_AIX([$1])
 	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 	  # Warning - without using the other run time loading flags,
 	  # -berok will link without error, but may produce a broken library.
@@ -5950,7 +5958,7 @@ if test "$_lt_caught_CXX_error" != yes; then
           _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
-          _LT_SYS_MODULE_PATH_AIX
+          _LT_SYS_MODULE_PATH_AIX([$1])
           _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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
@@ -5962,7 +5970,7 @@ if test "$_lt_caught_CXX_error" != yes; then
           else
 	    # Determine the default libpath from the value encoded in an
 	    # empty executable.
-	    _LT_SYS_MODULE_PATH_AIX
+	    _LT_SYS_MODULE_PATH_AIX([$1])
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 	    # Warning - without using the other run time loading flags,
 	    # -berok will link without error, but may produce a broken library.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Tue Sep 21 15:40:49 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oy8ht-0002Cl-4M
	for mharc-libtool-commit@gnu.org; Tue, 21 Sep 2010 15:40:49 -0400
Received: from [140.186.70.92] (port=57569 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oy8hq-0002AC-KY
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 15:40:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy8hp-0000fD-1O
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 15:40:46 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:41675
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy8ho-0000f7-W9
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 15:40:45 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy8hj-0002sJ-M9
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 19:40:44 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oy8hh-0006m8-Qq
	for libtool-commit@gnu.org; Tue, 21 Sep 2010 19:40:37 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 830f33846e796d5094e9f055f48877a0e35ea9bd
X-Git-Newrev: 09142eaeda3b3055653afc302fe871740d65d5c7
Message-Id: <E1Oy8hh-0006m8-Qq@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 21 Sep 2010 19:40:37 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-207-g09142ea
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Sep 2010 19:40:48 -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  09142eaeda3b3055653afc302fe871740d65d5c7 (commit)
      from  830f33846e796d5094e9f055f48877a0e35ea9bd (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 09142eaeda3b3055653afc302fe871740d65d5c7
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Sep 21 20:31:37 2010 +0200

    msvc: eliminate spaces in the library search path.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
    <cl*, sys_lib_search_path_spec>: The LIB path variable telling
    where MSVC looks for libraries is likely to contain directory
    names with spaces.  Convert those directory names to the short
    8.3 DOS form (i.e. without spaces) when storing them in
    sys_lib_search_path_spec, as that is a space separated variable.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog             |   10 ++++++++++
 libltdl/m4/libtool.m4 |   47 ++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 48 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f3dee40..e011a9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-09-21  Peter Rosin  <peda@lysator.liu.se>
+
+	msvc: eliminate spaces in the library search path.
+	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
+	<cl*, sys_lib_search_path_spec>: The LIB path variable telling
+	where MSVC looks for libraries is likely to contain directory
+	names with spaces.  Convert those directory names to the short
+	8.3 DOS form (i.e. without spaces) when storing them in
+	sys_lib_search_path_spec, as that is a space separated variable.
+
 2010-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Revert to per-language libpath computation on AIX.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 2aee398..a048b1f 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2321,15 +2321,44 @@ m4_if([$1], [],[
     libname_spec='$name'
     soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     library_names_spec='${libname}.dll.lib'
-    sys_lib_search_path_spec="$LIB"
-    if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
-      # It is most probably a Windows format PATH.
-      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
-    # FIXME: find the short name or the path components, as spaces are
-    # common. (e.g. "Program Files" -> "PROGRA~1")
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+        # It is most probably a Windows format PATH.
+        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
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 22 04:32:35 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OyKkj-0003gQ-Gk
	for mharc-libtool-commit@gnu.org; Wed, 22 Sep 2010 04:32:34 -0400
Received: from [140.186.70.92] (port=39978 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OyKke-0003fq-KG
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 04:32:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyKkc-0003OY-Tx
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 04:32:28 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:35354
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyKkc-0003OU-RP
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 04:32:26 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyKkc-0003l6-Mu
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 08:32:26 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyKkc-0001Bs-Gp
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 08:32:26 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 09142eaeda3b3055653afc302fe871740d65d5c7
X-Git-Newrev: bff43a89559b2be74250d990e18b1b64ec073b3a
Message-Id: <E1OyKkc-0001Bs-Gp@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 22 Sep 2010 08:32:26 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-208-gbff43a8
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Sep 2010 08:32: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  bff43a89559b2be74250d990e18b1b64ec073b3a (commit)
      from  09142eaeda3b3055653afc302fe871740d65d5c7 (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 bff43a89559b2be74250d990e18b1b64ec073b3a
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Wed Sep 22 09:58:47 2010 +0200

    tests: reloadable objects do not work on MSVC, SKIP test.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
    [cygwin, mingw, pw32, cegcc] <cl*, reload_cmds>: Indicate that
    reloadable objects do not work.
    * tests/duplicate_conv.at: Skip last test if reloadable
    objects do not work.
    * doc/libtool.texi (libtool script contents) <reload_cmds>:
    Document how to indicate that reloadable objects do not work.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog               |   11 +++++++++++
 doc/libtool.texi        |    3 ++-
 libltdl/m4/libtool.m4   |    5 +++++
 tests/duplicate_conv.at |    4 ++++
 4 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e011a9e..7ecc325 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-22  Peter Rosin  <peda@lysator.liu.se>
+
+	tests: reloadable objects do not work on MSVC, SKIP test.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
+	[cygwin, mingw, pw32, cegcc] <cl*, reload_cmds>: Indicate that
+	reloadable objects do not work.
+	* tests/duplicate_conv.at: Skip last test if reloadable
+	objects do not work.
+	* doc/libtool.texi (libtool script contents) <reload_cmds>:
+	Document how to indicate that reloadable objects do not work.
+
 2010-09-21  Peter Rosin  <peda@lysator.liu.se>
 
 	msvc: eliminate spaces in the library search path.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 0d3ff7f..7688871 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -6767,7 +6767,8 @@ replaced by the toolchain format of @code{@@OUTPUT@@}.  Normally disabled
 
 @defvar reload_cmds
 @defvarx reload_flag
-Commands to create a reloadable object.
+Commands to create a reloadable object.  Set @code{reload_cmds} to
+@samp{false} on systems that cannot create reloadable objects.
 @end defvar
 
 @defvar runpath_var
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a048b1f..d812584 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3081,6 +3081,11 @@ case $reload_flag in
 esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 case $host_os in
+  cygwin* | mingw* | pw32* | cegcc*)
+    if test "$GCC" != yes; then
+      reload_cmds=false
+    fi
+    ;;
   darwin*)
     if test "$GCC" = yes; then
       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
diff --git a/tests/duplicate_conv.at b/tests/duplicate_conv.at
index 83d5144..77496d0 100644
--- a/tests/duplicate_conv.at
+++ b/tests/duplicate_conv.at
@@ -25,6 +25,8 @@
 AT_SETUP([duplicate convenience archive names])
 AT_KEYWORDS([libtool])
 
+eval `$LIBTOOL --config | sed -n '/^reload_cmds=/,/^$/p'`
+
 # We create two convenience archives with the same name, and _also_
 # containing an object with the same name.  This is necessary to detect
 # the failure with both 1.5.22 and HEAD, since the latter does not (did
@@ -75,6 +77,8 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT
 LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 $LIBTOOL --mode=clean rm -f libcee.la
 
+AT_CHECK([test "x$reload_cmds" = xfalse && exit 77], [1])
+
 # 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])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 22 12:27:09 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OySA1-0007Z5-3d
	for mharc-libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:09 -0400
Received: from [140.186.70.92] (port=49994 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OyS9x-0007WF-Gy
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyS9v-000847-GJ
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:05 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:48512
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyS9v-00083e-B6
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:03 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyS9u-00019r-Qz
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 16:27:02 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyS9t-00085g-RB
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 16:27:02 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/tags/v2.4
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: fd9f12048e1fd25f5bd3617135abe7fba2f47705
Message-Id: <E1OyS9t-00085g-RB@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 22 Sep 2010 16:27:01 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool annotated tag, v2.4, created. v2.4
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Sep 2010 16:27: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 annotated tag, v2.4 has been created
        at  fd9f12048e1fd25f5bd3617135abe7fba2f47705 (tag)
   tagging  e9170e0daf1880db04269434ab0ef8872b9cb4f7 (commit)
  replaces  v2.2.10
 tagged by  Gary V. Vaughan
        on  Wed Sep 22 23:26:12 2010 +0700

- Log -----------------------------------------------------------------
release 2.4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEABECAAYFAkyaLiUACgkQFRMICSmD1gYV1gCeJysb1saOkm6TGQRX62KDelfZ
BcEAn0U71ASLWwXYEBWUFaMuExC79h29
=h6Hq
-----END PGP SIGNATURE-----

Charles Wilson (18):
      [cygwin] Fix segfault in C++ exception handling test
      [cygwin] Refactor C++ exception handling for Win32 correctness
      Avoid false failures caused by filesystem interaction
      [cygwin|mingw] fix dlpreopen with --disable-static
      Don't always skip XSI tests
      fix --mode=finish
      Fix syntax for cygwin-cross
      [cygwin|mingw|cross-compile]: Path conversion support.
      Merge remote branch 'origin/master'
      Minor sysroot fixups.
      Merge branch 'sysroot'
      Update path conversion warning messages
      Path conversion documentation
      Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'
      When assigning $linklib value, honor [-all]-static[-libtool-libs]
      Fix sh.test failure introduced in 72064249
      Document libtool variable to_host_file_cmd.
      Fix order of PATH manipulation in cwrapper and shwrapper

Dave Korn (1):
      Ensure cwrapper magic string is not optimized away.

Eric Blake (4):
      Simplify recent configure quoting portability workaround.
      maint: ship .xz, not .lzma
      build: ship autobuild.m4, to reduce bootstrap requirement
      maint: drop autobuild requirement

Gary V. Vaughan (36):
      Set SCM version number to 2.2.11a.
      Fix a typu in HACKING.
      Support shell tracing inside functions even with ksh.
      Use getopt.m4sh to generate libtoolize option parser.
      Ensure getopts.m4sh is compatible with Autoconf-2.61 and newer.
      getopt.m4sh generated libtool option parser, and XSI improvements.
      Fix portability regressions in today's earlier changeset.
      Amend a missed opt_mode rename instance in ltmain.m4sh.
      Use TAB-SPACE in preference to SPACE-TAB.
      Add missing case branch terminators.
      Add an XSI replacement for func_split_short_opt, with test cases.
      Add func_append_quoted and do inline func_append substitutions.
      Use a real XSI compliant func_split_short_opt substitution.
      Correct func_split_short_opt comment cut-n-pasto.
      Add func_append test cases for smart and retarded implementations.
      Skip `enhanced shell option appending' test when not available.
      Tidy m4 comment header underline.
      Fix a cut-n-pasto in "2010-07-07 Charles Wilson" patch.
      Rename _LT_PROG_XSI_REPLACE macro to _LT_PROG_FUNCTION_REPLACE.
      Fix a spurious trailing space and a botched merge.
      Make testsuite compatible with Autoconf 2.62 again.
      Remove double `Generated from foo.m4sh' lines.
      Remove clcommit.m4sh.
      Remove announce-gen.m4sh and mailnotify.m4sh.
      Remove obsolete .cvs ignore files.
      maint: improve README instructions for fetching latest version.
      maint: copy the Version Numbering section into README.alpha.
      maint: consolidate Introductions of README and README.alpha.
      maint: improve `Reporting Bugs' in README and README.alpha.
      maint: reformat README `The Test Suites' for consistency.
      maint: improve README's `Obtaining the Latest Sources'.
      maint: use sed instead of maintaining 2 README files.
      maint: edit-readme-alpha shouldn't try to re-edit during dist.
      tests: ISO C++ forbids declaration of 'v1' with no type.
      manual: web-manual index.html clashes with @node Index.
      Release 2.4.

Jürgen Reuter (1):
      Initial support for the NAG Fortran compiler on GNU/Linux.

Paolo Bonzini (18):
      fix bug in postdeps computation
      handle sysroot flags
      add --with-sysroot
      teach libtool -L= and -R=
      handle sysrooted paths when reading dependencies to la files
      process postdeps to include sysrooted paths
      emit sysrooted paths when installing .la files
      add sysroot test
      initial version of the NEWS entry
      fix sysroot tests to pass on Fedora 13
      fix sysroot handling for deplibs of preopened libtool libs
      reorganize parsing of --mode=finish arguments
      add libtool --mode=finish mode for sysroot
      improve code for sysroot --mode=finish
      Factor the sed command used to make a regex from a literal.
      Merge remote branch 'origin/master' into sysroot
      Fix sed_make_literal_regex.
      Merge branch 'master' into sysroot

Peter O'Gorman (7):
      Skip demo-nopic tests if SELinux policy will cause failure.
      Create reloadable object files with non-pic objects too.
      Skip bindir install test if we're not building shared.
      Use LTDL_SET_PRELOADED_SYMBOLS to avoid failure.
      Avoid failure for --disable-shared.
      Test with --disable-shared at release time too.
      Pass resident test with --disable-shared too.

Peter Rosin (40):
      Improve libdir usage from within ltdl on MinGW.
      On Windows, find potential libs regardless of file name case.
      Add MSVC support.
      For MSVC, embed the manifest as a resource in the executable.
      Fix regression caused by "Add func_append_quoted and do..."
      Don't trigger file name expansion when embedding manifests.
      Fix typo in "Add func_append_quoted and do..."
      Support for response files with $NM.
      * tests/export.at [MSVC]: dllimport all imported variables.
      Optimize assignment of output_la.
      Make preloading heed libname_spec.
      dllimport the variable for MSVC in link-order.at
      dllimport variables for MSVC in stresstest.at
      dllimport when the lib is shared and not linking with -static
      Allow the use of a listing file if the archiver supports it.
      Fix typo when renaming path conversion functions.
      Extract the archive name from the .la file and use $AR (not ar).
      Silence archiver output when testing @file support.
      Dump archiver output to the log when testing @file support.
      archive-in-archive.at passes with Microsoft lib.
      Add file name conversion from $build to toolchain.
      Convert file names to toolchain format when linking.
      Convert file names to toolchain format in $NM and $AR @files.
      Use func_to_tool_file instead of fix_srcfile_path.
      Convert POSIX file names to toolchain format for MSVC
      Fixup texi typo in previous.
      Adjust naming of MSVC import libraries.
      Mention adjustment of naming of MSVC import libraries in NEWS.
      Fix dependency tracking for MSYS/MinGW.
      Convert file name to toolchain format when invoking $NM.
      Adjust to moved auxiliary files and add compile.
      * .gitignore: Ignore *.obj files for MSVC (and w32 in general).
      Prefer $NM @file when the toolchain isn't native to $build.
      Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
      tests: actually detect missing 'test' in 'if "$foo" = ...'.
      tests: Import items from liba1 for MSVC.
      tests: __declspec (dll{ex,im}port) in tests/exceptions.at
      libltdl: Make sure preloaded symbols are declared extern "C".
      msvc: eliminate spaces in the library search path.
      tests: reloadable objects do not work on MSVC, SKIP test.

Philip Allison (1):
      Avoid GCC -Wall compiler warning in dlopen self test.

Rainer Tammer (1):
      Avoid issues with AIX resident shared libraries in old testsuite.

Ralf Wildenhues (84):
      Factorize testing gcj installation in the testsuite.
      Ensure libltdl is up to date for check-local.
      Print Libtool project URL in program --help output.
      Enable colored Autotest testsuite output if available.
      Fix cleaning of uninstalled w32 shell wrapper in subdirs.
      Fix bootstrap script to cope with changed AC_INIT arguments.
      Optimize func_ltwrapper_scriptname to assume a cwrapper.
      Use config.cache variable for PIC flag, to allow override.
      Fix execute mode test for OSF/1 5.1.
      Fixup botched ChangeLog entry, fix name added to THANKS.
      Let the bootstrap script fail upon errors.
      Clean up @var handling in the manual.
      Fix srcdir computation for manual runs of old tests.
      Fix flags test failure when ld is used as linker.
      Add comment for exception handling module unloading issue.
      Fix clean mode for HP-UX 11.31 sh.
      Fix ccache test for MSVC.
      Fix pic_flag test unportabilities.
      Fix build failure with AIX sh due to shell quoting error.
      Fix testsuite errors due to shell quoted parameter expansion issue.
      Avoid syntax error due to shift of nonexistent parameter.
      Let `libtool' without arguments point to `--help' again.
      Fix ltdl-libdir test for C++ compilers.
      Fix AC_NO_EXECUTABLES test failure on AIX.
      Ensure not to reverse preserving of --debug for relinking/finish.
      Allow running pic_flag test with different shell.
      Do not call toplevel configure in non-VPATH build.
      Fix compilation of program sources on AIX.
      Avoid unwanted error message in configure output.
      Fix another typo on "Add func_append_quoted and do..."
      Fix more problematic code from "Add func_append_quoted and do..."
      Bump copyright years in manual.
      Remove superfluous dependency in Makefile.am.
      Don't hide the table of contents in the manual.
      Remove dead code from versioning test.
      Skip part of versioning test on AIX.
      Require Automake 1.11.1 for Libtool, enable color-tests.
      New alias scripts for old tests run more than once.
      Enable parallel-tests test driver for the old testsuite.
      Update VERBOSE handling for parallel-tests driver.
      fix AIX testsuite regression
      Tidy and fix clean and distclean rules for old testsuite.
      Adjust docs for renaming and for parallel-tests.
      check-interactive and check-noninteractive for both testsuites.
      Fix getopt tests to skip with Autoconf < 2.61.
      configure: use Autobuild AB_INIT if available.
      Merge branch 'parallel-tests'
      Add ChangeLog entries for the sysroot branch.
      Fix NEWS entry for bootstrapping requirements.
      Merge branch 'parallel-tests'
      Merge branch 'sysroot'
      Fix AC_LANG_PROGRAM warnings from git Autoconf.
      Fix response file test for unreliable exit status of IRIX ar.
      Fix quoting in non-XSI func_xform, for IRIX sh.
      Uniform const'ness of symlist variable lt_preloaded_symbols.
      Add $pic_flag to archive_cmds and archive_expsym_cmds.
      Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
      Silence order-only configure test for AIX make.
      Merge branch 'parallel-tests'
      Work around yet another shell quoting portability issue.
      Save and restore CFLAGS properly inside libtool.m4 macros.
      Disable GCC LTO for verbose library extraction.
      Support GCC LTO on GNU/Linux.
      tests: mark 'syntax of .la files' as XFAIL, expose failure.
      tests: avoid getopt-m4sh failures when autom4te is not available.
      tests: skip -Wall -Werror with Tru64 cc in cwrapper test.
      Avoid leaking make flags into testsuite results.
      tests: fix localization test for GCC on HP-UX 11.00.
      tests: avoid spurious pic_flag test failure on HP-UX 10.20.
      tests: avoid spurious test failure due to library mode on HP-UX.
      Merge branch 'master' into lto
      Merge remote branch 'origin/master'
      Merge branch 'lto'
      Fix getopt.m4sh to require Autoconf 2.62 or newer.
      Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
      tests: work around zsh use of $options variable.
      tests: avoid empty AT_DATA contents, for zsh.
      docs: @file and @option markup fixes.
      doc: avoid long lines in input and output, indexing fixes.
      tests: avoid localization failure due to unstable compiler messages.
      LTO: consistently accept -fwhopr* and -flto* for GCC.
      Merge branch 'lto'
      tests: avoid distcheck failure with --disable-ltdl-install.
      Revert to per-language libpath computation on AIX.

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


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 22 12:27:34 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OySAQ-0007qU-9C
	for mharc-libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:34 -0400
Received: from [140.186.70.92] (port=50111 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OySAK-0007kM-VK
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OySAJ-0008AD-Hf
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:28 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:48513
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OySAJ-0008A9-FE
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 12:27:27 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OySAJ-00019u-9m
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 16:27:27 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OySAJ-00087S-5h
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 16:27:27 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: bff43a89559b2be74250d990e18b1b64ec073b3a
X-Git-Newrev: f0ba93d85bf975a4fdd0a6fab6b2168c216ce937
Message-Id: <E1OySAJ-00087S-5h@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 22 Sep 2010 16:27:27 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-1-gf0ba93d
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Sep 2010 16:27:32 -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  f0ba93d85bf975a4fdd0a6fab6b2168c216ce937 (commit)
       via  e9170e0daf1880db04269434ab0ef8872b9cb4f7 (commit)
       via  e3b973b8e10df84cb2ad5d19097cef7590bb8a44 (commit)
       via  ba19397c94378626bc66f44fa75d769490a52ebf (commit)
      from  bff43a89559b2be74250d990e18b1b64ec073b3a (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 f0ba93d85bf975a4fdd0a6fab6b2168c216ce937
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 22 21:29:36 2010 +0700

    Post-release administrivia.
    
    * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
    numbers to 2.4.1a.
    * NEWS: Add header line for next release.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit e9170e0daf1880db04269434ab0ef8872b9cb4f7
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 22 21:42:13 2010 +0700

    Release 2.4.
    
    * libltdl/Makefile.inc (LTDL_VERSION_INFO): We've added the
    static libprefix interface, so new version-info is C+1:0:R+1.
    * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
    numbers.
    * NEWS: Update version number.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit e3b973b8e10df84cb2ad5d19097cef7590bb8a44
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 22 21:41:22 2010 +0700

    manual: web-manual index.html clashes with @node Index.
    
    * doc/libtool.texi (Index): Renamed to `Combined Index'.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit ba19397c94378626bc66f44fa75d769490a52ebf
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 22 08:48:56 2010 +0700

    tests: ISO C++ forbids declaration of 'v1' with no type.
    
    * tests/lt_dlexit.at (lt_dlexit unloading libs): Added an
    explicit int type to declaration of 'v1' to prevent compilation
    failure with C++.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

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

Summary of changes:
 ChangeLog            |   22 ++++++++++++++++++++++
 NEWS                 |    8 +++++++-
 configure.ac         |    2 +-
 doc/libtool.texi     |    6 +++---
 libltdl/Makefile.inc |    2 +-
 libltdl/configure.ac |    2 +-
 tests/lt_dlexit.at   |    2 +-
 7 files changed, 36 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7ecc325..566b74e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2010-09-22  Gary V. Vaughan  <gary@gnu.org>
+
+	Post-release administrivia.
+	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
+	numbers to 2.4.1a.
+	* NEWS: Add header line for next release.
+
+	Release 2.4.
+	* libltdl/Makefile.inc (LTDL_VERSION_INFO): We've added the
+	static libprefix interface, so new version-info is C+1:0:R+1.
+	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
+	numbers.
+	* NEWS: Update version number.
+
+	manual: web-manual index.html clashes with @node Index.
+	* doc/libtool.texi (Index): Renamed to `Combined Index'.
+
+	tests: ISO C++ forbids declaration of 'v1' with no type.
+	* tests/lt_dlexit.at (lt_dlexit unloading libs): Added an
+	explicit int type to declaration of 'v1' to prevent compilation
+	failure with C++.
+
 2010-09-22  Peter Rosin  <peda@lysator.liu.se>
 
 	tests: reloadable objects do not work on MSVC, SKIP test.
diff --git a/NEWS b/NEWS
index 1d4419b..6e8e0fe 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
-New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
+New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team:
+
+* Bug fixes:
+
+  - None yet!
+
+New in 2.4 2010-09-22: git version 2.2.11a, Libtool team:
 
 * New features:
 
diff --git a/configure.ac b/configure.ac
index 131cd3b..63ee8bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ dnl Oldest automake required for bootstrap is below in AM_INIT_AUTOMAKE.
 ## ------------------------ ##
 ## Autoconf initialisation. ##
 ## ------------------------ ##
-AC_INIT([GNU Libtool], [2.2.11a], [bug-libtool@gnu.org])
+AC_INIT([GNU Libtool], [2.4.1a], [bug-libtool@gnu.org])
 m4_ifndef([AC_PACKAGE_URL],
 	  [AC_SUBST([PACKAGE_URL], [http://www.gnu.org/software/libtool/])])
 AC_CONFIG_HEADERS([config.h:config-h.in])
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 7688871..56852ca 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -101,7 +101,7 @@ GNU Libtool.
 * Troubleshooting::             When libtool doesn't work as advertised.
 * Maintaining::                 Information used by the libtool maintainer.
 * GNU Free Documentation License:: License for this manual.
-* Index::                       Full index.
+* Combined Index::              Full index.
 
 @detailmenu
  --- The Detailed Node Listing ---
@@ -6926,8 +6926,8 @@ order to test new changes without having to rerun @code{configure}.
 @include fdl.texi
 
 @page
-@node Index
-@unnumbered Index
+@node Combined Index
+@unnumbered Combined Index
 
 @printindex cp
 
diff --git a/libltdl/Makefile.inc b/libltdl/Makefile.inc
index 6b8db4e..adf2aad 100644
--- a/libltdl/Makefile.inc
+++ b/libltdl/Makefile.inc
@@ -36,7 +36,7 @@ AM_CPPFLAGS	       += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
 			  -DLTDL -I. -I$(srcdir) -Ilibltdl \
 			  -I$(srcdir)/libltdl -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS	       += -no-undefined
-LTDL_VERSION_INFO	= -version-info 9:2:2
+LTDL_VERSION_INFO	= -version-info 10:0:3
 
 noinst_LTLIBRARIES	+= $(LT_DLLOADERS)
 
diff --git a/libltdl/configure.ac b/libltdl/configure.ac
index 4f71221..1c50ce3 100644
--- a/libltdl/configure.ac
+++ b/libltdl/configure.ac
@@ -40,7 +40,7 @@ AC_PREREQ(2.59)dnl We use AS_HELP_STRING
 ## ------------------------ ##
 ## Autoconf initialisation. ##
 ## ------------------------ ##
-AC_INIT([libltdl], [2.2.11a], [bug-libtool@gnu.org])
+AC_INIT([libltdl], [2.4.1a], [bug-libtool@gnu.org])
 AC_CONFIG_HEADERS([config.h:config-h.in])
 AC_CONFIG_SRCDIR([ltdl.c])
 AC_CONFIG_AUX_DIR([config])
diff --git a/tests/lt_dlexit.at b/tests/lt_dlexit.at
index c80c1eb..9441f8a 100644
--- a/tests/lt_dlexit.at
+++ b/tests/lt_dlexit.at
@@ -124,7 +124,7 @@ extern "C" {
 #  define LIBA1_SCOPE extern
 #endif
 LIBA1_SCOPE int f1 (int);
-LIBA1_SCOPE v1;
+LIBA1_SCOPE int v1;
 int fb1 (int x) { return f1 (v1) + x - 3; }
 int vb1 = 3;
 #ifdef __cplusplus


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Sep 22 14:21:37 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OyTwl-00072K-He
	for mharc-libtool-commit@gnu.org; Wed, 22 Sep 2010 14:21:35 -0400
Received: from [140.186.70.92] (port=56307 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OyTwj-00070u-5B
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 14:21:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyTwh-0006NL-PP
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 14:21:32 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:60120
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyTwh-0006ND-JN
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 14:21:31 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyTwh-0002ZQ-6g
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 18:21:31 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OyTwh-0004yQ-2R
	for libtool-commit@gnu.org; Wed, 22 Sep 2010 18:21:31 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f0ba93d85bf975a4fdd0a6fab6b2168c216ce937
X-Git-Newrev: 67bbe0490f03150ebce81a5be00bdefe7c0a25c1
Message-Id: <E1OyTwh-0004yQ-2R@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 22 Sep 2010 18:21:31 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-2-g67bbe04
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Sep 2010 18:21: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  67bbe0490f03150ebce81a5be00bdefe7c0a25c1 (commit)
      from  f0ba93d85bf975a4fdd0a6fab6b2168c216ce937 (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 67bbe0490f03150ebce81a5be00bdefe7c0a25c1
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Sep 22 20:18:54 2010 +0200

    Fix regression in command-line length computation.
    
    * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Use `env echo' rather
    than possibly-undefined func_fallback_echo, to ensure we fork
    and exec for this test.
    * NEWS: Update.
    Regression introduced in v2.2.6-39-g9c3d4d8.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 566b74e..647c151 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix regression in command-line length computation.
+	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Use `env echo' rather
+	than possibly-undefined func_fallback_echo, to ensure we fork
+	and exec for this test.
+	* NEWS: Update.
+	Regression introduced in v2.2.6-39-g9c3d4d8.
+
 2010-09-22  Gary V. Vaughan  <gary@gnu.org>
 
 	Post-release administrivia.
diff --git a/NEWS b/NEWS
index 6e8e0fe..90e33f7 100644
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,8 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team:
 
 * Bug fixes:
 
-  - None yet!
+  - The generic approximation of the command line length limit (when getconf is
+    not available) works again.  Regression introduced in v2.2.6-39-g9c3d4d8.
 
 New in 2.4 2010-09-22: git version 2.2.11a, Libtool team:
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index d812584..6aebb63 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1639,7 +1639,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"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
+      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 	      test $i != 17 # 1/2 MB should be enough
       do


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 24 02:51:00 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Oz27Y-0004kP-Ll
	for mharc-libtool-commit@gnu.org; Fri, 24 Sep 2010 02:51:00 -0400
Received: from [140.186.70.92] (port=39236 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oz27V-0004kI-Pb
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 02:50:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oz27U-0002NV-Cg
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 02:50:57 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:47576
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oz27U-0002NR-8n
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 02:50:56 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oz27U-0003qt-17
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 06:50:56 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1Oz27T-0004Wk-KX
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 06:50:55 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 67bbe0490f03150ebce81a5be00bdefe7c0a25c1
X-Git-Newrev: 888582c631422b6aaddc3913ba1693b3706a2c62
Message-Id: <E1Oz27T-0004Wk-KX@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 24 Sep 2010 06:50:55 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-3-g888582c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Sep 2010 06:50:59 -0000

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

The branch, master has been updated
       via  888582c631422b6aaddc3913ba1693b3706a2c62 (commit)
      from  67bbe0490f03150ebce81a5be00bdefe7c0a25c1 (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 888582c631422b6aaddc3913ba1693b3706a2c62
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Sep 24 08:44:24 2010 +0200

    msvc: don't try to export import descriptors.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]
    [pw32, cegcc] <cl*, exclude_expsyms>: Don't export symbols in
    import libraries related to describing what dll(s) the import
    library is importing. Fixes problem in tests/demo-make.test
    and some other tests.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 647c151..b5f183d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-23  Peter Rosin  <peda@lysator.liu.se>
+
+	msvc: don't try to export import descriptors.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]
+	[pw32, cegcc] <cl*, exclude_expsyms>: Don't export symbols in
+	import libraries related to describing what dll(s) the import
+	library is importing. Fixes problem in tests/demo-make.test
+	and some other tests.
+
 2010-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix regression in command-line length computation.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 6aebb63..fd732d0 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4492,7 +4492,9 @@ m4_if([$1], [CXX], [
     ;;
   cygwin* | mingw* | cegcc*)
     case $cc_basename in
-    cl*) ;;
+    cl*)
+      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+      ;;
     *)
       _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
       _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
@@ -5064,6 +5066,7 @@ _LT_EOF
 	# The linker will not automatically build a static lib if we build a DLL.
 	# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
 	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+	_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 	_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
 	# Don't use ranlib
 	_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 24 15:01:24 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OzDWO-0000k4-5g
	for mharc-libtool-commit@gnu.org; Fri, 24 Sep 2010 15:01:24 -0400
Received: from [140.186.70.92] (port=49157 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OzDWL-0000iU-CI
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 15:01:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzDWJ-0007Mr-Nu
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 15:01:21 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:39989
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzDWJ-0007Mn-Kr
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 15:01:19 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzDWJ-0004Rz-6J
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 19:01:19 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzDWI-0001Cm-QY
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 19:01:19 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/libtool-next
X-Git-Reftype: branch
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 85b2fd6395897f6bd68da8f35f80d4167772c7db
Message-Id: <E1OzDWI-0001Cm-QY@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 24 Sep 2010 19:01:18 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, libtool-next, created. v2.4-19-g85b2fd6
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Sep 2010 19:01:23 -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, libtool-next has been created
        at  85b2fd6395897f6bd68da8f35f80d4167772c7db (commit)

- Log -----------------------------------------------------------------
commit 85b2fd6395897f6bd68da8f35f80d4167772c7db
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Sep 24 21:12:18 2010 +0700

    maint: use macro_dir consistently in all files.
    
    * Makefile.am: Replace all uses of m4dir with macrodir to
    match AC_CONFIG_MACRO_DIR.
    * libltdl/config/libtoolize.m4sh: Replace all uses of macrodir
    with macro_dir.
    * tests/defs.m4sh, tests/sh.test: Likewise.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 862ac4b6648d7c4dee6b6d6edc09176969b27f2b
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Sep 24 21:10:19 2010 +0700

    maint: use aux_dir consistently in all files.
    
    * Makefile.am, Makefile.maint: Replace all uses of auxdir
    with aux_dir to match AC_CONFIG_AUX_DIR.
    * libltdl/config/libtoolize.m4sh: Likewise.
    * tests/defs.m4sh, tests/getopt-m4sh.at: Likewise.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit af74d5861725980febc025e4b01b67730324c030
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Sep 24 20:58:39 2010 +0700

    Makefile: try to be robust against shell meta-chars in filenames.
    
    * Makefile.am: In each rule body, unless a make variable needs
    to be seen as multiple words by the shell (for word-splitting
    loops, or because it contains several commands), quote it. Use
    single quotes unless the shell needs to perform variable inter-
    polation, in which case use double quotes.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 3674fa1b60aa9de19376f02f48337426306bf5e8
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Sep 24 20:26:36 2010 +0700

    maint: let make employ user's `SED' setting.
    
    * Makefile.am: Replace hard-coded `sed' with `$(SED)' through-
    out.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 9813c6d8e4ef726f84cdef67b8fe61381d0f3e39
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 2 16:44:32 2010 +0700

    maint: simplify and improve safety of bootstrap process.
    
    * Makefile.am (bootstrap_files): List files that need to be
    generated at bootstrap time before `./configure && make' can
    work.  It turns out that this is considerably fewer files than we
    had thought necessary previously.
    (bootstrap-deps-prep): Ensure minimum set of required substitution
    variables are non-empty.
    (bootstrap-deps): Depend on `bootstrap' files.
    * bootstrap (Generate bootstrap dependencies): Now that
    `Makefile.am' is entirely responsible for rebuilding files at
    bootstrap time, we need only specify the new `bootstrap-deps'
    target, and supply values for the substitutions checked by
    `bootstrap-deps-prep'.
    * configure.ac (AC_CONFIG_SRCDIR): `libtoolize.in' is not here yet
    right after running `bootstrap'.  So rely on the presence of
    `libltdl/config/libtoolize.m4sh', which is always there.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit dcf5ff46f3037e8e0364ee7bf9f8a3bd2e6ee7af
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 19:53:48 2010 +0700

    build: eliminate superfluous temporary files from `Makefile.am'.
    
    * Makefile.am (CLEANFILES): Remove temporary file entries.
    (libtoolize.in, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4)
    (tests/defs, tests/testsuite): Factor away temporary files.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit d6385aabc040792cc6bfcaf7af72f1d130814591
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 19:42:30 2010 +0700

    build: eliminate `ltmain.in' and `libtoolize.in' intermediate files.
    
    * Makefile.am (libltdl/config/ltmain.sh, libtoolize.in): Pipe
    the output of `$(LT_M4SH)' directly into `$(bootstrap_edit)' to
    avoid use of superfluous intermediate file.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit cdeb16ae0f034d210bb0a33b477b04f33f94b00a
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 19:31:10 2010 +0700

    build: don't hardcode repeated long paths in Makefile rules.
    
    According to the DRY principle, scattering several copies of
    something across a file or project leads to pain.  Let's not
    do that!
    * Makefile.am (Makefile_in, Makefile_inc, defs_in, defs_m4sh),
    (libtoolize_in, ltmain_m4sh, ltversion_in): New variables to
    hold the location of important files and targets.
    (EXTRA_DIST): Add the distributed ones by variable.
    (libtoolize, libltdl/Makefile.am, libltdl/m4/ltversion.m4)
    (libltdl/config/ltmain.sh, libltdl/stamp-mk, tests/defs)
    (tests/defs.in): Use the new variables to reduce noise and
    repetition.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 4f3d14a0ced18d627543949183ae018a01ef2205
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 18:30:36 2010 +0700

    build: make better use of automatic variables in `Makefile.am'.
    
    * Makefile.am (libtoolize, libtoolize.in, libltdl/Makefile.am)
    (libltdl/config/mkstamp, libltdl/config/ltmain.m4sh)
    (libltdl/m4/ltversion.m4, tests/testsuite, tests/defs.in):
    Make better use of automatic variables.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit c8b7bc751ec87d50524004e4b361617786875d8f
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 18:44:16 2010 +0700

    build: name temporary files in `Makefile.am' consistently.
    
    Sadly, we still have to jump through hoops for MICROS~1's very
    old, very broken 8.3 naming convention, so we have to be careful
    to be unique in the first 8 letters, and not to use two periods
    in a filename, otherwise we could use the much more elegent
    `temporary files use "$@T"' idiom:
    * Makefile.am (libltdl/m4/ltversion.m4): Rename temporary file
    to `ltversion.tmp'.
    (libltdl/config/ltmain.sh): Rename temporary file to
    `libltdl/config/ltmain.tmp'.
    (libtoolize): Rename temporary file to `libtoolize.tmp'.
    (tests/defs): Rename temporary file to `tests/defs.tmp'
    (tests/testsuite): Rename temporary file to `tests/testsuite.tmp'.
    (CLEANFILES): Append temporary files as we create rules that
    use them.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 626dfe3d98569b271d8d139c6a200d1f7f3d0aff
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 18:06:09 2010 +0700

    build: factor Makefile.am `m4sh' invocations to LT_M4SH.
    
    * Makefile.am (LT_M4SH): Now that all directories are listed as
    fully qualified paths, the search path argument to M4SH is always
    the same, so factor it out into a variable.  Adjust all callers.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit ed87a34a9f0ec8c52c86534e61ea8f9520524a82
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 18:02:12 2010 +0700

    build: avoid unnecessary directory changes in Makefile rules.
    
    * Makefile.am (doc/notes.txt, libltdl/m4/ltversion.m4,
    (libltdl/config/ltmain.m4sh, libtoolize.in, libltdl/Makefile.am)
    (libltdl/config/mkstamp, tests/testsuite, tests/defs.in): Avoid
    unnecessary `cd' commands by using fully qualified paths to files
    outside of current directory.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 57d371bcf4a9cb323188ed417b833ced2b59adf0
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 17:37:00 2010 +0700

    build: compare `revision' rather than `correctver' in Makefile.am.
    
    * Makefile.am (rebuild): Set the shell variable `revision' rather
    than `correctver' for clarity of purpose.
    (bootstrap_edit, libltdl/config/ltmain.sh): Adjust.
    (libltdl/m4/ltversion.m4): Likewise, and alse, instead of munging
    the serial number comment line with set, extract `macro_version'
    from this file, and compare it directly with `revision'.
    (libtool): Likewise for `package_revision'.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit a2bb0c980f2b50ab31fedd18bb4890843b3d399a
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Sep 24 12:51:36 2010 +0700

    libtool: remove redundant unsubstituted shell var defaults.
    
    * Makefile.am (libltdl/config/ltmain.sh): Boilerplate code from
    libltdl/config/general.m4 sets some default shell variables
    designed to be substituted by `$(configure_edit)'.  Actually,
    `libtool' uses the language tag values for those variables, and
    `ltmain.m4sh' is not passed through `$(configure_edit)', so they
    are just noise.  Edit them out at bootstrap time.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit c9497cc81cc46ce8848452240a323266440c4cb9
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Sep 23 17:00:08 2010 +0700

    maint: don't leak developer GREP, SED etc into distribution file.
    
    * Makefile.am: Having rearranged the file, now apply the actual
    changes to follow-up.
    (edit): Split into two parts...
    (bootstrap_edit): ...substitutions that should happen at bootstrap
    time...
    (configure_edit): ...and substitutions that should not happen until
    configure time.
    * Makefile.am (libltdl/m4/ltversion.m4, libltdl/config/ltmain.sh)
    (libtoolize.in, tests/package.m4): Use bootstrap_edit.
    (libtoolize, tests/defs): Use configure_edit.
    * HACKING (Release Procedure): Remove the note to workaround the
    bug fixed by this changeset.
    * NEWS (Bug fixes): Mention that this bug is now fixed.
    Reported by Joerg Sonnenberger.

commit dd5b4f06557a4c5ec7b06d7814b95ecd63ab63b8
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Sep 1 14:41:52 2010 +0700

    maint: rearrange Makefile.am in preparation for a follow-up patch.
    
    * Makefile.am (Libtool scripts.): Move this section below the
    `Bootstrap.' section...
    (libtoolize.in): ...except this one which is generated at
    bootstrap time, and was added into the `Bootstrap.' section.
    (Libltdl.): Move this section below the `Libtool scripts.'
    section.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

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


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Sep 24 16:27:10 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1OzErO-0007uj-2z
	for mharc-libtool-commit@gnu.org; Fri, 24 Sep 2010 16:27:10 -0400
Received: from [140.186.70.92] (port=45158 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OzErL-0007ud-9u
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 16:27:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzErJ-0002jt-St
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 16:27:07 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:36552
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzErJ-0002jj-Oq
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 16:27:05 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzErJ-0005Sq-CK
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 20:27:05 +0000
Received: from gary by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1OzErJ-0005sI-88
	for libtool-commit@gnu.org; Fri, 24 Sep 2010 20:27:05 +0000
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/libtool-next
X-Git-Reftype: branch
X-Git-Oldrev: 85b2fd6395897f6bd68da8f35f80d4167772c7db
X-Git-Newrev: 0280c3687962199479258741cef4f32a2ccb8ffd
Message-Id: <E1OzErJ-0005sI-88@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 24 Sep 2010 20:27:05 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, libtool-next, updated. v2.4-20-g0280c36
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Sep 2010 20:27:09 -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, libtool-next has been updated
       via  0280c3687962199479258741cef4f32a2ccb8ffd (commit)
      from  85b2fd6395897f6bd68da8f35f80d4167772c7db (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 0280c3687962199479258741cef4f32a2ccb8ffd
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Sat Sep 25 03:25:48 2010 +0700

    CLEANUP: fix error from pushing too far up the branch.
    
    * Makefile.am (install-data-local): Undo character transposition
    from too early push of untested v2.4-17-gaf74d58.
    * ChangeLog (2010-09-16): Remove spurious entry.

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

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

diff --git a/ChangeLog b/ChangeLog
index 9dff85d..69a4e3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,8 @@
-2010-09-16  Gary V. Vaughan  <gary@gnu.org>
+2010-09-25  Gary V. Vaughan  <gary@gnu.org>
 
-	maint: use bootstrap script from gnulib.
-	* bootstrap: Replaced with gnulib script.
-	* bootstrap.conf: New file with Libtool specific bootstrap
-	configuration.
+	CLEANUP: fix error from pushing too far up the branch.
+	* Makefile.am (install-data-local): Undo character transposition
+	from too early push of untested v2.4-17-gaf74d58.
 
 2010-09-23  Gary V. Vaughan  <gary@gnu.org>
 
diff --git a/Makefile.am b/Makefile.am
index ef7d10e..6deaefc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -430,7 +430,7 @@ install-data-local: $(lt_Makefile_in)
 ## First, put a copy of the libtool m4 macros in the aclocal dir
 	$(mkinstalldirs) $(DESTDIR)$(aclocaldir)
 	@list='$(aclocalfiles)'; for p in $$list; do \
-	  f=`echo "$$p" |'$(SED') 's|^.*/||'`; \
+	  f=`echo "$$p" |'$(SED)' 's|^.*/||'`; \
 	  echo " $(INSTALL_DATA) '$(srcdir)/$(macro_dir)/$$f' '$(DESTDIR)$(aclocaldir)/$$f'"; \
 	  $(INSTALL_DATA) "$(srcdir)/$(macro_dir)/$$f" "$(DESTDIR)$(aclocaldir)/$$f"; \
 	done


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Sun Sep 26 15:38:19 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ozx3D-0004m3-Q4
	for mharc-libtool-commit@gnu.org; Sun, 26 Sep 2010 15:38:19 -0400
Received: from [140.186.70.92] (port=38456 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ozx3B-0004lu-3P
	for libtool-commit@gnu.org; Sun, 26 Sep 2010 15:38:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ozx39-00085C-Fj
	for libtool-commit@gnu.org; Sun, 26 Sep 2010 15:38:16 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54046
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ozx39-000857-EH
	for libtool-commit@gnu.org; Sun, 26 Sep 2010 15:38:15 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ozx39-0006Eg-2I
	for libtool-commit@gnu.org; Sun, 26 Sep 2010 19:38:15 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Ozx38-0006y6-Ti
	for libtool-commit@gnu.org; Sun, 26 Sep 2010 19:38: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: 888582c631422b6aaddc3913ba1693b3706a2c62
X-Git-Newrev: 92651fdcb86f24f893ca25c3fd5fe60ad4c1d0c6
Message-Id: <E1Ozx38-0006y6-Ti@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 26 Sep 2010 19:38:14 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-4-g92651fd
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Sep 2010 19:38:18 -0000

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

The branch, master has been updated
       via  92651fdcb86f24f893ca25c3fd5fe60ad4c1d0c6 (commit)
      from  888582c631422b6aaddc3913ba1693b3706a2c62 (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 92651fdcb86f24f893ca25c3fd5fe60ad4c1d0c6
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Sep 26 21:36:35 2010 +0200

    docs: do not refer to Libtool version with dlopen functionality.
    
    * doc/libtool.texi (Dlopened modules): Remove broken reference
    to what should have been Libtool 0.9g.
    Report by Roumen Petrov.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index b5f183d..a5e4940 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	docs: do not refer to Libtool version with dlopen functionality.
+	* doc/libtool.texi (Dlopened modules): Remove broken reference
+	to what should have been Libtool 0.9g.
+	Report by Roumen Petrov.
+
 2010-09-23  Peter Rosin  <peda@lysator.liu.se>
 
 	msvc: don't try to export import descriptors.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 56852ca..cd5a181 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3312,11 +3312,11 @@ interpreted language.  In fact, dlopen calls are frequently used in
 language interpreters to provide an efficient way to extend the
 language.
 
-As of version @value{VERSION}, libtool provides support for dlopened
-modules.  However, you should indicate that your package is willing to
-use such support, by using the @code{LT_INIT} option @samp{dlopen} in
-@file{configure.ac}.  If this option is not given, libtool will assume
-no dlopening mechanism is available, and will try to simulate it.
+Libtool provides support for dlopened modules.  However, you should
+indicate that your package is willing to use such support, by using the
+@code{LT_INIT} option @samp{dlopen} in @file{configure.ac}.  If this
+option is not given, libtool will assume no dlopening mechanism is
+available, and will try to simulate it.
 
 This chapter discusses how you as a dlopen application developer might
 use libtool to generate dlopen-accessible modules.


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 27 07:29:59 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1P0BuB-0000QH-KR
	for mharc-libtool-commit@gnu.org; Mon, 27 Sep 2010 07:29:59 -0400
Received: from [140.186.70.92] (port=41882 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1P0Bu8-0000Oo-JE
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 07:29:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0Bu5-0007DS-O3
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 07:29:56 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:37261
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0Bu5-0007DO-LD
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 07:29:53 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0Bu5-0000u1-HM
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 11:29:53 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0Bu5-0007t5-CE
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 11:29:53 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 92651fdcb86f24f893ca25c3fd5fe60ad4c1d0c6
X-Git-Newrev: 13608ea10fe98a7418d1392526cde4c1442f2511
Message-Id: <E1P0Bu5-0007t5-CE@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 27 Sep 2010 11:29:53 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-5-g13608ea
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2010 11:29:58 -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  13608ea10fe98a7418d1392526cde4c1442f2511 (commit)
      from  92651fdcb86f24f893ca25c3fd5fe60ad4c1d0c6 (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 13608ea10fe98a7418d1392526cde4c1442f2511
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 27 10:06:44 2010 +0200

    tests: clean up importing and exporting on w32.
    
    Makes the touched tests pass for MSVC when DLLs are built.
    
    * tests/demo/Makefile.am, tests/pdemo/Makefile.am: Define
    BUILDING_LIBHELLO when building libhello.la.
    * tests/demo/foo.h, tests/pdemo/foo.h (nothing) <MSVC>: Export
    variable when building the libhello dll and import when using
    libhello.  For GCC and non-w32, and when building a static
    libhello, leave as an ordinary extern.
    * tests/pdemo/foo.h [Cygwin]: Remove unneeded and "dead" export
    and import logic (LIBFOO_DLL is always undefined).
    * tests/pdemo/longer_file_name_foo.c,
    tests/pdemo/longer_file_name_foo2.c (_LIBFOO_COMPILATION_): Not
    useful before, even less so now.  Removed.
    * tests/depdemo/l1/Makefile.am: Define BUILDING_LIBL1 when
    building libl1.la.
    * tests/depdemo/l2/Makefile.am: Define BUILDING_LIBL2 when
    building libl2.la.
    * tests/depdemo/l3/Makefile.am: Define BUILDING_LIBL3 when
    building libl3.la.
    * tests/depdemo/l4/Makefile.am: Define BUILDING_LIBL4 when
    building libl4.la.
    * tests/depdemo/l1/l1.h, tests/depdemo/l2/l2.h,
    tests/depdemo/l3/l3.h, tests/depdemo/l4/l4.h <MSVC>: Export
    variables when building the associated library dll and import
    when using the library.  For GCC and non-w32, and when building
    static libraries, leave as an ordinary extern.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog                           |   29 +++++++++++++++++++++++++++++
 tests/demo/Makefile.am              |    3 ++-
 tests/demo/foo.h                    |   15 ++++++++++++++-
 tests/depdemo/l1/Makefile.am        |    4 ++--
 tests/depdemo/l1/l1.h               |   17 +++++++++++++++--
 tests/depdemo/l2/Makefile.am        |    4 ++--
 tests/depdemo/l2/l2.h               |   17 +++++++++++++++--
 tests/depdemo/l3/Makefile.am        |    4 ++--
 tests/depdemo/l3/l3.h               |   17 +++++++++++++++--
 tests/depdemo/l4/Makefile.am        |    4 ++--
 tests/depdemo/l4/l4.h               |   17 +++++++++++++++--
 tests/pdemo/Makefile.am             |    3 ++-
 tests/pdemo/foo.h                   |   27 +++++++++++----------------
 tests/pdemo/longer_file_name_foo.c  |    4 +---
 tests/pdemo/longer_file_name_foo2.c |    4 +---
 15 files changed, 128 insertions(+), 41 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a5e4940..a486ac3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2010-09-27  Peter Rosin  <peda@lysator.liu.se>
+
+	tests: clean up importing and exporting on w32.
+	Makes the touched tests pass for MSVC when DLLs are built.
+	* tests/demo/Makefile.am, tests/pdemo/Makefile.am: Define
+	BUILDING_LIBHELLO when building libhello.la.
+	* tests/demo/foo.h, tests/pdemo/foo.h (nothing) <MSVC>: Export
+	variable when building the libhello dll and import when using
+	libhello.  For GCC and non-w32, and when building a static
+	libhello, leave as an ordinary extern.
+	* tests/pdemo/foo.h [Cygwin]: Remove unneeded and "dead" export
+	and import logic (LIBFOO_DLL is always undefined).
+	* tests/pdemo/longer_file_name_foo.c,
+	tests/pdemo/longer_file_name_foo2.c (_LIBFOO_COMPILATION_): Not
+	useful before, even less so now.  Removed.
+	* tests/depdemo/l1/Makefile.am: Define BUILDING_LIBL1 when
+	building libl1.la.
+	* tests/depdemo/l2/Makefile.am: Define BUILDING_LIBL2 when
+	building libl2.la.
+	* tests/depdemo/l3/Makefile.am: Define BUILDING_LIBL3 when
+	building libl3.la.
+	* tests/depdemo/l4/Makefile.am: Define BUILDING_LIBL4 when
+	building libl4.la.
+	* tests/depdemo/l1/l1.h, tests/depdemo/l2/l2.h,
+	tests/depdemo/l3/l3.h, tests/depdemo/l4/l4.h <MSVC>: Export
+	variables when building the associated library dll and import
+	when using the library.  For GCC and non-w32, and when building
+	static libraries, leave as an ordinary extern.
+
 2010-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	docs: do not refer to Libtool version with dlopen functionality.
diff --git a/tests/demo/Makefile.am b/tests/demo/Makefile.am
index 2aa2c0b..a3c6144 100644
--- a/tests/demo/Makefile.am
+++ b/tests/demo/Makefile.am
@@ -1,6 +1,6 @@
 ## Makefile.am -- Process this file with automake to produce Makefile.in
 ##
-##   Copyright (C) 2003, 2004, 2005 Free Software Foundation
+##   Copyright (C) 2003, 2004, 2005, 2010 Free Software Foundation
 ##   Written by Gary V. Vaughan, 2003
 ##
 ##   This file is part of GNU Libtool.
@@ -31,6 +31,7 @@ lib_LTLIBRARIES = libhello.la
 libhello_la_SOURCES = hello.c foo.c
 libhello_la_LIBADD = $(LIBM)
 libhello_la_LDFLAGS = -no-undefined -version-info 3:12:1
+libhello_la_AM_CPPFLAGS = $(AM_CPPFLAGS) -DBUILDING_LIBHELLO
 
 include_HEADERS = foo.h
 
diff --git a/tests/demo/foo.h b/tests/demo/foo.h
index 167096a..e8a2c87 100644
--- a/tests/demo/foo.h
+++ b/tests/demo/foo.h
@@ -37,6 +37,19 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #  endif
 #endif
 
+#if (defined _WIN32 || defined _WIN32_WCE) && !defined __GNUC__
+# ifdef BUILDING_LIBHELLO
+#  ifdef DLL_EXPORT
+#   define LIBHELLO_SCOPE extern __declspec (dllexport)
+#  endif
+# else
+#  define LIBHELLO_SCOPE extern __declspec (dllimport)
+# endif
+#endif
+#ifndef LIBHELLO_SCOPE
+# define LIBHELLO_SCOPE extern
+#endif
+
 /* __BEGIN_DECLS should be used at the beginning of your declarations,
    so that C++ compilers don't mangle their names.  Use __END_DECLS at
    the end of C declarations. */
@@ -83,7 +96,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 __BEGIN_DECLS
 int foo LT_PARAMS((void));
 int hello LT_PARAMS((void));
-extern int nothing;
+LIBHELLO_SCOPE int nothing;
 __END_DECLS
 
 #endif /* !_FOO_H_ */
diff --git a/tests/depdemo/l1/Makefile.am b/tests/depdemo/l1/Makefile.am
index 7cca5c1..b2e7cb8 100644
--- a/tests/depdemo/l1/Makefile.am
+++ b/tests/depdemo/l1/Makefile.am
@@ -1,6 +1,6 @@
 ## Makefile.am -- Process this file with automake to produce Makefile.in
 ##
-##   Copyright (C) 2003 Free Software Foundation
+##   Copyright (C) 2003, 2010 Free Software Foundation
 ##   Written by Gary V. Vaughan, 2003
 ##
 ##   This file is part of GNU Libtool.
@@ -26,7 +26,7 @@ top_distdir = ../..
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
 
-AM_CPPFLAGS = -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir) -DBUILDING_LIBL1
 
 lib_LTLIBRARIES = libl1.la
 libl1_la_SOURCES = l1.c l1.h
diff --git a/tests/depdemo/l1/l1.h b/tests/depdemo/l1/l1.h
index 8e773ca..d357d80 100644
--- a/tests/depdemo/l1/l1.h
+++ b/tests/depdemo/l1/l1.h
@@ -1,7 +1,7 @@
 /* l1.h -- interface to a trivial library
 
    Copyright (C) 1998-1999 Thomas Tanner
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2010 Free Software Foundation, Inc.
    Written by Thomas Tanner, 1998
 
    This file is part of GNU Libtool.
@@ -29,8 +29,21 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 #include "sysdep.h"
 
+#if (defined _WIN32 || defined _WIN32_WCE) && !defined __GNUC__
+# ifdef BUILDING_LIBL1
+#  ifdef DLL_EXPORT
+#   define LIBL1_SCOPE extern __declspec (dllexport)
+#  endif
+# else
+#  define LIBL1_SCOPE extern __declspec (dllimport)
+# endif
+#endif
+#ifndef LIBL1_SCOPE
+# define LIBL1_SCOPE extern
+#endif
+
 __BEGIN_DECLS
-extern int var_l1;
+LIBL1_SCOPE int var_l1;
 int	func_l1 __P((int));
 __END_DECLS
 
diff --git a/tests/depdemo/l2/Makefile.am b/tests/depdemo/l2/Makefile.am
index ddd57e2..2cb86c5 100644
--- a/tests/depdemo/l2/Makefile.am
+++ b/tests/depdemo/l2/Makefile.am
@@ -1,6 +1,6 @@
 ## Makefile.am -- Process this file with automake to produce Makefile.in
 ##
-##   Copyright (C) 2003 Free Software Foundation
+##   Copyright (C) 2003, 2010 Free Software Foundation
 ##   Written by Gary V. Vaughan, 2003
 ##
 ##   This file is part of GNU Libtool.
@@ -26,7 +26,7 @@ top_distdir = ../..
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
 
-AM_CPPFLAGS = -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir) -DBUILDING_LIBL2
 
 lib_LTLIBRARIES = libl2.la
 libl2_la_SOURCES = l2.c l2.h
diff --git a/tests/depdemo/l2/l2.h b/tests/depdemo/l2/l2.h
index 728b1df..0f6b3b9 100644
--- a/tests/depdemo/l2/l2.h
+++ b/tests/depdemo/l2/l2.h
@@ -1,7 +1,7 @@
 /* l2.h -- interface to a trivial library
 
    Copyright (C) 1998-1999 Thomas Tanner
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2010 Free Software Foundation, Inc.
    Written by Thomas Tanner, 1998
 
    This file is part of GNU Libtool.
@@ -29,8 +29,21 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 #include "sysdep.h"
 
+#if (defined _WIN32 || defined _WIN32_WCE) && !defined __GNUC__
+# ifdef BUILDING_LIBL2
+#  ifdef DLL_EXPORT
+#   define LIBL2_SCOPE extern __declspec (dllexport)
+#  endif
+# else
+#  define LIBL2_SCOPE extern __declspec (dllimport)
+# endif
+#endif
+#ifndef LIBL2_SCOPE
+# define LIBL2_SCOPE extern
+#endif
+
 __BEGIN_DECLS
-extern int var_l2;
+LIBL2_SCOPE int var_l2;
 int	func_l2 __P((int));
 __END_DECLS
 
diff --git a/tests/depdemo/l3/Makefile.am b/tests/depdemo/l3/Makefile.am
index 2dc0805..341932f 100644
--- a/tests/depdemo/l3/Makefile.am
+++ b/tests/depdemo/l3/Makefile.am
@@ -1,6 +1,6 @@
 ## Makefile.am -- Process this file with automake to produce Makefile.in
 ##
-##   Copyright (C) 2003 Free Software Foundation
+##   Copyright (C) 2003, 2010 Free Software Foundation
 ##   Written by Gary V. Vaughan, 2003
 ##
 ##   This file is part of GNU Libtool.
@@ -27,7 +27,7 @@ extradir    = $(libdir)/extra
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
 
-AM_CPPFLAGS = -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir) -DBUILDING_LIBL3
 
 lib_LTLIBRARIES = libl3.la
 libl3_la_SOURCES = l3.c l3.h
diff --git a/tests/depdemo/l3/l3.h b/tests/depdemo/l3/l3.h
index 6f0b446..60fcbd5 100644
--- a/tests/depdemo/l3/l3.h
+++ b/tests/depdemo/l3/l3.h
@@ -1,7 +1,7 @@
 /* l3.h -- interface to a trivial library
 
    Copyright (C) 1998-1999 Thomas Tanner
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2010 Free Software Foundation, Inc.
    Written by Thomas Tanner, 1998
 
    This file is part of GNU Libtool.
@@ -29,8 +29,21 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 #include "sysdep.h"
 
+#if (defined _WIN32 || defined _WIN32_WCE) && !defined __GNUC__
+# ifdef BUILDING_LIBL3
+#  ifdef DLL_EXPORT
+#   define LIBL3_SCOPE extern __declspec (dllexport)
+#  endif
+# else
+#  define LIBL3_SCOPE extern __declspec (dllimport)
+# endif
+#endif
+#ifndef LIBL3_SCOPE
+# define LIBL3_SCOPE extern
+#endif
+
 __BEGIN_DECLS
-extern int var_l3;
+LIBL3_SCOPE int var_l3;
 int	func_l3 __P((int));
 __END_DECLS
 
diff --git a/tests/depdemo/l4/Makefile.am b/tests/depdemo/l4/Makefile.am
index d274b6d..fa0d4b2 100644
--- a/tests/depdemo/l4/Makefile.am
+++ b/tests/depdemo/l4/Makefile.am
@@ -1,6 +1,6 @@
 ## Makefile.am -- Process this file with automake to produce Makefile.in
 ##
-##   Copyright (C) 2003 Free Software Foundation
+##   Copyright (C) 2003, 2010 Free Software Foundation
 ##   Written by Gary V. Vaughan, 2003
 ##
 ##   This file is part of GNU Libtool.
@@ -26,7 +26,7 @@ top_distdir = ../..
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
 
-AM_CPPFLAGS = -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir) -DBUILDING_LIBL4
 
 lib_LTLIBRARIES = libl4.la
 libl4_la_SOURCES = l4.c l4.h
diff --git a/tests/depdemo/l4/l4.h b/tests/depdemo/l4/l4.h
index bdf21d0..703743f 100644
--- a/tests/depdemo/l4/l4.h
+++ b/tests/depdemo/l4/l4.h
@@ -1,7 +1,7 @@
 /* l4.h -- interface to a trivial library
 
    Copyright (C) 1998-1999 Thomas Tanner
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2010 Free Software Foundation, Inc.
    Written by Thomas Tanner, 1998
 
    This file is part of GNU Libtool.
@@ -29,8 +29,21 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 #include "sysdep.h"
 
+#if (defined _WIN32 || defined _WIN32_WCE) && !defined __GNUC__
+# ifdef BUILDING_LIBL4
+#  ifdef DLL_EXPORT
+#   define LIBL4_SCOPE extern __declspec (dllexport)
+#  endif
+# else
+#  define LIBL4_SCOPE extern __declspec (dllimport)
+# endif
+#endif
+#ifndef LIBL4_SCOPE
+# define LIBL4_SCOPE extern
+#endif
+
 __BEGIN_DECLS
-extern int var_l4;
+LIBL4_SCOPE int var_l4;
 int	func_l4 __P((int));
 __END_DECLS
 
diff --git a/tests/pdemo/Makefile.am b/tests/pdemo/Makefile.am
index 0357e47..91fe1e2 100644
--- a/tests/pdemo/Makefile.am
+++ b/tests/pdemo/Makefile.am
@@ -1,6 +1,6 @@
 ## Makefile.am -- Process this file with automake to produce Makefile.in
 ##
-##   Copyright (C) 2003, 2004, 2005 Free Software Foundation
+##   Copyright (C) 2003, 2004, 2005, 2010 Free Software Foundation
 ##   Written by Gary V. Vaughan, 2003
 ##
 ##   This file is part of GNU Libtool.
@@ -31,6 +31,7 @@ lib_LTLIBRARIES = libhello.la
 libhello_la_SOURCES = longer_file_name_hello.c longer_file_name_foo.c longer_file_name_foo2.c
 libhello_la_LIBADD = $(LIBM)
 libhello_la_LDFLAGS = -no-undefined -version-info 3:12:1
+libhello_la_AM_CPPFLAGS = $(AM_CPPFLAGS) -DBUILDING_LIBHELLO
 
 include_HEADERS = foo.h
 
diff --git a/tests/pdemo/foo.h b/tests/pdemo/foo.h
index a2b2a4a..d08303b 100644
--- a/tests/pdemo/foo.h
+++ b/tests/pdemo/foo.h
@@ -73,22 +73,17 @@ or obtained by writing to the Free Software Foundation, Inc.,
 # define LT_DLSYM_CONST const
 #endif
 
-#ifdef __CYGWIN32__
-#  ifdef LIBFOO_DLL
-     /* need some (as yet non-existant) automake magic to tell
-      * the object whether the libfoo it will be linked with is
-      * a dll or not, ie whether LIBFOO_DLL is defined or not.
-      */
-#    ifdef _LIBFOO_COMPILATION_
-#      define EXTERN __declspec(dllexport)
-#    else
-#      define EXTERN extern __declspec(dllimport)
-#    endif
-#  else
-#    define EXTERN extern
+#if (defined _WIN32 || defined _WIN32_WCE) && !defined __GNUC__
+# ifdef BUILDING_LIBHELLO
+#  ifdef DLL_EXPORT
+#   define LIBHELLO_SCOPE extern __declspec (dllexport)
 #  endif
-#else
-#  define EXTERN extern
+# else
+#  define LIBHELLO_SCOPE extern __declspec (dllimport)
+# endif
+#endif
+#ifndef LIBHELLO_SCOPE
+# define LIBHELLO_SCOPE extern
 #endif
 
 /* Silly constants that the functions return. */
@@ -101,7 +96,7 @@ __BEGIN_DECLS
 int foo LT_PARAMS((void));
 int foo2 LT_PARAMS((void));
 int hello LT_PARAMS((void));
-EXTERN int nothing;
+LIBHELLO_SCOPE int nothing;
 __END_DECLS
 
 #endif /* !_FOO_H_ */
diff --git a/tests/pdemo/longer_file_name_foo.c b/tests/pdemo/longer_file_name_foo.c
index 5b10c61..9d92304 100644
--- a/tests/pdemo/longer_file_name_foo.c
+++ b/tests/pdemo/longer_file_name_foo.c
@@ -1,6 +1,6 @@
 /* foo.c -- trivial test function for libfoo
 
-   Copyright (C) 1996-1999, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1996-1999, 2007, 2010 Free Software Foundation, Inc.
    Written by Gordon Matzigkeit, 1996
 
    This file is part of GNU Libtool.
@@ -22,9 +22,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
 
-#define _LIBFOO_COMPILATION_
 #include "foo.h"
-#undef _LIBFOO_COMPILATION_
 
 #include <stdio.h>
 #include <math.h>
diff --git a/tests/pdemo/longer_file_name_foo2.c b/tests/pdemo/longer_file_name_foo2.c
index c7359d0..65d3bba 100644
--- a/tests/pdemo/longer_file_name_foo2.c
+++ b/tests/pdemo/longer_file_name_foo2.c
@@ -1,6 +1,6 @@
 /* foo.c -- trivial test function for libfoo
 
-   Copyright (C) 1996-1999, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1996-1999, 2007, 2010 Free Software Foundation, Inc.
    Written by Gordon Matzigkeit, 1996
 
    This file is part of GNU Libtool.
@@ -22,9 +22,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
 
-#define _LIBFOO_COMPILATION_
 #include "foo.h"
-#undef _LIBFOO_COMPILATION_
 
 #include <stdio.h>
 #include <math.h>


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 27 07:46:54 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1P0CAY-0004FH-14
	for mharc-libtool-commit@gnu.org; Mon, 27 Sep 2010 07:46:54 -0400
Received: from [140.186.70.92] (port=40199 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1P0CAU-0004EJ-MJ
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 07:46:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0CAS-0001H0-KH
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 07:46:49 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46306
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0CAS-0001Gu-HX
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 07:46:48 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0CAR-00019N-UO
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 11:46:47 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0CAR-0000G5-Lr
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 11:46:47 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 13608ea10fe98a7418d1392526cde4c1442f2511
X-Git-Newrev: 3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7
Message-Id: <E1P0CAR-0000G5-Lr@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 27 Sep 2010 11:46:47 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-6-g3a9fabb
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2010 11:46: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  3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7 (commit)
      from  13608ea10fe98a7418d1392526cde4c1442f2511 (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 3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 27 13:44:48 2010 +0200

    Skip need_lib_prefix.at on systems without lib prefix on libraries.
    
    * tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
    systems that do not have libraries prefixed with lib.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog                |    4 ++++
 tests/need_lib_prefix.at |   14 +++++++++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a486ac3..daa84fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-27  Peter Rosin  <peda@lysator.liu.se>
 
+	Skip need_lib_prefix.at on systems without lib prefix on libraries.
+	* tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
+	systems that do not have libraries prefixed with lib.
+
 	tests: clean up importing and exporting on w32.
 	Makes the touched tests pass for MSVC when DLLs are built.
 	* tests/demo/Makefile.am, tests/pdemo/Makefile.am: Define
diff --git a/tests/need_lib_prefix.at b/tests/need_lib_prefix.at
index f6cfcfb..ea36da3 100644
--- a/tests/need_lib_prefix.at
+++ b/tests/need_lib_prefix.at
@@ -1,6 +1,6 @@
 # need-lib-prefix.at -- test libltdl functionality            -*- Autotest -*-
 #
-#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2007
 #
 #   This file is part of GNU Libtool.
@@ -25,6 +25,11 @@
 AT_SETUP([enforced lib prefix])
 AT_KEYWORDS([libltdl libtool])
 
+# Originally written to simulate a failure visible on systems
+# which need a library prefix like 'lib', such as BeOS.  Currently
+# the prefix is hardcoded as 'lib', so systems that require a
+# different prefix skips the test.
+
 AT_DATA([main.c],
 [[#include <ltdl.h>
 #include <stdio.h>
@@ -148,6 +153,13 @@ esac], [], [ignore])
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 LDFLAGS="$LDFLAGS"
 
+# Skip this test when libraries are not normally prefixed with lib.
+# E.g., for MSVC and OS/2.
+eval "`$LIBTOOL --config | $EGREP '^(libname_spec)='`"
+name=
+eval libname=\"$libname_spec\"
+AT_CHECK([test "$libname" = lib || exit 77])
+
 # Create our own libtool, forcing need_lib_prefix setting
 sed 's,^\(need_lib_prefix\)=.*$,\1=unknown,' $LIBTOOL > ./libtool
 LIBTOOL="$SHELL ./libtool"


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Sep 27 14:18:04 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1P0IH5-00047O-V9
	for mharc-libtool-commit@gnu.org; Mon, 27 Sep 2010 14:18:03 -0400
Received: from [140.186.70.92] (port=56786 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1P0IH3-000468-6q
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 14:18:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0IGy-0002wL-5g
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 14:18:01 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:54213
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0IGy-0002wH-4P
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 14:17:56 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0IGy-00061Q-5D
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 18:17:56 +0000
Received: from pekberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.69) (envelope-from <INVALID.NOREPLY@gnu.org>) id 1P0IGx-0005i8-Km
	for libtool-commit@gnu.org; Mon, 27 Sep 2010 18:17:56 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7
X-Git-Newrev: c5bce8258136b2766d349a6451b933efae7b885b
Message-Id: <E1P0IGx-0005i8-Km@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 27 Sep 2010 18:17:55 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-7-gc5bce82
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2010 18:18:02 -0000

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

The branch, master has been updated
       via  c5bce8258136b2766d349a6451b933efae7b885b (commit)
      from  3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7 (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 c5bce8258136b2766d349a6451b933efae7b885b
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Sep 27 20:09:53 2010 +0200

    tests: check if sys_lib_search_path_spec works on MSVC.
    
    * tests/sys-lib.at: New test, making sure v2.2.10-207-g09142ea
    doesn't regress.
    * Makefile.am (TESTSUITE_AT): Update.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 ChangeLog            |    4 ++++
 tests/search-path.at |   41 +++++++++++++++++++++++++++++++++++++++--
 2 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index daa84fc..a7aa489 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-27  Peter Rosin  <peda@lysator.liu.se>
 
+	tests: check if sys_lib_search_path_spec works on MSVC.
+	* tests/search-path.at (sys_lib_search_path on w32): New test,
+	making sure v2.2.10-207-g09142ea doesn't regress.
+
 	Skip need_lib_prefix.at on systems without lib prefix on libraries.
 	* tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
 	systems that do not have libraries prefixed with lib.
diff --git a/tests/search-path.at b/tests/search-path.at
index e765724..28df443 100644
--- a/tests/search-path.at
+++ b/tests/search-path.at
@@ -1,7 +1,6 @@
 # search-path.at -- test sys_lib_search_path_spec             -*- Autotest -*-
 #
-#   Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#   Written by Ralf Wildenhues, 2006
+#   Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 #
 #   This file is part of GNU Libtool.
 #
@@ -58,3 +57,41 @@ if $no_libz; then
 fi
 
 AT_CLEANUP
+
+
+AT_SETUP([sys_lib_search_path on w32])
+AT_KEYWORDS([libtool])
+
+# Check if libtool knows the path to system libraries.  Using
+# a w32 system library since the test is designed to check if
+# the libtool handling of the sys_lib_search_path variable is
+# correct for MSVC.
+
+LDFLAGS="$LDFLAGS -no-undefined"
+
+AT_DATA([gc.c],
+[[#include <windows.h>
+HCURSOR get_cursor (void)
+{
+  return GetCursor ();
+}
+]])
+
+eval "`$LIBTOOL --config | grep '^build_libtool_libs='`"
+AT_CHECK([test "$build_libtool_libs" = yes || exit 77])
+
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC \
+	  $CC $CPPFLAGS $CFLAGS -o gc.lo -c gc.c || exit 77],
+	 [], [ignore], [ignore])
+
+# Ok, compile was fine, then it should be possible to link too.
+
+AT_CHECK([$LIBTOOL --mode=link --tag=CC --tag=disable-static \
+	  $CC $CFLAGS $LDFLAGS -o libgc.la gc.lo -rpath /nowhere -luser32],
+	 [], [ignore], [ignore])
+
+# If -luser32 was found, then libtool will build a shared library,
+# otherwise libtool will fall back to creating a static library.
+AT_CHECK([grep old_library=\'\' libgc.la], [], [ignore])
+
+AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool


