[SCM] GNU Libtool branch, master, updated. v2.2.10-93-gf864092

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

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

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

- Log -
commit f8640925f846162590d494e36406e1e04a4f48e8
Author: Charles Wilson 
Date:   Mon Aug 23 01:18:18 2010 -0400

Fix syntax for cygwin-cross

libltdl/m4/argz.m4: Add quotes around variable, which
may contain the multiword value 'guessing no'.

Signed-off-by: Charles Wilson 

---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-92-g92d24b3

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

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

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

- Log -
commit 92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3
Author: Ralf Wildenhues 
Date:   Sun Aug 22 20:33:49 2010 +0200

configure: use Autobuild AB_INIT if available.

* configure.ac: Call AB_INIT if it is defined, with
$autobuild_mode as argument, to be set at configure time.
Set AB_VERSION to the Libtool version string.
* HACKING: Update.
* libltdl/m4/.gitignore: Ignore autobuild.m4.

Signed-off-by: Ralf Wildenhues 

---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-91-g3160ead

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

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

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

- Log -
commit 3160ead1712bbe567d30defd2a65cfe03f34406d
Author: Ralf Wildenhues 
Date:   Sat Aug 21 06:56:37 2010 +0200

Fix getopt tests to skip with Autoconf < 2.61.

* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
if 'autom4te --language=m4sh' exits 63 because version 2.61 is
required.  Allows the testsuite to complete successfully with
Autoconf 2.59 and Automake 1.9.6.

Signed-off-by: Ralf Wildenhues 

---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, parallel-tests, created. v2.2.10-93-gb92d7e7

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

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

- Log -
commit b92d7e795871f8d22a13107b92427ae02bf32146
Author: Ralf Wildenhues 
Date:   Sun Aug 22 06:32:39 2010 +0200

check-interactive and check-noninteractive for both testsuites.

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

Signed-off-by: Ralf Wildenhues 

commit 36bdc6089b33bcd7262bbb279ddf04b69768a6ac
Author: Ralf Wildenhues 
Date:   Sun Aug 22 06:31:27 2010 +0200

Adjust docs for renaming and for parallel-tests.

* README: Update example TESTS setting.
* README.alpha: Likewise.
* NEWS: Update.
* doc/libtool.texi (Test descriptions): Update for test renaming,
adjust descriptions accordingly.

Signed-off-by: Ralf Wildenhues 

commit 939f3864c572e19a0b0f57c61c387b986010d9df
Author: Ralf Wildenhues 
Date:   Sun Aug 22 06:30:25 2010 +0200

Update VERBOSE handling for parallel-tests driver.

* tests/defs.m4sh: Default to verbose output, drop now-unneeded
handling of 'VERBOSE=no'.
* README: Update example usage.
* README.alpha: Likewise.
* doc/libtool.texi (Test descriptions, When tests fail): Remove
unneeded VERBOSE recommendations.  Point to per-test log files
and test-suite.log summary file.

Signed-off-by: Ralf Wildenhues 

commit 4c099630e2a46d13fea8533225a77673b643ce67
Author: Ralf Wildenhues 
Date:   Sun Aug 22 06:29:41 2010 +0200

Enable parallel-tests test driver for the old testsuite.

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

Signed-off-by: Ralf Wildenhues 

commit dcca98eb81bd99b1f659875428fac70918199447
Author: Ralf Wildenhues 
Date:   Sun Aug 22 06:28:30 2010 +0200

New alias scripts for old tests run more than once.

* tests/cdemo-shared-exec.test, tests/cdemo-shared-make.test,
tests/cdemo-static-exec.test, tests/cdemo-static-make.test,
tests/cdemo-undef-exec.test, tests/cdemo-undef-make.test,
tests/demo-nofast-exec.test, tests/demo-nofast-inst.test,
tests/demo-nofast-make.test, tests/demo-nofast-unst.test,
tests/demo-nopic-exec.test, tests/demo-nopic-make.test,
tests/demo-pic-exec.test, tests/demo-pic-make.test,
tests/demo-shared-exec.test, tests/demo-shared-inst.test,
tests/demo-shared-make.test, tests/demo-shared-unst.test,
tests/demo-static-exec.test, tests/demo-static-inst.test,
tests/demo-static-make.test, tests/demo-static-unst.test,
tests/depdemo-nofast-exec.test, tests/depdemo-nofast-inst.test,
tests/depdemo-nofast-make.test, tests/depdemo-nofast-unst.test,
tests/depdemo-shared-exec.test, tests/depdemo-shared-inst.test,
tests/depdemo-shared-make.test, tests/depdemo-shared-unst.test,
tests/depdemo-static-exec.test, tests/depdemo-static-inst.test,
tests/depdemo-static-make.test, tests/depdemo-static-unst.test,
tests/f77demo-shared-exec.test, tests/f77demo-shared-make.test,
tests/f77demo-static-exec.test, tests/f77demo-static-make.test,
tests/fcdemo-shared-exec.test, tests/fcdemo-shared-make.test,
tests/fcdemo-static-exec.test, tests/fcdemo-static-make.test,
tests/mdemo-shared-exec.test, tests/mdemo-shared-inst.test,
tests/mdemo-shared-make.test, tests/mdemo-shared-unst.test,
tests/mdemo-static-exec.test, tests/mdemo-static-inst.test,
tests/mdemo-static-make.test, tests/mdemo-static-unst.test,
tests/tagdemo-shared-exec.test, tests/tagdemo-shared-make.test,
tests/tagdemo-static-exec.test, tests/tagdemo-static-make.tes

[SCM] GNU Libtool branch, master, updated. v2.2.10-90-g10c6cb2

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

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

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

- Log -
commit 10c6cb25e5f8e5212e1c770568017184a7575122
Author: Ralf Wildenhues 
Date:   Sun Aug 22 06:14:06 2010 +0200

Tidy and fix clean and distclean rules for old testsuite.

* Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead
of hard-coding the list of test directories.  Use
$(AM_MAKEFLAGS).
(fake-distclean-legacy): New phony rule, to create fake Makefile
files if needed so that the automake-generated
distclean-recursive rule can work properly.
(distclean_recursive): New helper variable.
(distclean-recursive): Depend on fake-distclean-legacy.

Signed-off-by: Ralf Wildenhues 

---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-89-ga662d7c

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

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

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

- Log -
---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, sysroot, updated. v2.2.10-106-g75b9ac5

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

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

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

- Log -
commit 75b9ac5fa27c4940141d719a42a07f4397e14c60
Merge: a1d74f2 a662d7c
Author: Paolo Bonzini 
Date:   Sun Aug 22 09:54:55 2010 +0200

Merge branch 'master' into sysroot

commit a1d74f242cae77a941fbaa0505badf488d85f618
Author: Ralf Wildenhues 
Date:   Sun Aug 22 09:42:51 2010 +0200

fix AIX testsuite regression

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

---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, sysroot, updated. v2.2.10-103-g2bde23f

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

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

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

- Log -
commit 2bde23f84fd69c2b135ef53f43a22a90c14e7e8c
Merge: 5dca321 d7ed1f8
Author: Paolo Bonzini 
Date:   Sun Aug 22 09:29:24 2010 +0200

Merge remote branch 'origin/master' into sysroot

* libltdl/config/ltmain.m4sh (func_mode_finish): Use sed_make_literal_regex.

commit 5dca3212e16b8cd502a74f7c8e0a18187e36a03c
Author: Charles Wilson 
Date:   Sun Aug 22 09:39:21 2010 +0200

fix --mode=finish

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

---

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

diff --git a/ChangeLog b/ChangeLog
index ce4c9db..9892427 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,59 @@
+2010-08-15  Paolo Bonzini  
+
+   Factor the sed command used to make a regex from a literal.
+   * libltdl/config/general.m4sh (sed_make_literal_regex): New.
+   * libltdl/config/ltmain.m4sh
+   (func_cygming_dll_for_implib_fallback_core): Use it.  Suggested
+   by Ralf Wildenhues.
+
+2010-08-21  Rainer Tammer   (tiny change)
+
+   Avoid issues with AIX resident shared libraries in old testsuite.
+   * tests/defs.m4sh [aix]: Remove file mode permission for others,
+   so shared libraries are not kept in memory after execution.
+   Fixes failures of repeated mdemo-inst.test with on AIX 5.3.
+
+2010-08-21  Ralf Wildenhues  
+
+   Skip part of versioning test on AIX.
+   * tests/versioning.at (versioning): The AIX linker always
+   records the unversioned library name, even with runtimelinking,
+   so skip the execution test for the incompatibly upgraded
+   library.
+   Report by Rainer Tammer.
+
+   Remove dead code from versioning test.
+   * tests/versioning.at (versioning): No need to build unused
+   prog3.
+
+2010-08-20  Ralf Wildenhues  
+
+   Don't hide the table of contents in the manual.
+   * doc/libtool.texi: Move the table of contents to the beginning.
+   Prompted by patch from Bruno Haible against Automake.
+
+   Remove superfluous dependency in Makefile.am.
+   * Makefile.am (tests/demo-conf.test): Remove dependency on
+   libtool, this test is a primary source and not generated.
+
+   Bump copyright years in manual.
+   * doc/libtool.texi: Bump copyright years.
+
+2010-08-13  Peter Rosin  
+
+   Allow the use of a listing file if the archiver supports it.
+   * libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Move detection
+   of a suitable archiver...
+   (_LT_PROG_AR): ...to here. New macro, also detect if the
+   archiver supports a listing file with the new variable
+   archiver_list_spec.
+   * libltdl/config/ltmain.m4sh: If the archiver supports a listing
+   file, use it when max_cmd_len is exceeded.  This is needed for
+   tool chains such as MSVC which do not support piece by piece
+   linking (-r -o).
+   * doc/libtool.texi (libtool script contents): Update with
+   archiver_list_spec description.
+
 2010-08-10  Gary V. Vaughan(tiny change)
 
Make testsuite compatible with Autoconf 2.62 again.
diff --git a/Makefile.am b/Makefile.am
index c2928a5..201f370 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -691,8 +691,6 @@ if HAVE_FC
 TESTS += $(FC_TESTS)
 endif
 
-tests/demo-conf.test: libtool
-
 EXTRA_DIST += $(srcdir)/tests/defs.in test

[SCM] GNU Libtool branch, master, updated. v2.2.10-88-gd7ed1f8

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

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

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

- Log -
commit d7ed1f8f9f03ff54a1c8950848ae34bca41fb5f1
Author: Paolo Bonzini 
Date:   Sun Aug 15 19:04:08 2010 +0200

Factor the sed command used to make a regex from a literal.

* libltdl/config/general.m4sh (sed_make_literal_regex): New.
* libltdl/config/ltmain.m4sh (func_generate_dlsyms,
func_cygming_dll_for_implib_fallback_core): Use it.  Suggested
by Ralf Wildenhues.

---

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

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


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, sysroot, updated. v2.2.10-93-gb9accaa

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

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

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

- Log -
commit b9accaaa3b3e4d3cc1a72d5366e5526b65819026
Author: Paolo Bonzini 
Date:   Sun Aug 15 18:54:02 2010 +0200

improve code for sysroot --mode=finish

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

---

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

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


hooks/post-receive
-- 
GNU Libtool