From MAILER-DAEMON Sun Feb 01 09:53:07 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LTdh5-0000XB-5n
	for mharc-libtool-commit@gnu.org; Sun, 01 Feb 2009 09:53:07 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LTdh2-0000WT-Sl
	for libtool-commit@gnu.org; Sun, 01 Feb 2009 09:53:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LTdh1-0000W6-SA
	for libtool-commit@gnu.org; Sun, 01 Feb 2009 09:53:04 -0500
Received: from [199.232.76.173] (port=38987 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LTdh1-0000Vs-Jf
	for libtool-commit@gnu.org; Sun, 01 Feb 2009 09:53:03 -0500
Received: from savannah.gnu.org ([199.232.41.3]:49476 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LTdh1-0005ig-7B
	for libtool-commit@gnu.org; Sun, 01 Feb 2009 09:53:03 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LTdh0-0001sr-Bg
	for libtool-commit@gnu.org; Sun, 01 Feb 2009 14:53:02 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LTdgz-0001qZ-2f
	for libtool-commit@gnu.org; Sun, 01 Feb 2009 14:53:02 +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: af91ea10b4af5fbf5ed5b2010295fef61cfdcf97
X-Git-Newrev: 5f24ee188d215eb1f54b138000010a0f04e4bb7f
Message-Id: <E1LTdgz-0001qZ-2f@cvs.savannah.gnu.org>
Date: Sun, 01 Feb 2009 14:53:01 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-93-g5f24ee1
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Feb 2009 14:53:05 -0000

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

The branch, master has been updated
       via  5f24ee188d215eb1f54b138000010a0f04e4bb7f (commit)
       via  6d08820f7c04dc7269c40ac01bc844e3fedde624 (commit)
       via  f4788a1ba6fbbbdd90695661e79094c7071ad193 (commit)
       via  a967d9d23b2a0b095497e54fbb35f36976af19b9 (commit)
      from  af91ea10b4af5fbf5ed5b2010295fef61cfdcf97 (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 5f24ee188d215eb1f54b138000010a0f04e4bb7f
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Feb 1 15:05:37 2009 +0100

    Fix sed script in install.at.
    
    * tests/install.at (Install tests): Fix typo in sed script,
    fixes test failure on HP-UX.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 6d08820f7c04dc7269c40ac01bc844e3fedde624
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Feb 1 15:06:03 2009 +0100

    Fix $INSTALL in testsuite with relative path to install-sh.
    
    * tests/testsuite.at: If `$INSTALL' points to in-tree
    install-sh, override a possibly-relative path to it with an
    absolute one.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit f4788a1ba6fbbbdd90695661e79094c7071ad193
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Feb 1 15:06:19 2009 +0100

    install mode: do not pass `-m $install_override_mode' to cp.
    
    * libltdl/config/ltmain.m4sh (func_mode_install): New variable
    $install_cp, factor test when `cp' is used for installation.
    Do not pass mode override to cp.  Fixes `libtool --mode=install
    cp ...' on HP-UX; cp should not be used for libraries that might
    be needed by programs invoked during the installation process.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit a967d9d23b2a0b095497e54fbb35f36976af19b9
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Feb 1 15:24:00 2009 +0100

    Fix sed script portability issue in func_version.
    
    * libltdl/config/getopt.m4sh (func_version): Remove space in
    `/\./! {' sed command, to please HP-UX sed.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   22 ++++++++++++++++++++++
 libltdl/config/getopt.m4sh |    2 +-
 libltdl/config/ltmain.m4sh |   17 +++++++++++------
 tests/install.at           |    4 ++--
 tests/testsuite.at         |    6 ++++++
 5 files changed, 42 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7fb1de3..ab8db82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2009-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix sed script in install.at.
+	* tests/install.at (Install tests): Fix typo in sed script,
+	fixes test failure on HP-UX.
+
+	Fix $INSTALL in testsuite with relative path to install-sh.
+	* tests/testsuite.at: If `$INSTALL' points to in-tree
+	install-sh, override a possibly-relative path to it with an
+	absolute one.
+
+	install mode: do not pass `-m $install_override_mode' to cp.
+	* libltdl/config/ltmain.m4sh (func_mode_install): New variable
+	$install_cp, factor test when `cp' is used for installation.
+	Do not pass mode override to cp.  Fixes `libtool --mode=install
+	cp ...' on HP-UX; cp should not be used for libraries that might
+	be needed by programs invoked during the installation process.
+
+	Fix sed script portability issue in func_version.
+	* libltdl/config/getopt.m4sh (func_version): Remove space in
+	`/\./! {' sed command, to please HP-UX sed.
+
 2009-01-31  Jeff Squyres <jsquyres@cisco.com>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh
index 5f20320..d0f92f6 100644
--- a/libltdl/config/getopt.m4sh
+++ b/libltdl/config/getopt.m4sh
@@ -38,7 +38,7 @@ func_version ()
 {
     $SED -n '/(C)/!b go
 	:more
-	/\./! {
+	/\./!{
 	  N
 	  s/\n# //
 	  b more
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d685d30..49e07c3 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1470,6 +1470,10 @@ func_mode_install ()
     func_quote_for_eval "$arg"
     install_prog="$install_prog$func_quote_for_eval_result"
     install_shared_prog=$install_prog
+    case " $install_prog " in
+      *[\\\ /]cp\ *) install_cp=: ;;
+      *) install_cp=false ;;
+    esac
 
     # We need to accept at least all the BSD install flags.
     dest=
@@ -1492,10 +1496,9 @@ func_mode_install ()
       case $arg in
       -d) isdir=yes ;;
       -f)
-	case " $install_prog " in
-	*[\\\ /]cp\ *) ;;
-	*) prev=$arg ;;
-	esac
+	if $install_cp; then :; else
+	  prev=$arg
+	fi
 	;;
       -g | -m | -o)
 	prev=$arg
@@ -1537,8 +1540,10 @@ func_mode_install ()
       func_fatal_help "the \`$prev' option requires an argument"
 
     if test -n "$install_override_mode" && $no_mode; then
-      func_quote_for_eval "$install_override_mode"
-      install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result"
+      if $install_cp; then :; else
+	func_quote_for_eval "$install_override_mode"
+	install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result"
+      fi
     fi
 
     if test -z "$files"; then
diff --git a/tests/install.at b/tests/install.at
index f77970e..1e944e5 100644
--- a/tests/install.at
+++ b/tests/install.at
@@ -1,6 +1,6 @@
 # install.at -- install mode tests             -*- Autotest -*-
 #
-#   Copyright (C) 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2008
 #
 #   This file is part of GNU Libtool.
@@ -30,7 +30,7 @@ AT_KEYWORDS([libtool])
 
 AT_CHECK([$LIBTOOL --features | grep 'enable shared libraries' || exit 77],
 	 [], [ignore])
-sed 's,^\(install_override_mode=\).*,&755,' < $LIBTOOL > ./libtool
+sed 's,^\(install_override_mode\)=.*,\1=755,' < $LIBTOOL > ./libtool
 LIBTOOL=./libtool
 chmod a+rx $LIBTOOL
 
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 92e786e..0929849 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -52,6 +52,12 @@ else
   unset=false
 fi
 : ${mkdir_p="$abs_top_srcdir/libltdl/config/install-sh -d"}
+# Fix relative paths in $INSTALL
+case $INSTALL in
+  *libltdl/config/install-sh*)
+    INSTALL=$abs_top_srcdir/libltdl/config/install-sh
+    ;;
+esac
 
 # On AIX, shared libraries remain loaded in memory after use if they
 # are world-readable, until root issues slibclean.  On NFS, this causes


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Feb 03 02:18:12 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LUFXw-0000gK-9A
	for mharc-libtool-commit@gnu.org; Tue, 03 Feb 2009 02:18:12 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LUFXu-0000eZ-Ki
	for libtool-commit@gnu.org; Tue, 03 Feb 2009 02:18:10 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LUFXt-0000dT-I2
	for libtool-commit@gnu.org; Tue, 03 Feb 2009 02:18:10 -0500
Received: from [199.232.76.173] (port=36026 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LUFXt-0000dF-Du
	for libtool-commit@gnu.org; Tue, 03 Feb 2009 02:18:09 -0500
Received: from savannah.gnu.org ([199.232.41.3]:60130 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LUFXr-0001eo-1P
	for libtool-commit@gnu.org; Tue, 03 Feb 2009 02:18:09 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LUFXp-0008Vd-Tv
	for libtool-commit@gnu.org; Tue, 03 Feb 2009 07:18:06 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LUFXh-0008UB-HI
	for libtool-commit@gnu.org; Tue, 03 Feb 2009 07:18: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: 5f24ee188d215eb1f54b138000010a0f04e4bb7f
X-Git-Newrev: 77e114998457cb6170ad84b360cb5b9be90f2191
Message-Id: <E1LUFXh-0008UB-HI@cvs.savannah.gnu.org>
Date: Tue, 03 Feb 2009 07:18:01 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-95-g77e1149
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Feb 2009 07:18:10 -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  77e114998457cb6170ad84b360cb5b9be90f2191 (commit)
       via  a23b561d4497d6560e0cf9065201cb4f811836ff (commit)
      from  5f24ee188d215eb1f54b138000010a0f04e4bb7f (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 77e114998457cb6170ad84b360cb5b9be90f2191
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Feb 3 07:58:52 2009 +0100

    New test for lt_dlopenext error message.
    
    * tests/lt_dlopenext.at (lt_dlopenext error messages): New file,
    with new test, with sources taken from the Autobook example.
    * Makefile.am: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit a23b561d4497d6560e0cf9065201cb4f811836ff
Author: Kurt Roeckx <kurt@roeckx.be>
Date:   Tue Feb 3 07:54:33 2009 +0100

    lt_dlopenext sets error upon successful library load.
    
    * libltdl/ltdl.c (lt_dlopenadvise): Fix bogus error on
    successful loading of library with lt_dlopenext.
    Report by Kaiwang Chen in <http://bugs.debian.org/510006>.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog             |   15 +++
 Makefile.am           |    1 +
 libltdl/ltdl.c        |    4 +
 tests/lt_dlopenext.at |  242 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 262 insertions(+), 0 deletions(-)
 create mode 100644 tests/lt_dlopenext.at

diff --git a/ChangeLog b/ChangeLog
index ab8db82..5fe54d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2009-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+	    Kurt Roeckx <kurt@roeckx.be>
+
+	New test for lt_dlopenext error message.
+	* tests/lt_dlopenext.at (lt_dlopenext error messages): New file,
+	with new test, with sources taken from the Autobook example.
+	* Makefile.am: Update.
+
+2009-02-03  Kurt Roeckx <kurt@roeckx.be>
+
+	lt_dlopenext sets error upon successful library load.
+	* libltdl/ltdl.c (lt_dlopenadvise): Fix bogus error on
+	successful loading of library with lt_dlopenext.
+	Report by Kaiwang Chen in <http://bugs.debian.org/510006>.
+
 2009-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix sed script in install.at.
diff --git a/Makefile.am b/Makefile.am
index 0a3e69d..574147d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -478,6 +478,7 @@ TESTSUITE_AT	= tests/testsuite.at \
 		  tests/lt_dlexit.at \
 		  tests/lt_dladvise.at \
 		  tests/lt_dlopen.at \
+		  tests/lt_dlopenext.at \
 		  tests/ltdl-api.at \
 		  tests/need_lib_prefix.at \
 		  tests/standalone.at \
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 6e19599..80b5675 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -1614,6 +1614,9 @@ lt_dlopenadvise (const char *filename, lt_dladvise advise)
 {
   lt_dlhandle	handle	= 0;
   int		errors	= 0;
+  const char *	saved_error	= 0;
+
+  LT__GETERROR (saved_error);
 
   /* Can't have symbols hidden and visible at the same time!  */
   if (advise && advise->is_symlocal && advise->is_symglobal)
@@ -1650,6 +1653,7 @@ lt_dlopenadvise (const char *filename, lt_dladvise advise)
 
 #if defined(LT_MODULE_EXT)
       /* Try appending SHLIB_EXT.   */
+      LT__SETERRORSTR (saved_error);
       errors = try_dlopen (&handle, filename, shlib_ext, advise);
 
       /* As before, if the file was found but loading failed, return now
diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at
new file mode 100644
index 0000000..3d148a9
--- /dev/null
+++ b/tests/lt_dlopenext.at
@@ -0,0 +1,242 @@
+# lt_dlopenext.at -- test libltdl functionality             -*- Autotest -*-
+#
+#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   This file is part of GNU Libtool.
+#
+# GNU Libtool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# GNU Libtool is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING.  If not, a copy
+# can be downloaded from  http://www.gnu.org/licenses/gpl.html,
+# or obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+####
+
+AT_SETUP([lt_dlopenext error messages])
+AT_KEYWORDS([libltdl])
+
+# This test requires shared library support.
+AT_CHECK([$LIBTOOL --features | grep 'enable shared libraries' || exit 77],
+	 [], [ignore])
+
+prefix=`pwd`/inst
+libdir=$prefix/lib
+bindir=$prefix/bin
+mkdir $prefix $libdir $bindir
+
+# This code is copied from the Autobook:
+# <http://sources.redhat.com/autobook/autobook/autobook_169.html>
+# so if it needs changes, be sure to notify the Autobook authors
+# about them.
+
+AT_DATA([simple-module.c],
+[[
+#include <stdio.h>
+
+int
+run (const char *argument)
+{
+  printf ("Hello, %s!\n", argument);
+  return 0;
+}
+]])
+
+AT_DATA([ltdl-loader.c],
+[[
+#include <stdio.h>
+#include <stdlib.h>
+#ifndef EXIT_FAILURE
+#  define EXIT_FAILURE        1
+#  define EXIT_SUCCESS        0
+#endif
+
+#include <limits.h>
+#ifndef PATH_MAX
+#  define PATH_MAX 255
+#endif
+
+#include <string.h>
+#include <ltdl.h>
+
+#ifndef MODULE_PATH_ENV
+#  define MODULE_PATH_ENV        "MODULE_PATH"
+#endif
+
+typedef int entrypoint (const char *argument);
+
+/* Save and return a copy of the dlerror() error  message,
+   since the next API call may overwrite the original. */
+static char *dlerrordup (char *errormsg);
+
+int
+main (int argc, const char *argv[])
+{
+  char *errormsg = NULL;
+  lt_dlhandle module = NULL;
+  entrypoint *run = NULL;
+  int errors = 0;
+
+  if (argc != 3)
+    {
+      fprintf (stderr, "USAGE: main MODULENAME ARGUMENT\n");
+      exit (EXIT_FAILURE);
+    }
+
+  /* Initialise libltdl. */
+  errors = lt_dlinit ();
+
+  /* Set the module search path. */
+  if (!errors)
+    {
+      const char *path = getenv (MODULE_PATH_ENV);
+
+      if (path != NULL)
+        errors = lt_dlsetsearchpath (path);
+    }
+
+  /* Load the module. */
+  if (!errors)
+    module = lt_dlopenext (argv[1]);
+
+  /* Find the entry point. */
+  if (module)
+    {
+      run = (entrypoint *) lt_dlsym (module, "run");
+
+      /* In principle, run might legitimately be NULL, so
+         I don't use run == NULL as an error indicator
+         in general. */
+      errormsg = dlerrordup (errormsg);
+      if (errormsg != NULL)
+        {
+          errors = lt_dlclose (module);
+          module = NULL;
+        }
+    }
+  else
+    errors = 1;
+
+  /* Call the entry point function. */
+  if (!errors)
+    {
+      int result = (*run) (argv[2]);
+      if (result < 0)
+        errormsg = strdup ("module entry point execution failed");
+      else
+        printf ("\t=> %d\n", result);
+    }
+
+  /* Unload the module, now that we are done with it. */
+  if (!errors)
+    errors = lt_dlclose (module);
+
+  if (errors)
+    {
+      /* Diagnose the encountered error. */
+      errormsg = dlerrordup (errormsg);
+
+      if (!errormsg)
+        {
+          fprintf (stderr, "%s: dlerror() failed.\n", argv[0]);
+          return EXIT_FAILURE;
+        }
+    }
+
+  /* Finished with ltdl now. */
+  if (!errors)
+    if (lt_dlexit () != 0)
+      errormsg = dlerrordup (errormsg);
+
+  if (errormsg)
+    {
+      fprintf (stderr, "%s: %s.\n", argv[0], errormsg);
+      free (errormsg);
+      exit (EXIT_FAILURE);
+    }
+
+  return EXIT_SUCCESS;
+}
+
+/* Be careful to save a copy of the error message,
+   since the  next API call may overwrite the original. */
+static char *
+dlerrordup (char *errormsg)
+{
+  char *error = (char *) lt_dlerror ();
+  if (error && !errormsg)
+    errormsg = strdup (error);
+  return errormsg;
+}
+]])
+
+: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
+: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
+
+CPPFLAGS="$LTDLINCL $CPPFLAGS"
+LDFLAGS="$LDFLAGS -no-undefined"
+
+AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c simple-module.c],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o simple-module.la ]dnl
+	 [simple-module.lo -rpath $libdir -module -avoid-version],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c ltdl-loader.c],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ]dnl
+	 [ltdl-loader.$OBJEXT -dlopen self $LIBLTDL],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=install cp simple-module.la $libdir/simple-module.la], [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=clean rm -f simple-module.la], [], [ignore], [ignore])
+
+# Try finding the module with and without the .la file, with absolute
+# path, relative path, or one of the path variables.  Do not override
+# $PATH for w32, see shlibpath.at for the hacks this requires.
+#
+# Finding the module without the .la file will not work if MODULE_EXT
+# aka. shared_ext is empty.
+
+eval `$LIBTOOL --config | $EGREP '^(shlibpath_var|shrext_cmds)='`
+
+module=no
+eval shared_ext=\"$shrext_cmds\"
+if test -n "$shared_ext"; then
+  have_lafile="with without"
+else
+  have="with"
+fi
+
+if test "$shlibpath_var" = PATH; then
+  $unset shlibpath_var || shlibpath_var=
+fi
+
+for lafile in $have_lafile; do
+  if test $lafile = without; then
+    rm $libdir/simple-module.la
+  fi
+
+  for dir in inst/lib "$libdir"; do
+    LT_AT_EXEC_CHECK([./ltdl-loader], [], [stdout], [ignore],
+		     [$dir/simple-module World])
+    AT_CHECK([grep "Hello, World" stdout], [], [ignore])
+
+    for var in MODULE_PATH LTDL_LIBRARY_PATH $shlibpath_var
+    do
+      eval $var=\$dir
+      export $var
+      LT_AT_EXEC_CHECK([./ltdl-loader], [], [stdout], [ignore],
+		       [simple-module World])
+      AT_CHECK([grep "Hello, World" stdout], [], [ignore])
+      $unset $var || eval $var=
+    done
+  done
+done
+
+AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Feb 16 16:23:18 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LZAvu-0003gl-NM
	for mharc-libtool-commit@gnu.org; Mon, 16 Feb 2009 16:23:18 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LZAvs-0003g6-CW
	for libtool-commit@gnu.org; Mon, 16 Feb 2009 16:23:16 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LZAvq-0003fr-Oh
	for libtool-commit@gnu.org; Mon, 16 Feb 2009 16:23:14 -0500
Received: from [199.232.76.173] (port=44469 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LZAvq-0003fo-Kz
	for libtool-commit@gnu.org; Mon, 16 Feb 2009 16:23:14 -0500
Received: from savannah.gnu.org ([199.232.41.3]:58944 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LZAvq-0001fx-FQ
	for libtool-commit@gnu.org; Mon, 16 Feb 2009 16:23:14 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LZAvp-0007Yl-KE
	for libtool-commit@gnu.org; Mon, 16 Feb 2009 21:23:13 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LZAvn-0007YD-GI
	for libtool-commit@gnu.org; Mon, 16 Feb 2009 21:23:13 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 77e114998457cb6170ad84b360cb5b9be90f2191
X-Git-Newrev: 9e9ba5e0e2c0b3f33ee44081c5bc3f0b8991aebd
Message-Id: <E1LZAvn-0007YD-GI@cvs.savannah.gnu.org>
Date: Mon, 16 Feb 2009 21:23:13 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-96-g9e9ba5e
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Feb 2009 21:23:16 -0000

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

The branch, master has been updated
       via  9e9ba5e0e2c0b3f33ee44081c5bc3f0b8991aebd (commit)
      from  77e114998457cb6170ad84b360cb5b9be90f2191 (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 9e9ba5e0e2c0b3f33ee44081c5bc3f0b8991aebd
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Feb 16 21:59:34 2009 +0100

    Do not pass $INSTALL via TESTS_ENVIRONMENT.
    
    * Makefile.am (TESTS_ENVIRONMENT): Set lt_INSTALL, not INSTALL,
    so that a bogus relative path to the install-sh script in the
    source tree is not propagated to the configure scripts of the
    old test suite.
    * tests/testsuite.at: Adjust.
    * tests/install.at (Install tests): Likewise.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog          |   10 ++++++++++
 Makefile.am        |    2 +-
 tests/install.at   |    4 ++--
 tests/testsuite.at |    6 +++---
 4 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5fe54d7..08aeff1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Do not pass $INSTALL via TESTS_ENVIRONMENT.
+	* Makefile.am (TESTS_ENVIRONMENT): Set lt_INSTALL, not INSTALL,
+	so that a bogus relative path to the install-sh script in the
+	source tree is not propagated to the configure scripts of the
+	old test suite.
+	* tests/testsuite.at: Adjust.
+	* tests/install.at (Install tests): Likewise.
+
 2009-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 	    Kurt Roeckx <kurt@roeckx.be>
 
diff --git a/Makefile.am b/Makefile.am
index 574147d..c49f749 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -501,7 +501,7 @@ EXTRA_DIST     += $(srcdir)/$(TESTSUITE) $(TESTSUITE_AT) $(srcdir)/tests/package
 TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
 	CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
 	LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
-	STRIP="$(STRIP)" INSTALL="$(INSTALL)" \
+	STRIP="$(STRIP)" lt_INSTALL="$(INSTALL)" \
 	OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)" \
 	SHELL="$(SHELL)" CONFIG_SHELL="$(SHELL)" \
 	CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" CXXCPP="$(CXXCPP)" \
diff --git a/tests/install.at b/tests/install.at
index 1e944e5..5e15555 100644
--- a/tests/install.at
+++ b/tests/install.at
@@ -41,10 +41,10 @@ echo 'int a () { return 0; }' > a.c
 $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo ]dnl
 	 [-rpath $inst -no-undefined], [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=install $INSTALL liba.la $inst],
+AT_CHECK([$LIBTOOL --mode=install $lt_INSTALL liba.la $inst],
 	 [], [stdout], [ignore])
 AT_CHECK([grep ' -m 755' stdout], [], [ignore])
-AT_CHECK([$LIBTOOL --mode=install $INSTALL -m 644 liba.la $inst],
+AT_CHECK([$LIBTOOL --mode=install $lt_INSTALL -m 644 liba.la $inst],
 	 [], [stdout], [ignore])
 AT_CHECK([grep ' -m 755' stdout], [], [ignore])
 AT_CHECK([grep ' -m 644.*liba.la' stdout], [], [ignore])
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 0929849..e9226ee 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -52,10 +52,10 @@ else
   unset=false
 fi
 : ${mkdir_p="$abs_top_srcdir/libltdl/config/install-sh -d"}
-# Fix relative paths in $INSTALL
-case $INSTALL in
+# Fix relative paths in $lt_INSTALL
+case $lt_INSTALL in
   *libltdl/config/install-sh*)
-    INSTALL=$abs_top_srcdir/libltdl/config/install-sh
+    lt_INSTALL=$abs_top_srcdir/libltdl/config/install-sh
     ;;
 esac
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Feb 28 07:14:30 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LdO5N-0002Kv-NE
	for mharc-libtool-commit@gnu.org; Sat, 28 Feb 2009 07:14:30 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LdO5H-0002Jt-HN
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:14:23 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LdO5F-0002J4-C6
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:14:22 -0500
Received: from [199.232.76.173] (port=37557 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LdO5E-0002Ir-87
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:14:20 -0500
Received: from savannah.gnu.org ([199.232.41.3]:57157 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LdO5D-00087s-Fs
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:14:19 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdO5A-0007eC-JN
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 12:14:16 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdO58-0007dj-SI
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 12:14:16 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9e9ba5e0e2c0b3f33ee44081c5bc3f0b8991aebd
X-Git-Newrev: 0ab77c78c67226c118aa2df5ef8c144d660a3a0f
Message-Id: <E1LdO58-0007dj-SI@cvs.savannah.gnu.org>
Date: Sat, 28 Feb 2009 12:14:16 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-97-g0ab77c7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Feb 2009 12:14:24 -0000

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

The branch, master has been updated
       via  0ab77c78c67226c118aa2df5ef8c144d660a3a0f (commit)
      from  9e9ba5e0e2c0b3f33ee44081c5bc3f0b8991aebd (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 0ab77c78c67226c118aa2df5ef8c144d660a3a0f
Author: Andreas Schwab <schwab@suse.de>
Date:   Wed Feb 18 22:47:41 2009 +0100

    Remove remaining references to CVS.
    
    * bootstrap: Remove references to CVS.
    * README.alpha: Likewise.
    * clcommit.m4sh: Likewise.
    * doc/libtool.texi: Bump copyright years.
    (libtool script contents): Describe macro_revision as revision
    without reference to CVS.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog        |   11 +++++++++++
 README.alpha     |    8 ++++----
 bootstrap        |    8 ++++----
 clcommit.m4sh    |    4 ++--
 doc/libtool.texi |    8 ++++----
 5 files changed, 25 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 08aeff1..8308fc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-02-28  Andreas Schwab  <schwab@suse.de>
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Remove remaining references to CVS.
+	* bootstrap: Remove references to CVS.
+	* README.alpha: Likewise.
+	* clcommit.m4sh: Likewise.
+	* doc/libtool.texi: Bump copyright years.
+	(libtool script contents): Describe macro_revision as revision
+	without reference to CVS.
+
 2009-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Do not pass $INSTALL via TESTS_ENVIRONMENT.
diff --git a/README.alpha b/README.alpha
index 2231630..903fafb 100644
--- a/README.alpha
+++ b/README.alpha
@@ -21,10 +21,9 @@ 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 CVS first:
+problem, please try upgrading to the latest version from git first:
 
-  export CVS_RSH=ssh
-  cvs -z3 -d :pserver:anonymous@cvs.sv.gnu.org:/sources/libtool co libtool
+  git clone git://git.savannah.gnu.org/libtool.git
   cd libtool
   ./bootstrap
 
@@ -115,7 +114,8 @@ send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009  Free Software
+  Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
   This file is part of GNU Libtool.
diff --git a/bootstrap b/bootstrap
index f8b44c1..0b3648f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,7 +1,7 @@
 #! /bin/sh
-# bootstrap -- Helps bootstrapping libtool, when checked out from CVS.
+# bootstrap -- Helps bootstrapping libtool, when checked out from repository.
 #
-#   Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc,
+#   Copyright (C) 2003, 2004, 2005, 2006, 2009 Free Software Foundation, Inc,
 #   Mritten by Gary V. Vaughan, 2003
 #
 #   This file is part of GNU Libtool.
@@ -47,7 +47,7 @@ export SHELL
 case $1 in
 --help|-h*)
   cat <<EOF
-`echo $0 | sed 's,^.*/,,g'`: This script is designed to bootstrap a fresh CVS checkout
+`echo $0 | sed 's,^.*/,,g'`: This script is designed to bootstrap a fresh repository checkout
 of Libtool.  Useful environment variable settings:
   reconfdirs='. libltdl'     Do not bootstrap the old test suite.
   WORKING_LIBOBJ_SUPPORT=:   Declare that you have fixed LIBOBJDIR support
@@ -149,7 +149,7 @@ rm -f Makefile
 # Make a dummy libtoolize script for autoreconf:
 cat > $auxdir/libtoolize <<'EOF'
 #! /bin/sh
-# This is a dummy file for bootstrapping CVS libtool.
+# This is a dummy file for bootstrapping libtool.
 echo "$0: Bootstrap detected, no files installed." | sed 's,^.*/,,g'
 exit 0
 EOF
diff --git a/clcommit.m4sh b/clcommit.m4sh
index 73719cc..351076a 100644
--- a/clcommit.m4sh
+++ b/clcommit.m4sh
@@ -5,7 +5,7 @@ AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
 # Written by Gary V. Vaughan <gary@gnu.org>
 # and Alexandre Oliva <aoliva@redhat.com>
 
-# Copyright (C) 1999, 2000, 2004, 2006, 2008 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2004, 2006, 2008, 2009 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.
 
@@ -52,7 +52,7 @@ AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
 
 # 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 CVS repository and print which files it
+# 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.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 02340d9..0b35500 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -26,7 +26,7 @@
 @ifnottex
 This file documents GNU Libtool @value{VERSION}
 
-Copyright (C) 1996-2008 Free Software Foundation, Inc.
+Copyright (C) 1996-2009 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3
@@ -53,7 +53,7 @@ identical to this one except for the removal of this paragraph
 
 @page
 @vskip 0pt plus 1filll
-Copyright @copyright{} 2008 Free Software Foundation, Inc.
+Copyright @copyright{} 2009 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the @sc{gnu} Free Documentation License, Version 1.3
@@ -5902,7 +5902,7 @@ linking.
 
 @defvar macro_version
 @defvarx macro_revision
-The release and CVS revision from which the libtool.m4 macros were
+The release and revision from which the libtool.m4 macros were
 taken.  This is used to ensure that macros and @code{ltmain.sh}
 correspond to the same Libtool version.
 @end defvar
@@ -6080,7 +6080,7 @@ trick$ chmod +x libtool
 trick$ libtool --version
 ltmain.sh (GNU @@PACKAGE@@@@TIMESTAMP@@) @@VERSION@@
 
-Copyright (C) 2008 Free Software Foundation, Inc.
+Copyright (C) 2009 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 trick$


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Feb 28 07:28:32 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LdOIw-0005Qx-PH
	for mharc-libtool-commit@gnu.org; Sat, 28 Feb 2009 07:28:31 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LdOIs-0005Pi-3E
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:28:27 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LdOIq-0005P9-80
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:28:24 -0500
Received: from [199.232.76.173] (port=44450 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LdOIo-0005Op-QI
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:28:23 -0500
Received: from savannah.gnu.org ([199.232.41.3]:32847 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LdOIn-0002Fb-V9
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 07:28:22 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdOIn-0008O1-4T
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 12:28:21 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdOIl-0008NS-7P
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 12:28:20 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0ab77c78c67226c118aa2df5ef8c144d660a3a0f
X-Git-Newrev: 7c483431f1026e5bbfedc18c369652bb96f9f8dd
Message-Id: <E1LdOIl-0008NS-7P@cvs.savannah.gnu.org>
Date: Sat, 28 Feb 2009 12:28:20 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-98-g7c48343
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Feb 2009 12:28:27 -0000

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

The branch, master has been updated
       via  7c483431f1026e5bbfedc18c369652bb96f9f8dd (commit)
      from  0ab77c78c67226c118aa2df5ef8c144d660a3a0f (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 7c483431f1026e5bbfedc18c369652bb96f9f8dd
Author: Török Edwin <edwintorok@gmail.com>
Date:   Sat Feb 28 13:26:59 2009 +0100

    Do not add bogus directory arguments to link command lines.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
    always initialized before it is used.  Reported for zsh, for
    which $path contains $PATH entries even after "emulate sh", see
    <http://bugs.debian.org/517501>.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 8308fc4..022da07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-02-28  Török Edwin  <edwintorok@gmail.com>  (tiny change)
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Do not add bogus directory arguments to link command lines.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
+	always initialized before it is used.  Reported for zsh, for
+	which $path contains $PATH entries even after "emulate sh", see
+	<http://bugs.debian.org/517501>.
+
 2009-02-28  Andreas Schwab  <schwab@suse.de>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 49e07c3..7fcf4cb 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5624,6 +5624,7 @@ func_mode_link ()
 	  if test "$link_all_deplibs" != no; then
 	    # Add the search paths of all dependency libraries
 	    for deplib in $dependency_libs; do
+	      path=
 	      case $deplib in
 	      -L*) path="$deplib" ;;
 	      *.la)


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Feb 28 09:58:47 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LdQeN-0005LO-Cb
	for mharc-libtool-commit@gnu.org; Sat, 28 Feb 2009 09:58:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LdQeM-0005JL-8T
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 09:58:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LdQeL-0005I8-FL
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 09:58:45 -0500
Received: from [199.232.76.173] (port=59676 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LdQeL-0005Ht-Ba
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 09:58:45 -0500
Received: from savannah.gnu.org ([199.232.41.3]:60631 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LdQeK-0002Lq-V4
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 09:58:45 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdQeK-0003T8-DN
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 14:58:44 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdQeI-0003Sc-AO
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 14:58: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: 7c483431f1026e5bbfedc18c369652bb96f9f8dd
X-Git-Newrev: 55b363f2147638c3b5c78df264286863f23ff605
Message-Id: <E1LdQeI-0003Sc-AO@cvs.savannah.gnu.org>
Date: Sat, 28 Feb 2009 14:58:43 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-99-g55b363f
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Feb 2009 14:58:46 -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  55b363f2147638c3b5c78df264286863f23ff605 (commit)
      from  7c483431f1026e5bbfedc18c369652bb96f9f8dd (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 55b363f2147638c3b5c78df264286863f23ff605
Author: Tim Rice <tim@multitalents.net>
Date:   Sat Feb 28 14:12:03 2009 +0100

    Fix C++ template handling for old archives on UnixWare 7.1.4.
    
    * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*,
    sco3.2v5*, sco5v6*] <old_archive_cmds>: For CC, add template
    prelink step before archiving.  Fixes template.at test failures.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 022da07..9161d3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-28  Tim Rice  <tim@multitalents.net>
+
+	Fix C++ template handling for old archives on UnixWare 7.1.4.
+	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*,
+	sco3.2v5*, sco5v6*] <old_archive_cmds>: For CC, add template
+	prelink step before archiving.  Fixes template.at test failures.
+
 2009-02-28  Török Edwin  <edwintorok@gmail.com>  (tiny change)
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index b75a55a..51e8910 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -6219,6 +6219,8 @@ if test "$_lt_caught_CXX_error" != yes; then
           CC*)
 	    _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+	      '"$_LT_TAGVAR(old_archive_cmds, $1)"
 	    ;;
 	  *)
 	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Feb 28 16:39:07 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1LdWtn-0006Uh-J5
	for mharc-libtool-commit@gnu.org; Sat, 28 Feb 2009 16:39:07 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LdWtk-0006Tc-PA
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 16:39:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LdWtj-0006T3-Q6
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 16:39:03 -0500
Received: from [199.232.76.173] (port=35793 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LdWtj-0006Sx-Ee
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 16:39:03 -0500
Received: from savannah.gnu.org ([199.232.41.3]:41617 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1LdWtj-0003sF-4Q
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 16:39:03 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdWti-0000eu-GI
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 21:39:02 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1LdWtg-0000e6-Pd
	for libtool-commit@gnu.org; Sat, 28 Feb 2009 21:39:02 +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: 55b363f2147638c3b5c78df264286863f23ff605
X-Git-Newrev: 95f16dc1f658f0ff2a47d728e4b49cc90c1f09e3
Message-Id: <E1LdWtg-0000e6-Pd@cvs.savannah.gnu.org>
Date: Sat, 28 Feb 2009 21:39:02 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-100-g95f16dc
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Feb 2009 21:39:05 -0000

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

The branch, master has been updated
       via  95f16dc1f658f0ff2a47d728e4b49cc90c1f09e3 (commit)
      from  55b363f2147638c3b5c78df264286863f23ff605 (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 95f16dc1f658f0ff2a47d728e4b49cc90c1f09e3
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Feb 28 22:37:34 2009 +0100

    Add missing parentheses in the manual.
    
    * doc/libtool.texi (Distributing libltdl, Test descriptions):
    Add missing parentheses.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 9161d3f..da9640a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* doc/libtool.texi (Distributing libltdl, Test descriptions):
+	Add missing parentheses.
+
 2009-02-28  Tim Rice  <tim@multitalents.net>
 
 	Fix C++ template handling for old archives on UnixWare 7.1.4.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 0b35500..2f90ca3 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -4474,7 +4474,7 @@ unnecessary but makes it easy to forget to upgrade @file{acinclude.m4}
 if you move to a different release of libltdl.
 @c
 }.  Having made the macros available, you must add a call to the
-@samp{LTDL_INIT} macro (after the call to @samp{LT_INIT}
+@samp{LTDL_INIT} macro (after the call to @samp{LT_INIT})
 to your package's @file{configure.ac} to
 perform the configure time checks required to build the library
 correctly.  Unfortunately, this method has problems if you then try to
@@ -5004,7 +5004,7 @@ static and shared libraries, @file{depdemo-static.test} builds only static
 libraries (@option{--disable-shared}), and @file{depdemo-shared.test} builds
 only shared libraries (@option{--disable-static}).
 @file{depdemo-nofast.test} configures @file{depdemo/libtool} to
-disable the fast-install mode (@option{--enable-fast-install=no}.
+disable the fast-install mode (@option{--enable-fast-install=no}).
 
 @item mdemo-conf.test
 @itemx mdemo-exec.test


hooks/post-receive
--
GNU Libtool



