From MAILER-DAEMON Fri Aug 01 02:15:40 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KOnvQ-0003Zd-Fq
	for mharc-libtool-commit@gnu.org; Fri, 01 Aug 2008 02:15:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KOnvO-0003YJ-TT
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:15:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KOnvN-0003XU-Qh
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:15:38 -0400
Received: from [199.232.76.173] (port=35169 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KOnvN-0003XH-Hg
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:15:37 -0400
Received: from savannah.gnu.org ([199.232.41.3]:47704 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 1KOnvN-0000uh-BE
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:15:37 -0400
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 1KOnvL-0004So-DQ
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 06:15:35 +0000
Received: from gary by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KOnvI-0004KT-Tl
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 06:15:34 +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: 84430a7251de8d999a22304dfdd52afd7ad3d998
X-Git-Newrev: 2c769d10a231a417fb1951304ff9509da658f3ba
Message-Id: <E1KOnvI-0004KT-Tl@cvs.savannah.gnu.org>
Date: Fri, 01 Aug 2008 06:15:33 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-24-g2c769d1
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Aug 2008 06:15:39 -0000

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

The branch, master has been updated
       via  2c769d10a231a417fb1951304ff9509da658f3ba (commit)
      from  84430a7251de8d999a22304dfdd52afd7ad3d998 (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 2c769d10a231a417fb1951304ff9509da658f3ba
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Aug 1 13:12:29 2008 +0700

    Implement lt_dlopening of only preloaded modules.
    * libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
    provides lt_dladvise_preopen when deciding if installed libltdl
    is 'new enough'.
    * libltdl/libltdl/lt__private.h (lt__advise): Add a new
    is_preload flag.
    * libltdl/ltdl.c (lt_dladvise_preload): New api call to set it.
    (try_dlopen): If it is set, and the search of preloaded modules
    didn't return a match, don't bother searching the filesystem.
    * libltdl/ltdl.h (lt_dladvise_preload): Declare it.
    * doc/libtool.texi (Libltdl Interface): Document it.
    * tests/lt_dladvise.at: Test it (and incidentally add some test
    coverage for `libtool -dlpreopen').
    * NEWS: Announce it.

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

Summary of changes:
 ChangeLog                     |   17 +++++++++++
 NEWS                          |    7 +++--
 doc/libtool.texi              |    7 +++++
 libltdl/libltdl/lt__private.h |    1 +
 libltdl/ltdl.c                |   26 ++++++++++++++++-
 libltdl/ltdl.h                |    1 +
 libltdl/m4/ltdl.m4            |    2 +-
 tests/lt_dladvise.at          |   61 +++++++++++++++++++++++++++++++++-------
 8 files changed, 105 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2450990..b71097c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2008-08-01  Gary V. Vaughan  <gary@gnu.org>
+
+	Implement lt_dlopening of only preloaded modules.
+	* libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
+	provides lt_dladvise_preopen when deciding if installed libltdl
+	is 'new enough'.
+	* libltdl/libltdl/lt__private.h (lt__advise): Add a new
+	is_preload flag.
+	* libltdl/ltdl.c (lt_dladvise_preload): New api call to set it.
+	(try_dlopen): If it is set, and the search of preloaded modules
+	didn't return a match, don't bother searching the filesystem.
+	* libltdl/ltdl.h (lt_dladvise_preload): Declare it.
+	* doc/libtool.texi (Libltdl Interface): Document it.
+	* tests/lt_dladvise.at: Test it (and incidentally add some test
+	coverage for `libtool -dlpreopen').
+	* NEWS: Announce it.
+
 2008-08-01  Vincent Torri  <doursse@users.sf.net>
 
 	Add cegcc (Windows CE/PocketPC) support.
diff --git a/NEWS b/NEWS
index a182371..073c345 100644
--- a/NEWS
+++ b/NEWS
@@ -1,10 +1,11 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
-New in 2.2.??: 2008-06-??: git version 2.2.5a, Libtool team:
+New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team:
 
-* Bug fixes:
+* New features:
 
-  - None yet
+  - New lt_dloadvise_preload() call to set a hint that only preloadeded
+    modules can be opened.
 
 * Changes in supported systems or compilers:
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index b09cc2a..7b6b3f5 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3816,6 +3816,13 @@ On failure, @code{lt_dladvise_resident} returns non-zero and sets an error
 message that can be retrieved with @code{lt_dlerror}.
 @end deftypefun
 
+@deftypefun int lt_dladvise_preload (lt_dladvise *@var{advise})
+Set the @code{preload} hint on @var{advise}.  Passing an @var{advise}
+parameter to @code{lt_dlopenadvise} with this hint set causes it to
+load only preloaded modules, so that if a suitable preloaded module is
+not found, @code{lt_dlopenadvise} will return @code{NULL}.
+@end deftypefun
+
 @deftypefun int lt_dlclose (lt_dlhandle @var{handle})
 Decrement the reference count on the module @var{handle}.
 If it drops to zero and no other module depends on this module,
diff --git a/libltdl/libltdl/lt__private.h b/libltdl/libltdl/lt__private.h
index 4ce936d..f4c4a3d 100644
--- a/libltdl/libltdl/lt__private.h
+++ b/libltdl/libltdl/lt__private.h
@@ -126,6 +126,7 @@ struct lt__advise {
 				   subsequently loaded modules.  */
   unsigned int	is_symlocal:1;	/* module symbols are only available
 				   locally. */
+  unsigned int	try_preload_only:1;/* only preloaded modules will be tried. */
 };
 
 /* --- ERROR HANDLING --- */
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index a89c6bb..5a26565 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -1129,6 +1129,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
 	    lt_dladvise advise)
 {
   const char *	saved_error	= 0;
+  char *	archive_name	= 0;
   char *	canonical	= 0;
   char *	base_name	= 0;
   char *	dir		= 0;
@@ -1257,16 +1258,21 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
 
       if (vtable)
 	{
+	  archive_name = MALLOC (char, LT_STRLEN (name) + 3);
 	  *phandle = (lt_dlhandle) lt__zalloc (sizeof (struct lt__handle));
 
-	  if (*phandle == NULL)
+	  if ((*phandle == NULL) || (archive_name == NULL))
 	    {
 	      ++errors;
 	      goto cleanup;
 	    }
 	  newhandle = *phandle;
 
-	  if (tryall_dlopen (&newhandle, attempt, advise, vtable) == 0)
+	  /* Preloaded modules are always named according to their old
+	     archive name.  */
+	  sprintf (archive_name, "%s.a", name);
+
+	  if (tryall_dlopen (&newhandle, archive_name, advise, vtable) == 0)
 	    {
 	      goto register_handle;
 	    }
@@ -1278,6 +1284,13 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
 	}
     }
 
+  /* If we are allowing only preloaded modules, and we didn't find
+     anything yet, give up on the search here.  */
+  if (advise && advise->try_preload_only)
+    {
+      goto cleanup;
+    }
+
   /* Check whether we are opening a libtool module (.la extension).  */
   if (ext && streq (ext, archive_ext))
     {
@@ -1461,6 +1474,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
   if (!canonical)		/* was MEMREASSIGNed */
     FREE (base_name);
   FREE (canonical);
+  FREE (archive_name);
 
   return errors;
 }
@@ -1555,6 +1569,14 @@ lt_dladvise_global (lt_dladvise *padvise)
   return 0;
 }
 
+int
+lt_dladvise_preload (lt_dladvise *padvise)
+{
+  assert (padvise && *padvise);
+  (*padvise)->try_preload_only = 1;
+  return 0;
+}
+
 /* Libtool-1.5.x interface for loading a new module named FILENAME.  */
 lt_dlhandle
 lt_dlopen (const char *filename)
diff --git a/libltdl/ltdl.h b/libltdl/ltdl.h
index bc60b88..8b516ad 100644
--- a/libltdl/ltdl.h
+++ b/libltdl/ltdl.h
@@ -71,6 +71,7 @@ LT_SCOPE int	    lt_dladvise_ext	 (lt_dladvise *advise);
 LT_SCOPE int	    lt_dladvise_resident (lt_dladvise *advise);
 LT_SCOPE int	    lt_dladvise_local	 (lt_dladvise *advise);
 LT_SCOPE int	    lt_dladvise_global   (lt_dladvise *advise);
+LT_SCOPE int	    lt_dladvise_preload	 (lt_dladvise *advise);
 
 /* Portable libltdl versions of the system dlopen() API. */
 LT_SCOPE lt_dlhandle lt_dlopen		(const char *filename);
diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4
index 3908963..563889e 100644
--- a/libltdl/m4/ltdl.m4
+++ b/libltdl/m4/ltdl.m4
@@ -248,7 +248,7 @@ if test "x$with_included_ltdl" != xyes; then
   # decide whether there is a useful installed version we can use.
   AC_CHECK_HEADER([ltdl.h],
       [AC_CHECK_DECL([lt_dlinterface_register],
-	   [AC_CHECK_LIB([ltdl], [lt_dlinterface_register],
+	   [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
 	       [with_included_ltdl=no],
 	       [with_included_ltdl=yes])],
 	   [with_included_ltdl=yes],
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index 617539f..c0cd768 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -190,6 +190,25 @@ hint_global (void)
   lt_dladvise_destroy (&advise);
 }
 
+void
+hint_preload (void)
+{
+  lt_dlhandle handle;
+  lt_dladvise advise;
+
+  if (lt_dladvise_init (&advise) || lt_dladvise_preload (&advise))
+    complain ("error setting advise preload");
+
+  handle = moduleopen ("libpreload.la", advise);
+
+  if (handle)
+    {
+      printf("preload: %d\n", moduletest (handle, "h", "k"));
+    }
+
+  lt_dladvise_destroy (&advise);
+}
+
 int
 main (void)
 {
@@ -205,6 +224,7 @@ main (void)
   hint_resident ();
   hint_local ();
   hint_global ();
+  hint_preload ();
 
   if (lt_dlexit () != 0)
     complain ("error during exit");
@@ -258,11 +278,23 @@ int j = 4;
 #endif
 ]])
 
+AT_DATA([modpreload.c],
+[[#ifdef __cplusplus
+extern "C" {
+#endif
+int h (int x) { return 2 * x; }
+int k = 3;
+#ifdef __cplusplus
+}
+#endif
+]])
+
 AT_DATA([expout],
 [[resident: 2
 local: 3
 global: 4
 depend: 5
+preload: 6
 ]])
 
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
@@ -277,6 +309,7 @@ esac], [], [ignore])
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 
 dlopenable='resident local global'
+dlpreloadable='preload'
 
 # ------------------------------------------------------------------------- #
 # The depend test makes no sense unless compiled without -no-undefined. By  #
@@ -306,23 +339,29 @@ esac
 LDFLAGS="$LDFLAGS -no-undefined"
 
 $CC $CPPFLAGS $CFLAGS -c main.c
-for name in resident local global; do
+for name in resident local global preload; do
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c mod$name.c
   AT_CHECK([$LIBTOOL --mode=link $CC -module $CFLAGS $LDFLAGS -o lib$name.la \
             mod$name.lo -rpath /foo -avoid-version], [], [ignore], [ignore])
 done
 
-# TODO: test -dlpreopen
-for dlopen in -dlopen; do
-
-  modules=
-  for module in $dlopenable; do
-    modules="${modules+$modules }$dlopen lib$module.la"
-  done
+preloaded=
+for module in $dlpreloadable; do
+  preloaded="${preloaded+$preloaded }-dlpreopen lib$module.la"
+done
 
-  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT $modules $LIBLTDL],
-	   [], [ignore], [ignore])
-  LT_AT_NOINST_EXEC_CHECK([./main], [$modules], [], [expout], [])
+modules=
+for module in $dlopenable; do
+  modules="${modules+$modules }-dlopen lib$module.la"
 done
 
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT $preloaded $modules $LIBLTDL],
+	 [], [ignore], [ignore])
+
+# Remove loadable libpreload module, so we know it is the preloaded module
+# that is being executed by a successful test invocation:
+$LIBTOOL --mode=clean rm libpreload.la
+
+LT_AT_NOINST_EXEC_CHECK([./main], [$modules], [], [expout], [])
+
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Aug 01 02:51:31 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KOoU7-0000z2-Ol
	for mharc-libtool-commit@gnu.org; Fri, 01 Aug 2008 02:51:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KOoU5-0000yH-Ku
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:51:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KOoU4-0000xq-Sd
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:51:29 -0400
Received: from [199.232.76.173] (port=54064 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KOoU4-0000xm-DP
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:51:28 -0400
Received: from savannah.gnu.org ([199.232.41.3]:50327 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 1KOoU4-0005Kt-1y
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 02:51:28 -0400
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 1KOoU3-0004M1-1R
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 06:51:27 +0000
Received: from gary by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KOoU2-0004K7-Eg
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 06:51:26 +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: 2c769d10a231a417fb1951304ff9509da658f3ba
X-Git-Newrev: f3f76d413f2259ce7680bc46f88e9920972042cb
Message-Id: <E1KOoU2-0004K7-Eg@cvs.savannah.gnu.org>
Date: Fri, 01 Aug 2008 06:51:26 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-25-gf3f76d4
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Aug 2008 06:51:30 -0000

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

The branch, master has been updated
       via  f3f76d413f2259ce7680bc46f88e9920972042cb (commit)
      from  2c769d10a231a417fb1951304ff9509da658f3ba (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 f3f76d413f2259ce7680bc46f88e9920972042cb
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Aug 1 13:50:11 2008 +0700

    Bring NEWS up to date.
    * NEWS: Add missing summaries since 2.2.4 release.

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

Summary of changes:
 ChangeLog |    3 +++
 NEWS      |    9 +++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b71097c..882d61b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-08-01  Gary V. Vaughan  <gary@gnu.org>
 
+	Bring NEWS up to date.
+	* NEWS: Add missing summaries since 2.2.4 release.
+
 	Implement lt_dlopening of only preloaded modules.
 	* libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
 	provides lt_dladvise_preopen when deciding if installed libltdl
diff --git a/NEWS b/NEWS
index 073c345..4e63e0f 100644
--- a/NEWS
+++ b/NEWS
@@ -6,11 +6,20 @@ New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team:
 
   - New lt_dloadvise_preload() call to set a hint that only preloadeded
     modules can be opened.
+  - libtoolize no longer removes config.guess and config.sub, even when
+    --install is passed.
 
 * Changes in supported systems or compilers:
 
+  - Support for ifort on darwin.
+  - Support for newer Intel compilers (icc 10, ifort 9) on linux.
+  - Support cross compile from mingw with wine.
   - Initial support for cegcc (Windows CE/PocketPC) cross compilation.
 
+* Bug fixes:
+
+  - Several testsuite issues have been fixed, thanks to user feedback.
+
 New in 2.2.4: 2008-05-04: git version 2.2.3a, Libtool team:
 
 * New features:


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Aug 01 13:28:39 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KOyQg-0002W8-Tr
	for mharc-libtool-commit@gnu.org; Fri, 01 Aug 2008 13:28:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KOyQe-0002Ss-Ai
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 13:28:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KOyQd-0002RY-Gf
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 13:28:35 -0400
Received: from [199.232.76.173] (port=47850 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KOyQd-0002RO-6u
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 13:28:35 -0400
Received: from savannah.gnu.org ([199.232.41.3]:53650 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 1KOyQd-00049I-5Q
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 13:28:35 -0400
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 1KOyQc-0006YJ-8w
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 17:28:34 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KOyQb-0006XD-J0
	for libtool-commit@gnu.org; Fri, 01 Aug 2008 17:28:34 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f3f76d413f2259ce7680bc46f88e9920972042cb
X-Git-Newrev: d7ceff1d0024a24683460be93157edf67bde14cb
Message-Id: <E1KOyQb-0006XD-J0@cvs.savannah.gnu.org>
Date: Fri, 01 Aug 2008 17:28:33 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-26-gd7ceff1
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Aug 2008 17:28:36 -0000

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

The branch, master has been updated
       via  d7ceff1d0024a24683460be93157edf67bde14cb (commit)
      from  f3f76d413f2259ce7680bc46f88e9920972042cb (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 d7ceff1d0024a24683460be93157edf67bde14cb
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 1 19:27:31 2008 +0200

    * NEWS: Minor fixups.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 882d61b..b2e2171 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* NEWS: Minor fixups.
+
 2008-08-01  Gary V. Vaughan  <gary@gnu.org>
 
 	Bring NEWS up to date.
diff --git a/NEWS b/NEWS
index 4e63e0f..52f8804 100644
--- a/NEWS
+++ b/NEWS
@@ -11,9 +11,9 @@ New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team:
 
 * Changes in supported systems or compilers:
 
-  - Support for ifort on darwin.
-  - Support for newer Intel compilers (icc 10, ifort 9) on linux.
-  - Support cross compile from mingw with wine.
+  - Fixes for ifort on Darwin, and newer Intel compilers (icc 10, ifort 9)
+    on GNU/Linux.
+  - Support cross compile of MinGW with Wine.
   - Initial support for cegcc (Windows CE/PocketPC) cross compilation.
 
 * Bug fixes:


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Aug 02 09:37:46 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KPHIo-0003tA-E2
	for mharc-libtool-commit@gnu.org; Sat, 02 Aug 2008 09:37:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KPHIm-0003rw-EC
	for libtool-commit@gnu.org; Sat, 02 Aug 2008 09:37:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KPHIl-0003rH-H6
	for libtool-commit@gnu.org; Sat, 02 Aug 2008 09:37:43 -0400
Received: from [199.232.76.173] (port=51924 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KPHIl-0003r9-5y
	for libtool-commit@gnu.org; Sat, 02 Aug 2008 09:37:43 -0400
Received: from savannah.gnu.org ([199.232.41.3]:56664 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 1KPHIk-0008Ty-Nq
	for libtool-commit@gnu.org; Sat, 02 Aug 2008 09:37:42 -0400
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 1KPHIk-0004c7-4V
	for libtool-commit@gnu.org; Sat, 02 Aug 2008 13:37:42 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KPHIj-0004bI-5F
	for libtool-commit@gnu.org; Sat, 02 Aug 2008 13:37:41 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 02412b80fcc1a1e4ec74bb450e72a41e8b56cddd
Message-Id: <E1KPHIj-0004bI-5F@cvs.savannah.gnu.org>
Date: Sat, 02 Aug 2008 13:37:41 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	created. v2.2.4-33-g02412b8
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, 02 Aug 2008 13:37:44 -0000

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

The branch, pr-msvc-support has been created
        at  02412b80fcc1a1e4ec74bb450e72a41e8b56cddd (commit)

- Log -----------------------------------------------------------------
commit 02412b80fcc1a1e4ec74bb450e72a41e8b56cddd
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    Add MSVC support.
    
    * libltdl/m4/libtool.m4: Add support for Microsoft Visual C.
    * NEWS: Add note of the above.

commit e121c67a1a648a28ab2e11a5b5674b71b106eab0
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    Indicate if the archiver supports a listing file.
    
    Allow the use of a file listing file if the archiver supports
    it.  Add hint so that the Microsoft lib archiver uses the file
    listing feature.
    * libltdl/m4/libtool.m4 (_LT_PROG_AR): Indicate 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.

commit 22e14be86db9f3552f855758076064b144829d94
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    MSVC doesn't support the -l option.
    
    MSVC doesn't support the -l option, instead it expects the exact
    library file name. Retain the -l option as long as possible as
    libtool recognizes -l internally. Then, as late as possible
    transform the -l option to an exact file name (-lfoo ->
    foo.lib).
    * libltdl/m4/libtool.m4: Add tag variable dashl_xform which
    specifies how to transform -l options for the linker.
    * libltdl/config/ltmain.m4sh (func_mode_link): Transform -l
    options using dashl_xform right before creating the
    program or library.

commit c8d8f613f9a9146e6bfdafec5bd050a45d18e30a
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    MSVC needs a hint to force it to compile either as C or C++.
    
    * libltdl/m4/libtool.m4: Add tag variable compile_tag to
    enable tag specific compiler options that are bad in the
    linking phase.
    * libltdl/config/ltmain.m4sh: Add the tag specific options
    to the compile command line.

commit 23c681e5f5ba938e180af79729ba90d1cde0aaca
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    The MSVC linker doesn't have a -L option.
    
    The MSVC linker doesn't have a -L option, and doesn't understand
    posix paths.  Move paths to an envvar with a prefix (-LIBPATH:).
    
    * libltdl/m4/libtool.m4: Add new tag variables to specify
    to what variable (dashL_envvar) -L options should be moved,
    and what to prepend to the -L path (dashL_envvar_spec).
    * libltdl/config/ltmain.m4sh (func_dashL_to_envvar): New
    function that moves -L options to a variable.
    * libltdl/config/ltmain.m4sh (func_mode_link): Prior to
    linking, call above function if dashL_envvar is set.

commit c1afbe79826fb7bc4da5ed55e64208b824779286
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    On Windows, find potential libs regardless of file name case.
    
    * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD),
    libltdl/config/ltmain.m4sh (func_mode_link): On Windows,
    find potential libs regardless of file name case.
    * tests/nocase.at: New test, to check for regressions
    of the above.
    * Makefile.am: Add above new test.

commit 34a74f87cec98a36920b19869338839a6eed4516
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 2 14:54:10 2008 +0200

    Allow Microsoft lib to be used as the archiver.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_AR): New macro, detect the
    interface used by the archiver. In particular, add the AR_SEP
    variable to allow archivers that does not allow a space between
    the options to create an archive and the archive name and the
    ar_extract_one_by_one variable which indicates if the archiver
    can extract all members in one go.
    * libltdl/m4/libtool.m4: Add $AR_SEP between $AR_FLAGS and the
    archive file name in all $AR commands.
    * libltdl/config/ltmain.m4sh (func_extract_an_archive): Add support
    for archivers that only supports extracting one member at a time
    and otherwise adjust to the above libtool.m4 changes. Also, add
    $AR_SEP to the $AR invocations.
    * Makefile.am: Pass AR, AR_FLAGS and AR_SEP through to the
    testsuite.
    * tests/archive-in-archive.at: Extract archive name from the .la
    file instead of hardcoding the name, and allow different archivers.

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


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Wed Aug 06 14:37:33 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KQnt7-0001V6-6p
	for mharc-libtool-commit@gnu.org; Wed, 06 Aug 2008 14:37:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KQnt5-0001UZ-6m
	for libtool-commit@gnu.org; Wed, 06 Aug 2008 14:37:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KQnt4-0001UN-3x
	for libtool-commit@gnu.org; Wed, 06 Aug 2008 14:37:30 -0400
Received: from [199.232.76.173] (port=52514 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KQnt3-0001UK-Tz
	for libtool-commit@gnu.org; Wed, 06 Aug 2008 14:37:29 -0400
Received: from savannah.gnu.org ([199.232.41.3]:38612 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 1KQnt3-0003vg-IO
	for libtool-commit@gnu.org; Wed, 06 Aug 2008 14:37:29 -0400
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 1KQnt3-0000WY-0H
	for libtool-commit@gnu.org; Wed, 06 Aug 2008 18:37:29 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KQnt2-0000W5-1e
	for libtool-commit@gnu.org; Wed, 06 Aug 2008 18:37:28 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d7ceff1d0024a24683460be93157edf67bde14cb
X-Git-Newrev: 355091804cac610f16d961d7702cc93e91d33267
Message-Id: <E1KQnt2-0000W5-1e@cvs.savannah.gnu.org>
Date: Wed, 06 Aug 2008 18:37:28 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-27-g3550918
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Aug 2008 18:37: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  355091804cac610f16d961d7702cc93e91d33267 (commit)
      from  d7ceff1d0024a24683460be93157edf67bde14cb (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 355091804cac610f16d961d7702cc93e91d33267
Author: Steve Ellcey <sje@cup.hp.com>
Date:   Wed Aug 6 20:34:00 2008 +0200

    Use -fPIC with GCC on HP-UX/ia64.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
    [ia64-*-hpux*]: Specify -fPIC when using GCC to build shared
    libraries.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index b2e2171..0014fc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-06  Steve Ellcey  <sje@cup.hp.com>
+
+	Use -fPIC with GCC on HP-UX/ia64.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
+	[ia64-*-hpux*]: Specify -fPIC when using GCC to build shared
+	libraries.
+
 2008-08-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* NEWS: Minor fixups.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index d4891ca..7f59698 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3602,10 +3602,11 @@ m4_if([$1], [CXX], [
       fi
       ;;
     hpux*)
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
-      # not for PA HP-UX.
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
+      # sets the default TLS model and affects inlining.
       case $host_cpu in
-      hppa*64*|ia64*)
+      hppa*64*)
 	;;
       *)
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
@@ -3897,10 +3898,11 @@ m4_if([$1], [CXX], [
       ;;
 
     hpux*)
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
-      # not for PA HP-UX.
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
+      # sets the default TLS model and affects inlining.
       case $host_cpu in
-      hppa*64*|ia64*)
+      hppa*64*)
 	# +Z the default
 	;;
       *)
@@ -4769,7 +4771,7 @@ _LT_EOF
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	ia64*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Aug 07 01:28:11 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KQy2l-0008Nw-DG
	for mharc-libtool-commit@gnu.org; Thu, 07 Aug 2008 01:28:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KQy2j-0008N5-7F
	for libtool-commit@gnu.org; Thu, 07 Aug 2008 01:28:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KQy2g-0008Kc-I6
	for libtool-commit@gnu.org; Thu, 07 Aug 2008 01:28:07 -0400
Received: from [199.232.76.173] (port=58436 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KQy2g-0008KU-9x
	for libtool-commit@gnu.org; Thu, 07 Aug 2008 01:28:06 -0400
Received: from savannah.gnu.org ([199.232.41.3]:48244 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 1KQy2g-0005kC-1R
	for libtool-commit@gnu.org; Thu, 07 Aug 2008 01:28:06 -0400
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 1KQy2f-0004ir-JA
	for libtool-commit@gnu.org; Thu, 07 Aug 2008 05:28:05 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KQy2e-0004iN-6D
	for libtool-commit@gnu.org; Thu, 07 Aug 2008 05:28: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: 355091804cac610f16d961d7702cc93e91d33267
X-Git-Newrev: 7a0ab75b49ab7906ec3a45f1aa823953dc7e1de4
Message-Id: <E1KQy2e-0004iN-6D@cvs.savannah.gnu.org>
Date: Thu, 07 Aug 2008 05:28:04 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-28-g7a0ab75
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Aug 2008 05:28: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, master has been updated
       via  7a0ab75b49ab7906ec3a45f1aa823953dc7e1de4 (commit)
      from  355091804cac610f16d961d7702cc93e91d33267 (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 7a0ab75b49ab7906ec3a45f1aa823953dc7e1de4
Author: DJ Delorie <dj@redhat.com>
Date:   Thu Aug 7 07:26:53 2008 +0200

    Fix typo in tpf library_names_spec setting.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [tpf]
    <library_names_spec>: Fix typo in variable name.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 0014fc9..32418c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-07  DJ Delorie  <dj@redhat.com>
+
+	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [tpf]
+	<library_names_spec>: Fix typo in variable name.
+
 2008-08-06  Steve Ellcey  <sje@cup.hp.com>
 
 	Use -fPIC with GCC on HP-UX/ia64.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 7f59698..b9d0fc9 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2660,7 +2660,7 @@ tpf*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
-  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
   hardcode_into_libs=yes


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sun Aug 10 05:05:06 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KS6rK-0000Lz-16
	for mharc-libtool-commit@gnu.org; Sun, 10 Aug 2008 05:05:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KRwOj-0003iQ-My
	for libtool-commit@gnu.org; Sat, 09 Aug 2008 17:54:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KRwOi-0003hk-UV
	for libtool-commit@gnu.org; Sat, 09 Aug 2008 17:54:53 -0400
Received: from [199.232.76.173] (port=45569 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KRwOi-0003hX-O4
	for libtool-commit@gnu.org; Sat, 09 Aug 2008 17:54:52 -0400
Received: from savannah.gnu.org ([199.232.41.3]:51154 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 1KRwOi-0008UM-EF
	for libtool-commit@gnu.org; Sat, 09 Aug 2008 17:54:52 -0400
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 1KRwOh-0005Fc-En
	for libtool-commit@gnu.org; Sat, 09 Aug 2008 21:54:51 +0000
Received: from pekberg by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KRwOg-0005Ea-UM
	for libtool-commit@gnu.org; Sat, 09 Aug 2008 21:54:51 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: 02412b80fcc1a1e4ec74bb450e72a41e8b56cddd
X-Git-Newrev: a91f6a6be907cdd81f32fdc74c2d9987bcc67e74
Message-Id: <E1KRwOg-0005Ea-UM@cvs.savannah.gnu.org>
Date: Sat, 09 Aug 2008 21:54:51 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
X-Mailman-Approved-At: Sun, 10 Aug 2008 05:05:04 -0400
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-34-ga91f6a6
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, 09 Aug 2008 21:54: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, pr-msvc-support has been updated
       via  a91f6a6be907cdd81f32fdc74c2d9987bcc67e74 (commit)
      from  02412b80fcc1a1e4ec74bb450e72a41e8b56cddd (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 a91f6a6be907cdd81f32fdc74c2d9987bcc67e74
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Sat Aug 9 22:48:50 2008 +0200

    * tests/export.at [MSVC]: dllimport all imported variables.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog       |    4 ++++
 tests/export.at |   30 +++++++++++++++++++++++-------
 2 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d12667b..d7192ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-09  Peter Rosin  <peda@lysator.liu.se>
+
+	* tests/export.at [MSVC]: dllimport all imported variables.
+
 2008-08-02  Peter Rosin  <peda@lysator.liu.se>
 
 	Add MSVC support.
diff --git a/tests/export.at b/tests/export.at
index 73fb45f..4a6803e 100644
--- a/tests/export.at
+++ b/tests/export.at
@@ -93,32 +93,48 @@ v15
 
 AT_DATA(main.c,
 [[
+/* w32 fun.  With GCC, you can have auto-import, which will work for
+ * functions and non-const variables.  With MSVC, you have to explicitly
+ * import all variables.  Depending on the amount of portability, you
+ * need these annotations: LIBA_SCOPE for GCC, and also LIBA_SCOPE_VAR
+ * for MSVC.  Of course you can merge both to one, this test only avoids
+ * that in order to expose the auto-import feature on Cygwin.
+ *
+ * For users, it's best to realize that they should not provide any
+ * non-function API at all.
+ */
 #if defined(LIBA_DLL_IMPORT)
 #  if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__)
 #    define LIBA_SCOPE extern __declspec(dllimport)
+#    if defined(_MSC_VER)
+#      define LIBA_SCOPE_VAR LIBA_SCOPE
+#    endif
 #  endif
 #endif
 #if !defined(LIBA_SCOPE)
 #  define LIBA_SCOPE extern
 #endif
+#if !defined(LIBA_SCOPE_VAR)
+#  define LIBA_SCOPE_VAR extern
+#endif
 #ifdef __cplusplus
 extern "C" {
 #endif
-extern int v1;
-extern int v3, v4;
+LIBA_SCOPE_VAR int v1;
+LIBA_SCOPE_VAR int v3, v4;
 LIBA_SCOPE const int v5, v6;
-extern const char* v7;
-extern const char v8[];
+LIBA_SCOPE_VAR const char* v7;
+LIBA_SCOPE_VAR const char v8[];
 extern int v9(void);
-extern int (*v10) (void);
-extern int (*v11) (void);
+LIBA_SCOPE_VAR int (*v10) (void);
+LIBA_SCOPE_VAR int (*v11) (void);
 LIBA_SCOPE int (*const v12) (void);
 #ifdef __cplusplus
 }
 #endif
 
 typedef struct { int arr[1000]; } large;
-extern large v13, v14, v15;
+LIBA_SCOPE_VAR large v13, v14, v15;
 
 int main (void)
 {


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Aug 11 16:16:21 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KSdoS-0003iY-OT
	for mharc-libtool-commit@gnu.org; Mon, 11 Aug 2008 16:16:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KSdoQ-0003f5-HJ
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:16:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KSdoP-0003dE-Fq
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:16:17 -0400
Received: from [199.232.76.173] (port=52788 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KSdoP-0003cg-7w
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:16:17 -0400
Received: from savannah.gnu.org ([199.232.41.3]:44937 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 1KSdoO-0006p0-Gd
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:16:16 -0400
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 1KSdoM-0000gQ-Kd
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 20:16:14 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KSdoK-0000fx-32
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 20:16:14 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7a0ab75b49ab7906ec3a45f1aa823953dc7e1de4
X-Git-Newrev: bda06a53b08a73c994b0aa7a4dc545169bb5dcf1
Message-Id: <E1KSdoK-0000fx-32@cvs.savannah.gnu.org>
Date: Mon, 11 Aug 2008 20:16:13 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-29-gbda06a5
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, 11 Aug 2008 20: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  bda06a53b08a73c994b0aa7a4dc545169bb5dcf1 (commit)
      from  7a0ab75b49ab7906ec3a45f1aa823953dc7e1de4 (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 bda06a53b08a73c994b0aa7a4dc545169bb5dcf1
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 11 22:13:32 2008 +0200

    Fix configure-iface.at for 'make -j'.
    
    * tests/configure-iface.at (convenience libltdl): Ignore warning
    from parallel make.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 32418c1..706990e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* tests/configure-iface.at (convenience libltdl): Ignore warning
+	from parallel make.
+
 2008-08-07  DJ Delorie  <dj@redhat.com>
 
 	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [tpf]
diff --git a/tests/configure-iface.at b/tests/configure-iface.at
index 9a311dc..5e33eca 100644
--- a/tests/configure-iface.at
+++ b/tests/configure-iface.at
@@ -298,7 +298,7 @@ print-ltdl:
 ]])
 
 LT_AT_BOOTSTRAP([--ltdl], [-I libltdl/m4], [ignore], [ignore], [], [], [ignore])
-AT_CHECK([$MAKE print-ltdl], [], [stdout])
+AT_CHECK([$MAKE print-ltdl], [], [stdout], [ignore])
 AT_CHECK([grep libltdl/libltdlc.la stdout], [], [ignore])
 
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Aug 11 16:39:58 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KSeBK-00072M-KS
	for mharc-libtool-commit@gnu.org; Mon, 11 Aug 2008 16:39:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KSeBJ-0006zV-6U
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:39:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KSeBH-0006vP-Cr
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:39:56 -0400
Received: from [199.232.76.173] (port=54004 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KSeBH-0006ur-56
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:39:55 -0400
Received: from savannah.gnu.org ([199.232.41.3]:52317 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 1KSeBH-0002Y5-2j
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 16:39:55 -0400
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 1KSeBF-0004Pa-Ra
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 20:39:53 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KSeBE-0004P7-Hz
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 20:39:53 +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: bda06a53b08a73c994b0aa7a4dc545169bb5dcf1
X-Git-Newrev: 4eca607f697f0c264476436913b9720d3d069e87
Message-Id: <E1KSeBE-0004P7-Hz@cvs.savannah.gnu.org>
Date: Mon, 11 Aug 2008 20:39:53 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-30-g4eca607
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, 11 Aug 2008 20:39: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  4eca607f697f0c264476436913b9720d3d069e87 (commit)
      from  bda06a53b08a73c994b0aa7a4dc545169bb5dcf1 (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 4eca607f697f0c264476436913b9720d3d069e87
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Aug 11 22:36:42 2008 +0200

    Remove use of exit in configure test sources.
    
    * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main,
    to avoid using undeclared exit.
    Report against OpenMPI from Coverity via Jeff Squyres.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 706990e..0330483 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-08-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Remove use of exit in configure test sources.
+	* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main,
+	to avoid using undeclared exit.
+	Report against OpenMPI from Coverity via Jeff Squyres.
+
 	* tests/configure-iface.at (convenience libltdl): Ignore warning
 	from parallel make.
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index b9d0fc9..79f58f8 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1684,10 +1684,6 @@ else
 #  endif
 #endif
 
-#ifdef __cplusplus
-extern "C" void exit (int);
-#endif
-
 void fnord() { int i=42;}
 int main ()
 {
@@ -1703,7 +1699,7 @@ int main ()
   else
     puts (dlerror ());
 
-    exit (status);
+  return status;
 }]
 _LT_EOF
   if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Aug 11 23:24:04 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KSkUO-0000XW-4G
	for mharc-libtool-commit@gnu.org; Mon, 11 Aug 2008 23:24:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KSkUM-0000UT-2r
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 23:24:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KSkUK-0000Sq-UR
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 23:24:01 -0400
Received: from [199.232.76.173] (port=41421 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KSkUK-0000Sf-PD
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 23:24:00 -0400
Received: from savannah.gnu.org ([199.232.41.3]:51247 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 1KSkUK-00049B-PL
	for libtool-commit@gnu.org; Mon, 11 Aug 2008 23:24:00 -0400
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 1KSkUJ-0003FV-VU
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 03:24:00 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KSkUI-0003Ei-Mw
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 03:23:59 +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: 4eca607f697f0c264476436913b9720d3d069e87
X-Git-Newrev: 1f6f1a4737647738cf2285e1f49dc8d1d40274ef
Message-Id: <E1KSkUI-0003Ei-Mw@cvs.savannah.gnu.org>
Date: Tue, 12 Aug 2008 03:23:59 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-31-g1f6f1a4
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, 12 Aug 2008 03:24:02 -0000

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

The branch, master has been updated
       via  1f6f1a4737647738cf2285e1f49dc8d1d40274ef (commit)
      from  4eca607f697f0c264476436913b9720d3d069e87 (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 1f6f1a4737647738cf2285e1f49dc8d1d40274ef
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Aug 12 05:22:52 2008 +0200

    * HACKING: Update for git, fix some minor nits.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 0330483..b0cc15d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* HACKING: Update for git, fix some minor nits.
+
 2008-08-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Remove use of exit in configure test sources.
diff --git a/HACKING b/HACKING
index 778eab1..266e380 100644
--- a/HACKING
+++ b/HACKING
@@ -52,14 +52,15 @@ and is not part of a release distribution.
 =============
 
 * When writing tests, make sure the link invocation (first argument to
-  AT_CHECK) is on a single line so that 'testsuite -x' displays the
-  whole thing.
+  AT_CHECK) is on a single line so that `testsuite -x' displays the
+  whole thing.  You can use m4_do or `[... ]dnl' to wrap long lines.
 
 * Use
+    make -k check
+  liberally, on as many platforms as you can.  Use as many compilers and
+  linkers you can.  To run old and new testsuites separately, use
     make check TESTSUITEFLAGS=-V
     make check-local
-  liberally, on as many platforms as you can.  Use as many compilers and
-  linkers you can.
 
 * The new Autotest testsuite uses keywords to denote test features:
     autoconf		needs Autoconf
@@ -130,7 +131,8 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
 * Preferably the next part should be a description of the overall
   purpose of the change, separated from the header by a blank line,
   indented by 1 tab, and filled at column 72.  The last character of the
-  description should be a colon, :.
+  description should be a period.  Ideally, this description fits on one
+  line, or begins with a one-line summary.
 
 * Changes to each file come next.  Each new file starts on a new line,
   indented by 1 tab and starting with an asterisk and a space.  Multiple
@@ -176,7 +178,7 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
             Peter O'Gorman  <peter@pogma.com>
 
 	This is the overall description of the purpose of this change
-	and any useful background for a model ChangeLog entry:
+	and any useful background for a model ChangeLog entry.
 
 	* HACKING: Updated copyright.  This isn't attached to a
 	particular section of the file, so it comes first.
@@ -191,10 +193,31 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
 	* NEWS: Updated.
 	Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
 
+
+6. Using git
+============
+
+* Preferably, let the git commit message mirror the ChangeLog entry,
+  without the leading TABs.  Use --author for the (first, main) author
+  of patches from others, sign patches you have reviewed.  If the
+  ChangeLog entry is longer than a line, use a one line summary, then an
+  empty line, then the rest of the log entry; this makes for nice output
+  of `git log'.
+
 * You may find it useful to install the git-merge-changelog merge driver:
-  http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/git-merge-changelog.c
+  <http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/git-merge-changelog.c>
+
+* Do not ever rewind the public master branch nor any public release
+  branch on savannah, neither any release tags once they have been
+  published.  Other branches and tags may have different rules.
+
+* Avoid merge commits on the master branch of the public git repository.
+  For unpublished changes in your development tree, it's easiest to
+  rebase against the current master before applying them, this preserves
+  a linear history.
+
 
-6. Editing `.am' Files
+7. Editing `.am' Files
 ======================
 
 * Always use $(...) and not ${...}
@@ -220,7 +243,7 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
   and will be fixed in the `libtoolize --ltdl --(non)recursive' stage.
 
 
-7. Editing `.m4sh' Files
+8. Editing `.m4sh' Files
 ========================
 
 * Use shell functions, but be careful not to assume local scope for
@@ -263,7 +286,7 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
   ]])
 
 
-8. Editing `.m4' Files
+9. Editing `.m4' Files
 ======================
 
 * Be careful with both `echo' and `$ECHO'.  As the latter may be one of
@@ -288,8 +311,8 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
   be updated in all newer versions.
 
 
-9. Abstraction layers in libltdl
-================================
+10. Abstraction layers in libltdl
+=================================
 
 * The libltdl API uses a layered approach to differentiate internal and
   external interfaces, among other things.  To keep the abstraction
@@ -389,7 +412,7 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
   loading: preopen.c, dlopen.c etc.
 
 
-10. Licensing Rules
+11. Licensing Rules
 ===================
 
 GNU Libtool uses 3 different licenses for various of the files distributed
@@ -398,7 +421,7 @@ the correct license text in each new file added.  Here are the texts
 along with some notes on when each is appropriate.  Appropriate commenting
 (shell, C etc) and decoration (m4sh etc) assumed throughout.
 
-10.1. Notice preservation
+11.1. Notice preservation
 
 Autoconf macros and files used to generate them need this license:
 
@@ -411,7 +434,7 @@ modifications, as long as this notice is preserved.
 
 
 
-10.2. GPL
+11.2. GPL
 
 Everything else in the distribution has the following license text
 unless there is good reason to use one of the other license texts
@@ -440,7 +463,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 
 
-10.3. GPL with Libtool exception clause
+11.3. GPL with Libtool exception clause
 
 At the moment only `libltdl/README' needs the exception clause to
 allow projects that distribute a copy of the libltdl sources to also
@@ -475,7 +498,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 
 
-10.4. GPL with Cvs-utils exception clause
+11.4. GPL with Cvs-utils exception clause
 
 GNU Libtool imports some m4sh infrastructure from the GNU Cvs-utils
 project, namely `getopt.m4sh' and `general.m4sh'.  Those files use
@@ -510,7 +533,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 
 
-10.5. GPL with self extracting version
+11.5. GPL with self extracting version
 
 Some of the sources built atop Cvs-utils' m4sh framework use
 getopt.m4sh:func_version() to extract their --version output from
@@ -544,7 +567,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 
 
-10.6. GPL with self extracting version and Libtool exception clause
+11.6. GPL with self extracting version and Libtool exception clause
 
 Although the libtool script is generated from `ltmain.m4sh' according
 to the rules in the preceding subsection, it also needs the Libtool
@@ -583,7 +606,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 
 
-10.7. LGPL with Libtool exception clause
+11.7. LGPL with Libtool exception clause
 
 Finally, not only is Libltdl is LGPLed, but it is routinely
 redistributed inside projects that use it, so its sources need to use
@@ -618,7 +641,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 
-11. Release Procedure
+12. Release Procedure
 =====================
 
 * If you are a libtool maintainer, but have not yet registered your
@@ -650,8 +673,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
 * Make sure your locale is sane, e.g. by exporting LC_ALL=C.
 
 * Double check that serial number updates in public m4 files weren't forgotten
-  since last release (they should be updated in CVS along with commits that
-  require it so that users can work with CVS snapshots).
+  since last release (they should be updated in git along with commits that
+  require it so that users can work with git snapshots).
 
 * Update the LTDL_VERSION_INFO in libltdl/Makefile.inc for changes since
   the last release.
@@ -721,7 +744,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 
 
-12. Alpha release note template
+13. Alpha release note template
 ===============================
 
 To: libtool@gnu.org, autotools-announce@gnu.org
@@ -774,11 +797,12 @@ 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 from
-anonymous cvs by using the following command:
+Alternatively, you can fetch the unbootstrapped source code with
+git by using the following command:
 
-  $ cvs -z3 -d :pserver:anonymous@cvs.sv.gnu.org:/sources/libtool \
-    co -r @CVS_RELEASE_TAG@ libtool
+  $ 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
@@ -794,7 +818,7 @@ The README file explains how to capture the verbose test output.
 
 
 
-13. Full release note template
+14. Full release note template
 ==============================
 
 To: info-gnu@gnu.org
@@ -859,12 +883,12 @@ 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 from
-anonymous cvs by using the following command (just hit return when
-you are prompted for the password):
+Alternatively, you can fetch the unbootstrapped source code with
+git by using the following command:
 
-  $ cvs -z3 -d :pserver:anonymous@cvs.sv.gnu.org:/sources/libtool \
-    co -r @CVS_RELEASE_TAG@ libtool
+  $ 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
@@ -876,7 +900,8 @@ The README file explains how to capture the verbose test output.
 
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+  Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
+  Inc.
   Written by Gary V. Vaughan, 2004
 
   This file is part of GNU Libtool.  Report bugs to bug-libtool@gnu.org.


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Aug 12 03:06:27 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KSnxa-00044h-U0
	for mharc-libtool-commit@gnu.org; Tue, 12 Aug 2008 03:06:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KSnxZ-000421-75
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 03:06:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KSnxX-0003zI-LY
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 03:06:24 -0400
Received: from [199.232.76.173] (port=58590 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KSnxX-0003z3-Gj
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 03:06:23 -0400
Received: from savannah.gnu.org ([199.232.41.3]:45303 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 1KSnxX-0007GP-6v
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 03:06:23 -0400
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 1KSnxW-0000My-DM
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 07:06:22 +0000
Received: from pekberg by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KSnxU-0000MS-KF
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 07:06:22 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: a91f6a6be907cdd81f32fdc74c2d9987bcc67e74
X-Git-Newrev: 75220caf33f6635e80cc2b540a75d58bf0e00d46
Message-Id: <E1KSnxU-0000MS-KF@cvs.savannah.gnu.org>
Date: Tue, 12 Aug 2008 07:06:21 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-36-g75220ca
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, 12 Aug 2008 07:06:25 -0000

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

The branch, pr-msvc-support has been updated
       via  75220caf33f6635e80cc2b540a75d58bf0e00d46 (commit)
       via  695a0f6a32602dd7ca638c039338fda231f572e9 (commit)
      from  a91f6a6be907cdd81f32fdc74c2d9987bcc67e74 (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 75220caf33f6635e80cc2b540a75d58bf0e00d46
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Aug 12 09:02:32 2008 +0200

    For MSVC, embed the manifest as a resource in the executable.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <postlink_cmds>:
    New tag variable.
    [ cygwin, mingw, cegcc ] <cl*>: Embed the manifest file as a
    resource.
    (_LT_LANG_CXX_CONFIG): Likewise.
    * libltdl/config/ltmain.m4sh (func_mode_link): After linking
    a program, replace @OUTPUT@ in $postlink_cmds and then execute
    the commands.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 695a0f6a32602dd7ca638c039338fda231f572e9
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Tue Aug 12 08:50:11 2008 +0200

    Disable nocase handling for cross compiles.
    
    * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Disable nocase
    handling for cross compiles.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   16 ++++++++++++++++
 libltdl/config/ltmain.m4sh |   16 ++++++++++++++++
 libltdl/m4/libtool.m4      |   38 +++++++++++++++++++++++---------------
 3 files changed, 55 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d7192ea..53efbc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2008-08-12  Peter Rosin  <peda@lysator.liu.se>
+
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <postlink_cmds>:
+	New tag variable.
+	[ cygwin, mingw, cegcc ] <cl*>: Embed the manifest file as a
+	resource.
+	(_LT_LANG_CXX_CONFIG): Likewise.
+	* libltdl/config/ltmain.m4sh (func_mode_link): After linking
+	a program, replace @OUTPUT@ in $postlink_cmds and then execute
+	the commands.
+
+2008-08-12  Peter Rosin  <peda@lysator.liu.se>
+
+	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Disable nocase
+	handling for cross compiles.
+
 2008-08-09  Peter Rosin  <peda@lysator.liu.se>
 
 	* tests/export.at [MSVC]: dllimport all imported variables.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 35ae02f..5765b0f 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7340,6 +7340,11 @@ EOF
 	exit_status=0
 	func_show_eval "$link_command" 'exit_status=$?'
 
+	if test -n "$postlink_cmds"; then
+	  postlink_cmds=`$ECHO "X$postlink_cmds" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	  func_execute_cmds "$postlink_cmds" 'exit $?'
+	fi
+
 	# Delete the generated files.
 	if test -f "$output_objdir/${outputname}S.${objext}"; then
 	  func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
@@ -7385,6 +7390,12 @@ EOF
 	$opt_dry_run || $RM $output
 	# Link the executable and exit
 	func_show_eval "$link_command" 'exit $?'
+
+	if test -n "$postlink_cmds"; then
+	  postlink_cmds=`$ECHO "X$postlink_cmds" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	  func_execute_cmds "$postlink_cmds" 'exit $?'
+	fi
+
 	exit $EXIT_SUCCESS
       fi
 
@@ -7418,6 +7429,11 @@ EOF
 
       func_show_eval "$link_command" 'exit $?'
 
+      if test -n "$postlink_cmds"; then
+	postlink_cmds=`$ECHO "X$postlink_cmds" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+	func_execute_cmds "$postlink_cmds" 'exit $?'
+      fi
+
       # Now create the wrapper script.
       func_verbose "creating $output"
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 37c0f71..ad67718 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3237,21 +3237,19 @@ tpf*)
 esac
 ])
 
-case $host_os in
-cygwin* | mingw* | pw32*)
-  if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
-    file_magic_glob=
-    want_nocaseglob=yes
-  else
-    file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
-    want_nocaseglob=no
-  fi
-  ;;
-*)
-  file_magic_glob=
-  want_nocaseglob=no
-  ;;
-esac
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+  case $host_os in
+  cygwin* | mingw* | pw32*)
+    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+      want_nocaseglob=yes
+    else
+      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+    fi
+    ;;
+  esac
+fi
 
 file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method
@@ -4812,6 +4810,10 @@ _LT_EOF
 	_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
 	_LT_TAGVAR(compile_tag, $1)=-TC
 	_LT_TAGVAR(dashl_xform, $1)='s/\(.*\)/\1.lib/'
+	_LT_TAGVAR(postlink_cmds, $1)='if test -e "@OUTPUT@.exe.manifest"; then
+	    mt -manifest "@OUTPUT@.exe.manifest" -outputresource:"@OUTPUT@.exe";
+	    $RM "@OUTPUT@.exe.manifest";
+	  fi'
 	;;
       *)
 	# Assume MSVC wrapper
@@ -5356,6 +5358,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
     [Symbols that must always be exported])
 _LT_TAGDECL([], [prelink_cmds], [2],
     [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+    [Commands necessary for finishing linking programs])
 _LT_TAGDECL([], [file_list_spec], [1],
     [Specify filename containing input files])
 _LT_TAGDECL([], [dashL_envvar], [1],
@@ -5803,6 +5807,10 @@ if test "$_lt_caught_CXX_error" != yes; then
 	  _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
 	  _LT_TAGVAR(compile_tag, $1)=-TP
 	  _LT_TAGVAR(dashl_xform, $1)='s/\(.*\)/\1.lib/'
+	  _LT_TAGVAR(postlink_cmds, $1)='if test -e "@OUTPUT@.exe.manifest"; then
+	      mt -manifest "@OUTPUT@.exe.manifest" -outputresource:"@OUTPUT@.exe";
+	      $RM "@OUTPUT@.exe.manifest";
+	    fi'
 	  ;;
 	*)
 	  # g++


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Aug 12 16:51:39 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KT0qB-0005PM-0q
	for mharc-libtool-commit@gnu.org; Tue, 12 Aug 2008 16:51:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KT0q8-0005M2-Kd
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 16:51:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KT0q7-0005Jq-4b
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 16:51:35 -0400
Received: from [199.232.76.173] (port=57485 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KT0q6-0005JV-Rb
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 16:51:34 -0400
Received: from savannah.gnu.org ([199.232.41.3]:39961 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 1KT0q6-0002Aw-5D
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 16:51:34 -0400
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 1KT0q3-0003t4-43
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 20:51:31 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KT0q2-0003sW-08
	for libtool-commit@gnu.org; Tue, 12 Aug 2008 20:51: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: 1f6f1a4737647738cf2285e1f49dc8d1d40274ef
X-Git-Newrev: c766e70ca307789f4d95b29c84f61e0c8777d141
Message-Id: <E1KT0q2-0003sW-08@cvs.savannah.gnu.org>
Date: Tue, 12 Aug 2008 20:51:30 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-32-gc766e70
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, 12 Aug 2008 20:51:37 -0000

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

The branch, master has been updated
       via  c766e70ca307789f4d95b29c84f61e0c8777d141 (commit)
      from  1f6f1a4737647738cf2285e1f49dc8d1d40274ef (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 c766e70ca307789f4d95b29c84f61e0c8777d141
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue Aug 12 22:20:43 2008 +0200

    Parallel make testsuite fixes.
    
    * tests/configure-iface.at (installable libltdl)
    (--with-ltdl-include/lib, --with-included-ltdl): Add dlopened
    libmodule.la to main_DEPENDENCIES.
    * tests/old-m4-iface.at (AC_WITH_LTDL): Likewise, let ltdldemo
    depend upon module.la and libltdl/libltdlc.la.
    * tests/testsuite.at (LT_AT_MAKE): Invoke each target in turn,
    default to 'all'.
    * tests/early-libtool.at (config.lt): Define 'all' target.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                |   10 ++++++++++
 tests/configure-iface.at |    6 +++---
 tests/early-libtool.at   |    2 ++
 tests/old-m4-iface.at    |    2 +-
 tests/testsuite.at       |    5 ++++-
 5 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b0cc15d..2ee10ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2008-08-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Parallel make testsuite fixes.
+	* tests/configure-iface.at (installable libltdl)
+	(--with-ltdl-include/lib, --with-included-ltdl): Add dlopened
+	libmodule.la to main_DEPENDENCIES.
+	* tests/old-m4-iface.at (AC_WITH_LTDL): Likewise, let ltdldemo
+	depend upon module.la and libltdl/libltdlc.la.
+	* tests/testsuite.at (LT_AT_MAKE): Invoke each target in turn,
+	default to 'all'.
+	* tests/early-libtool.at (config.lt): Define 'all' target.
+
 	* HACKING: Update for git, fix some minor nits.
 
 2008-08-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
diff --git a/tests/configure-iface.at b/tests/configure-iface.at
index 5e33eca..38e7824 100644
--- a/tests/configure-iface.at
+++ b/tests/configure-iface.at
@@ -132,7 +132,7 @@ libmodule_la_LDFLAGS	= -module
 bin_PROGRAMS		= main
 main_LDFLAGS		= -dlopen libmodule.la
 main_LDADD		= $(LIBLTDL)
-main_DEPENDENCIES	= $(LTDLDEPS)
+main_DEPENDENCIES	= $(LTDLDEPS) libmodule.la
 ]])
 
 # Install everything!
@@ -201,7 +201,7 @@ libmodule_la_LDFLAGS	= -module
 bin_PROGRAMS		= main
 main_LDFLAGS		= -dlopen libmodule.la
 main_LDADD		= $(LIBLTDL)
-main_DEPENDENCIES	= $(LTDLDEPS)
+main_DEPENDENCIES	= $(LTDLDEPS) libmodule.la
 ]])
 
 # We don't use 'libtoolize --ltdl', so that we get an error if the test
@@ -255,7 +255,7 @@ libmodule_la_LDFLAGS	= -module
 bin_PROGRAMS		= main
 main_LDFLAGS		= -dlopen libmodule.la
 main_LDADD		= $(LIBLTDL)
-main_DEPENDENCIES	= $(LTDLDEPS)
+main_DEPENDENCIES	= $(LTDLDEPS) libmodule.la
 ]])
 
 LT_AT_BOOTSTRAP([--ltdl], [-I libltdl/m4], [], [--add-missing], [],
diff --git a/tests/early-libtool.at b/tests/early-libtool.at
index 74d3a84..75e26a2 100644
--- a/tests/early-libtool.at
+++ b/tests/early-libtool.at
@@ -168,6 +168,8 @@ LDFLAGS = @LDFLAGS@
 COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(DEFAULT_INCLUDES)
 LINK = $(LIBTOOL) --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) -o $@
 
+all: hell$(EXEEXT)
+
 hell$(EXEEXT): main.$(OBJEXT) libhello.la
 	$(LINK) main.$(OBJEXT) libhello.la
 
diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at
index f36f97f..3365a2a 100644
--- a/tests/old-m4-iface.at
+++ b/tests/old-m4-iface.at
@@ -137,7 +137,7 @@ libltdl/libltdlc.la:
 module.la: module.lo
 	$(LTLINK) module.lo -module -avoid-version -rpath /dev/null
 
-ltdldemo@EXEEXT@: main.@OBJEXT@
+ltdldemo@EXEEXT@: main.@OBJEXT@ module.la libltdl/libltdlc.la
 	$(LTLINK) main.@OBJEXT@ -dlopen module.la @LIBLTDL@
 
 .SUFFIXES:
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 4dfc4ab..7a3b01d 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -152,7 +152,10 @@ m4_define([LT_AT_CONFIGURE],
 # --------------------------
 m4_define([LT_AT_MAKE],
 [( $unset LIBTOOL LIBTOOLIZE
-   AT_CHECK([$MAKE $1 $2], [0], [ignore], [ignore]) )
+  for target in m4_default([$1], [all])
+  do
+    AT_CHECK([$MAKE $target $2], [0], [ignore], [ignore])
+  done )
 ])
 
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Wed Aug 13 01:15:21 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KT8hc-00072l-Sp
	for mharc-libtool-commit@gnu.org; Wed, 13 Aug 2008 01:15:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KT8ha-00072c-SF
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:15:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KT8hZ-00072Q-7P
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:15:17 -0400
Received: from [199.232.76.173] (port=57239 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KT8hZ-00072N-0F
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:15:17 -0400
Received: from savannah.gnu.org ([199.232.41.3]:35734 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 1KT8hY-0002cj-OZ
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:15:16 -0400
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 1KT8hX-0008QV-R1
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 05:15:15 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KT8hU-0008Q0-La
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 05:15:15 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: 75220caf33f6635e80cc2b540a75d58bf0e00d46
X-Git-Newrev: 99342aec15567f8babdb888bb8bf22b72f561f1c
Message-Id: <E1KT8hU-0008Q0-La@cvs.savannah.gnu.org>
Date: Wed, 13 Aug 2008 05:15:13 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-37-g99342ae
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Aug 2008 05:15: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, pr-msvc-support has been updated
       via  99342aec15567f8babdb888bb8bf22b72f561f1c (commit)
      from  75220caf33f6635e80cc2b540a75d58bf0e00d46 (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 99342aec15567f8babdb888bb8bf22b72f561f1c
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Aug 13 07:13:06 2008 +0200

    Support for response files with $NM.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <nm_file_list_spec>:
    New tag variable.
    [ cygwin, mingw, cegcc ] <cl*>: Set to '@'.
    (_LT_LANG_CXX_CONFIG): Likewise.
    * libltdl/config/ltmain.m4sh (func_mode_link): When
    nm_file_list_spec is nonempty, use it to avoid skipped_export.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
    Signed-off-by: Peter Rosin  <peda@lysator.liu.se>

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

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

diff --git a/ChangeLog b/ChangeLog
index 53efbc3..583aa2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-08-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+	    Peter Rosin  <peda@lysator.liu.se>
+
+	Support for response files with $NM.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <nm_file_list_spec>:
+	New tag variable.
+	[ cygwin, mingw, cegcc ] <cl*>: Set to '@'.
+	(_LT_LANG_CXX_CONFIG): Likewise.
+	* libltdl/config/ltmain.m4sh (func_mode_link): When
+	nm_file_list_spec is nonempty, use it to avoid skipped_export.
+
 2008-08-12  Peter Rosin  <peda@lysator.liu.se>
 
 	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <postlink_cmds>:
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 5765b0f..b78d7ac 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -6613,14 +6613,30 @@ EOF
 	    $opt_dry_run || $RM $export_symbols
 	    cmds=$export_symbols_cmds
 	    save_ifs="$IFS"; IFS='~'
-	    for cmd in $cmds; do
+	    for cmd1 in $cmds; do
 	      IFS="$save_ifs"
-	      eval cmd=\"$cmd\"
+	      eval cmd=\"$cmd1\"
 	      func_len " $cmd"
 	      len=$func_len_result
 	      if 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
+		output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
+		save_libobjs=$libobjs
+		save_output=$output
+		output=${output_objdir}/${output_la}.nm
+		libobjs=$nm_file_list_spec$output
+		delfiles="$delfiles $output"
+		func_verbose "creating $NM input file list: $output"
+		for obj in $save_libobjs; do
+		  $ECHO "$obj"
+		done > "$output"
+		eval cmd=\"$cmd1\"
+		func_show_eval "$cmd" 'exit $?'
+		output=$save_output
+		libobjs=$save_libobjs
+		skipped_export=false
 	      else
 		# The command line is too long to execute in one step.
 		func_verbose "using reloadable object file for export list..."
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index ad67718..0b88f76 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3344,6 +3344,13 @@ AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
     lt_cv_nm_interface="MS dumpbin"
   fi
   rm -f conftest*])
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  _LT_TAGVAR(nm_file_list_spec, $1)='@'
+fi
+
+_LT_DECL([], [nm_file_list_spec], [1],
+    [Specify filename containing input files for $NM])
 ])# LT_PATH_NM
 
 # Old names:


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Wed Aug 13 01:44:53 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KT9AC-0001ZE-UF
	for mharc-libtool-commit@gnu.org; Wed, 13 Aug 2008 01:44:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KT9AA-0001X2-QT
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:44:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KT9AA-0001Vz-25
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:44:50 -0400
Received: from [199.232.76.173] (port=55776 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KT9A9-0001Vl-Kh
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:44:49 -0400
Received: from savannah.gnu.org ([199.232.41.3]:49146 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 1KT9A9-00011Z-8I
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 01:44:49 -0400
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 1KT9A8-000251-DN
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 05:44:48 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KT9A7-00024Q-56
	for libtool-commit@gnu.org; Wed, 13 Aug 2008 05:44:48 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: 99342aec15567f8babdb888bb8bf22b72f561f1c
X-Git-Newrev: fe8b365cca167d63c6b6acecf19ef0bbd1f87dd6
Message-Id: <E1KT9A7-00024Q-56@cvs.savannah.gnu.org>
Date: Wed, 13 Aug 2008 05:44:47 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-38-gfe8b365
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Aug 2008 05:44: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, pr-msvc-support has been updated
       via  fe8b365cca167d63c6b6acecf19ef0bbd1f87dd6 (commit)
      from  99342aec15567f8babdb888bb8bf22b72f561f1c (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 fe8b365cca167d63c6b6acecf19ef0bbd1f87dd6
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Aug 13 07:13:06 2008 +0200

    Fix _LT_TAGVAR errors, hide error output.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_AR, LT_PATH_NM): Fix bogus
    uses of _LT_TAGVAR.  Hide `ar' error message escape from command
    line.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 583aa2d..970a124 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
 2008-08-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* libltdl/m4/libtool.m4 (_LT_PROG_AR, LT_PATH_NM): Fix bogus
+	uses of _LT_TAGVAR.  Hide `ar' error message escape from command
+	line.
+
+2008-08-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 	    Peter Rosin  <peda@lysator.liu.se>
 
 	Support for response files with $NM.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 0b88f76..7ceec66 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1367,7 +1367,7 @@ AC_CACHE_CHECK([the archiver ($AR) interface],[lt_cv_ar_interface],
   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval "$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext" &>conftest.err)
+  (eval "$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext" >conftest.err 2>&1)
   ac_status=$?
   cat conftest.err >&AS_MESSAGE_LOG_FD
   test $ac_status = 0 && test -f conftest.lib && lt_cv_ar_interface="lib"
@@ -1379,16 +1379,16 @@ ar)
   : ${AR_TFLAGS=t}
   : ${AR_XFLAGS=x}
   test -z "$AR_SEP" && AR_SEP=' '
-  _LT_TAGVAR(ar_extract_one_by_one, $1)=no
-  _LT_TAGVAR(archiver_list_spec, $1)=
+  ar_extract_one_by_one=no
+  archiver_list_spec=
   ;;
 lib)
   : ${AR_FLAGS="-NOLOGO -OUT:"}
   : ${AR_TFLAGS="-NOLOGO -LIST "}
   : ${AR_XFLAGS="-NOLOGO -EXTRACT:"}
   test -z "$AR_SEP" && AR_SEP=''
-  _LT_TAGVAR(ar_extract_one_by_one, $1)=yes
-  _LT_TAGVAR(archiver_list_spec, $1)='@'
+  ar_extract_one_by_one=yes
+  archiver_list_spec='@'
   # Don't use ranlib
   : ${RANLIB=:}
   ;;
@@ -3346,7 +3346,7 @@ AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
   rm -f conftest*])
 
 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-  _LT_TAGVAR(nm_file_list_spec, $1)='@'
+  nm_file_list_spec='@'
 fi
 
 _LT_DECL([], [nm_file_list_spec], [1],


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Fri Aug 15 07:43:47 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KTxid-0005c3-6n
	for mharc-libtool-commit@gnu.org; Fri, 15 Aug 2008 07:43:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KTxib-0005bo-OR
	for libtool-commit@gnu.org; Fri, 15 Aug 2008 07:43:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KTxia-0005b4-Sm
	for libtool-commit@gnu.org; Fri, 15 Aug 2008 07:43:45 -0400
Received: from [199.232.76.173] (port=59916 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KTxia-0005ao-Ke
	for libtool-commit@gnu.org; Fri, 15 Aug 2008 07:43:44 -0400
Received: from savannah.gnu.org ([199.232.41.3]:38728 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 1KTxia-0004WR-8J
	for libtool-commit@gnu.org; Fri, 15 Aug 2008 07:43:44 -0400
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 1KTxiZ-0000IA-J8
	for libtool-commit@gnu.org; Fri, 15 Aug 2008 11:43:43 +0000
Received: from pekberg by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KTxiY-0000HI-5p
	for libtool-commit@gnu.org; Fri, 15 Aug 2008 11:43:43 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: fe8b365cca167d63c6b6acecf19ef0bbd1f87dd6
X-Git-Newrev: 44f2e4b6e75c8573ab19d5a8fd14f4f2cf31958d
Message-Id: <E1KTxiY-0000HI-5p@cvs.savannah.gnu.org>
Date: Fri, 15 Aug 2008 11:43:43 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-41-g44f2e4b
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Aug 2008 11:43: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, pr-msvc-support has been updated
       via  44f2e4b6e75c8573ab19d5a8fd14f4f2cf31958d (commit)
       via  9ca15d89442bb61fd3eb08bb213c6471ac06db7f (commit)
       via  db25f668beb6f5412f8dac79bd09977e95d22a3b (commit)
      from  fe8b365cca167d63c6b6acecf19ef0bbd1f87dd6 (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 44f2e4b6e75c8573ab19d5a8fd14f4f2cf31958d
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Aug 15 10:04:25 2008 +0200

    dllimport variables for MSVC in stresstest.at
    
    * tests/stresstest.at [MSVC]: dllimport all imported
    variables.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 9ca15d89442bb61fd3eb08bb213c6471ac06db7f
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Aug 15 08:54:55 2008 +0200

    dllimport when the lib is shared and not linking with -static
    
    * tests/stresstest.at: Link with main.lo when liba is shared
    and linking main with -no-install.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit db25f668beb6f5412f8dac79bd09977e95d22a3b
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Fri Aug 15 08:33:59 2008 +0200

    Always dllimport the variable for MSVC in link-order.at
    
    * tests/link-order.at [MSVC]: Always dllimport exported
    variables.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog           |   15 +++++++++++++++
 tests/link-order.at |   20 ++++++++++++++++++--
 tests/stresstest.at |   49 ++++++++++++++++++++++++++++++++-----------------
 3 files changed, 65 insertions(+), 19 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 970a124..1df978f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2008-08-15  Peter Rosin  <peda@lysator.liu.se>
+
+	* tests/stresstest.at [MSVC]: dllimport all imported
+	variables.
+
+2008-08-15  Peter Rosin  <peda@lysator.liu.se>
+
+	* tests/stresstest.at: Link with main.lo when liba is shared
+	and linking main with -no-install.
+
+2008-08-15  Peter Rosin  <peda@lysator.liu.se>
+
+	* tests/link-order.at [MSVC]: Always dllimport exported
+	variables.
+
 2008-08-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* libltdl/m4/libtool.m4 (_LT_PROG_AR, LT_PATH_NM): Fix bogus
diff --git a/tests/link-order.at b/tests/link-order.at
index ce52cc9..8791df8 100644
--- a/tests/link-order.at
+++ b/tests/link-order.at
@@ -48,13 +48,29 @@ for i in old new; do
   mkdir src
 
   cat >src/a_$i.c <<EOF
-extern int c;
+/* w32 fun, MSVC supports dllimport even if importing is not needed (static
+ * case). gnu has auto import.
+ */
+#ifdef _MSC_VER
+#  define LIBCEE_SCOPE __declspec(dllimport)
+#else
+#  define LIBCEE_SCOPE extern
+#endif
+LIBCEE_SCOPE int c;
 extern int b_$i();
 int a_$i() { return c + b_$i(); }
 EOF
 
   cat >src/b_$i.c <<EOF
-extern int c;
+/* w32 fun, MSVC supports dllimport even if importing is not needed (static
+ * case). gnu has auto import.
+ */
+#ifdef _MSC_VER
+#  define LIBCEE_SCOPE __declspec(dllimport)
+#else
+#  define LIBCEE_SCOPE extern
+#endif
+LIBCEE_SCOPE int c;
 int b_$i() { return 1 + c; }
 EOF
 
diff --git a/tests/stresstest.at b/tests/stresstest.at
index 27e7ee9..3b6658d 100644
--- a/tests/stresstest.at
+++ b/tests/stresstest.at
@@ -93,29 +93,35 @@ AT_DATA(main.c,
 #if defined(LIBA_DLL_IMPORT)
 #  if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__)
 #    define LIBA_SCOPE extern __declspec(dllimport)
+#    if defined(_MSC_VER)
+#      define LIBA_SCOPE_VAR LIBA_SCOPE
+#    endif
 #  endif
 #endif
 #if !defined(LIBA_SCOPE)
 #  define LIBA_SCOPE extern
 #endif
+#if !defined(LIBA_SCOPE_VAR)
+#  define LIBA_SCOPE_VAR extern
+#endif
 #ifdef __cplusplus
 extern "C" {
 #endif
-extern int v1;
-extern int v3, v4;
+LIBA_SCOPE_VAR int v1;
+LIBA_SCOPE_VAR int v3, v4;
 LIBA_SCOPE const int v5, v6;
-extern const char* v7;
-extern const char v8[];
+LIBA_SCOPE_VAR const char* v7;
+LIBA_SCOPE_VAR const char v8[];
 extern int v9(void);
-extern int (*v10) (void);
-extern int (*v11) (void);
+LIBA_SCOPE_VAR int (*v10) (void);
+LIBA_SCOPE_VAR int (*v11) (void);
 LIBA_SCOPE int (*const v12) (void);
 #ifdef __cplusplus
 }
 #endif
 
 typedef struct { int arr[1000]; } large;
-extern large v13, v14, v15;
+LIBA_SCOPE_VAR large v13, v14, v15;
 
 int main(void)
 {
@@ -131,26 +137,32 @@ AT_DATA(dlself.c,
 #if defined(LIBA_DLL_IMPORT)
 #  if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__)
 #    define LIBA_SCOPE extern __declspec(dllimport)
+#    if defined(_MSC_VER)
+#      define LIBA_SCOPE_VAR LIBA_SCOPE
+#    endif
 #  endif
 #endif
 #if !defined(LIBA_SCOPE)
 #  define LIBA_SCOPE extern
 #endif
+#if !defined(LIBA_SCOPE_VAR)
+#  define LIBA_SCOPE_VAR extern
+#endif
 #ifdef __cplusplus
 extern "C" {
 #endif
-extern int v1;
-extern int v3, v4;
+LIBA_SCOPE_VAR int v1;
+LIBA_SCOPE_VAR int v3, v4;
 LIBA_SCOPE const int v5, v6;
-extern const char* v7;
-extern const char v8[];
+LIBA_SCOPE_VAR const char* v7;
+LIBA_SCOPE_VAR const char v8[];
 extern int v9(void);
-extern int (*v10) (void);
-extern int (*v11) (void);
+LIBA_SCOPE_VAR int (*v10) (void);
+LIBA_SCOPE_VAR int (*v11) (void);
 LIBA_SCOPE int (*const v12) (void);
 
 typedef struct { int arr[1000]; } large;
-extern large v13, v14, v15;
+LIBA_SCOPE_VAR large v13, v14, v15;
 
 extern int w1;
 extern int w3, w4;
@@ -252,9 +264,12 @@ do
 	         [0],[ignore],[ignore])
 	for st in '' '-static' '-no-install'
 	do
-          case $st,$l3 in
-          ,-rpath*) mst= ;;
-          *) mst=-static ;;
+	  # if -static is not passed, and the library is shared, then we have
+	  # to use -DLIBA_DLL_IMPORT, thus main.lo (and not main-static.lo).
+	  case $st,$l3 in
+	  -static,*) mst=-static ;;
+	  *,-rpath*) mst= ;;
+	  *) mst=-static ;;
 	  esac
 
 	  LT_AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $st -o "$rel"main "$rel"main$mst.lo "$rel"sub2/liba.la],


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Aug 16 12:16:43 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KUOSJ-0000ne-Ac
	for mharc-libtool-commit@gnu.org; Sat, 16 Aug 2008 12:16:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KUOSG-0000mj-Pq
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:16:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KUOSF-0000mX-Sb
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:16:40 -0400
Received: from [199.232.76.173] (port=43431 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KUOSF-0000mU-Oc
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:16:39 -0400
Received: from savannah.gnu.org ([199.232.41.3]:52346 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 1KUOSE-0007OQ-SQ
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:16:39 -0400
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 1KUOSA-0002CE-Qu
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 16:16:34 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KUOS9-0002Bl-Vk
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 16:16:34 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: c766e70ca307789f4d95b29c84f61e0c8777d141
X-Git-Newrev: 649567ed497902046abecd01a2fa0c5206d51730
Message-Id: <E1KUOS9-0002Bl-Vk@cvs.savannah.gnu.org>
Date: Sat, 16 Aug 2008 16:16:34 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-33-g649567e
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, 16 Aug 2008 16:16: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  649567ed497902046abecd01a2fa0c5206d51730 (commit)
      from  c766e70ca307789f4d95b29c84f61e0c8777d141 (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 649567ed497902046abecd01a2fa0c5206d51730
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 16 17:28:30 2008 +0200

    Avoid test failure due to broken dlpreloading of shared library.
    
    * tests/lt_dladvise.at (lt_dlopenadvise library loading): Drop
    some newlines in AT_CHECK commands, for better 'testsuite -x'
    output.  Only create a static installable libpreload.la, to
    avoid exposing the bug libtool currently has with preloading of
    shared libraries.  Add a note to revisit this later.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 2ee10ae..fa04482 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Avoid test failure due to broken dlpreloading of shared library.
+	* tests/lt_dladvise.at (lt_dlopenadvise library loading): Drop
+	some newlines in AT_CHECK commands, for better 'testsuite -x'
+	output.  Only create a static installable libpreload.la, to
+	avoid exposing the bug libtool currently has with preloading of
+	shared libraries.  Add a note to revisit this later.
+
 2008-08-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Parallel make testsuite fixes.
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index c0cd768..dccb122 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -327,8 +327,8 @@ cygwin* | mingw*)
   CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=1"
   dlopenable="$dlopen depend"
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c moddepend.c
-  AT_CHECK([$LIBTOOL --mode=link $CC -module $CFLAGS $LDFLAGS -o libdepend.la \
-            moddepend.lo -rpath /foo -avoid-version], [], [ignore], [ignore])
+  AT_CHECK([$LIBTOOL --mode=link $CC -module $CFLAGS $LDFLAGS -o libdepend.la ]dnl
+           [moddepend.lo -rpath /foo -avoid-version], [], [ignore], [ignore])
   ;;
 esac
 
@@ -340,9 +340,16 @@ LDFLAGS="$LDFLAGS -no-undefined"
 
 $CC $CPPFLAGS $CFLAGS -c main.c
 for name in resident local global preload; do
+  # FIXME: adding -static to libpreload shouldn't be necessary.
+  #        Fix this properly in ltmain, then remove this workaround.
+  if test $name = preload; then
+    st=-static
+  else
+    st=
+  fi
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c mod$name.c
-  AT_CHECK([$LIBTOOL --mode=link $CC -module $CFLAGS $LDFLAGS -o lib$name.la \
-            mod$name.lo -rpath /foo -avoid-version], [], [ignore], [ignore])
+  AT_CHECK([$LIBTOOL --mode=link $CC -module $CFLAGS $LDFLAGS -o lib$name.la ]dnl
+           [mod$name.lo $st -rpath /foo -avoid-version], [], [ignore], [ignore])
 done
 
 preloaded=
@@ -360,7 +367,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT $preloa
 
 # Remove loadable libpreload module, so we know it is the preloaded module
 # that is being executed by a successful test invocation:
-$LIBTOOL --mode=clean rm libpreload.la
+AT_CHECK([$LIBTOOL --mode=clean rm -f libpreload.la], [], [ignore], [ignore])
 
 LT_AT_NOINST_EXEC_CHECK([./main], [$modules], [], [expout], [])
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Sat Aug 16 12:52:37 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KUP13-0003Nu-Ea
	for mharc-libtool-commit@gnu.org; Sat, 16 Aug 2008 12:52:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KUP11-0003M2-Pv
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:52:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KUP10-0003KV-72
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:52:35 -0400
Received: from [199.232.76.173] (port=40130 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KUP10-0003KQ-3M
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:52:34 -0400
Received: from savannah.gnu.org ([199.232.41.3]:46374 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 1KUP0z-0000Yz-K1
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 12:52:33 -0400
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 1KUP0y-0005Zl-To
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 16:52:32 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KUP0y-0005Z7-Cy
	for libtool-commit@gnu.org; Sat, 16 Aug 2008 16:52:32 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: 44f2e4b6e75c8573ab19d5a8fd14f4f2cf31958d
X-Git-Newrev: 2a9436d3e88691efc3474812d116fac34d734683
Message-Id: <E1KUP0y-0005Z7-Cy@cvs.savannah.gnu.org>
Date: Sat, 16 Aug 2008 16:52:32 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-43-g2a9436d
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, 16 Aug 2008 16:52:36 -0000

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

The branch, pr-msvc-support has been updated
       via  2a9436d3e88691efc3474812d116fac34d734683 (commit)
       via  c9069771e0fe38eed0a5347ea76c283530b544f7 (commit)
      from  44f2e4b6e75c8573ab19d5a8fd14f4f2cf31958d (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 2a9436d3e88691efc3474812d116fac34d734683
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 16 18:20:42 2008 +0200

    Enable response file support for GNU nm; reorder.
    
    * libltdl/m4/libtool.m4 (LT_PATH_NM): Move setting of
    nm_file_list_spec ...
    (_LT_CMD_GLOBAL_SYMBOLS): ... here.  Also enable for GNU nm if
    supported.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit c9069771e0fe38eed0a5347ea76c283530b544f7
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Aug 16 18:19:43 2008 +0200

    Fix ccache test for MSVC.
    
    * tests/static.at (ccache -all-static): Ignore compiler stderr.
    Reported by Peter Rosin.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 1df978f..328416a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* libltdl/m4/libtool.m4 (LT_PATH_NM): Move setting of
+	nm_file_list_spec ...
+	(_LT_CMD_GLOBAL_SYMBOLS): ... here.  Also enable for GNU nm if
+	supported.
+
+	* tests/static.at (ccache -all-static): Ignore compiler stderr.
+	Reported by Peter Rosin.
+
 2008-08-15  Peter Rosin  <peda@lysator.liu.se>
 
 	* tests/stresstest.at [MSVC]: dllimport all imported
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 7ceec66..c32f099 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3344,13 +3344,6 @@ AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
     lt_cv_nm_interface="MS dumpbin"
   fi
   rm -f conftest*])
-
-if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-  nm_file_list_spec='@'
-fi
-
-_LT_DECL([], [nm_file_list_spec], [1],
-    [Specify filename containing input files for $NM])
 ])# LT_PATH_NM
 
 # Old names:
@@ -3628,6 +3621,13 @@ else
   AC_MSG_RESULT(ok)
 fi
 
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+  nm_file_list_spec='@'
+fi
+
 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
     [Take the output of nm and produce a listing of raw symbols and C names])
 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
@@ -3638,6 +3638,8 @@ _LT_DECL([global_symbol_to_c_name_address],
 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
     [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
     [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([], [nm_file_list_spec], [1],
+    [Specify filename containing input files for $NM])
 ]) # _LT_CMD_GLOBAL_SYMBOLS
 
 
diff --git a/tests/static.at b/tests/static.at
index b5e9946..08b202f 100644
--- a/tests/static.at
+++ b/tests/static.at
@@ -370,7 +370,7 @@ AT_DATA([a.c],
 [[int main(void) { return 0; }
 ]])
 
-AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c], [], [ignore])
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link --tag=CC ./ccache $CC $CFLAGS $LDFLAGS -all-static a.$OBJEXT -o a],
 	 [], [ignore], [ignore])
 


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Mon Aug 18 08:27:01 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KV3p6-0000NQ-O0
	for mharc-libtool-commit@gnu.org; Mon, 18 Aug 2008 08:27:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KV3p3-0000MJ-TP
	for libtool-commit@gnu.org; Mon, 18 Aug 2008 08:26:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KV3p3-0000M7-Bb
	for libtool-commit@gnu.org; Mon, 18 Aug 2008 08:26:57 -0400
Received: from [199.232.76.173] (port=53645 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KV3p3-0000M1-5p
	for libtool-commit@gnu.org; Mon, 18 Aug 2008 08:26:57 -0400
Received: from savannah.gnu.org ([199.232.41.3]:36773 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 1KV3p2-0004io-Pi
	for libtool-commit@gnu.org; Mon, 18 Aug 2008 08:26:57 -0400
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 1KV3oz-0007P8-B1
	for libtool-commit@gnu.org; Mon, 18 Aug 2008 12:26:53 +0000
Received: from pekberg by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KV3oy-0007OZ-Uf
	for libtool-commit@gnu.org; Mon, 18 Aug 2008 12:26:53 +0000
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/pr-msvc-support
X-Git-Reftype: branch
X-Git-Oldrev: 2a9436d3e88691efc3474812d116fac34d734683
X-Git-Newrev: 7d968923f145fb8e26dea571b4dfcc2d42166d0e
Message-Id: <E1KV3oy-0007OZ-Uf@cvs.savannah.gnu.org>
Date: Mon, 18 Aug 2008 12:26:52 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, pr-msvc-support,
	updated. v2.2.4-44-g7d96892
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, 18 Aug 2008 12:26: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, pr-msvc-support has been updated
       via  7d968923f145fb8e26dea571b4dfcc2d42166d0e (commit)
      from  2a9436d3e88691efc3474812d116fac34d734683 (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 7d968923f145fb8e26dea571b4dfcc2d42166d0e
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Aug 18 14:25:55 2008 +0200

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

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

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

diff --git a/.gitignore b/.gitignore
index cacff4e..37f3bc8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@
 *.lo
 *.log
 *.o
+*.obj
 *.pg
 *.toc
 *.tp
diff --git a/ChangeLog b/ChangeLog
index 328416a..7c67992 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-18  Peter Rosin  <peda@lysator.liu.se>
+
+	* .gitignore: Ignore *.obj files for MSVC (and w32).
+
 2008-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* libltdl/m4/libtool.m4 (LT_PATH_NM): Move setting of


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Aug 21 15:07:39 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KWFVT-00032h-GN
	for mharc-libtool-commit@gnu.org; Thu, 21 Aug 2008 15:07:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KWFVS-000313-5C
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 15:07:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KWFVR-0002zT-6A
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 15:07:37 -0400
Received: from [199.232.76.173] (port=50774 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KWFVR-0002zD-2X
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 15:07:37 -0400
Received: from savannah.gnu.org ([199.232.41.3]:37124 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 1KWFVQ-0002UA-Bz
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 15:07:36 -0400
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 1KWFVP-0003LK-B0
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 19:07:35 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KWFVO-0003Kr-4w
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 19:07: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: 649567ed497902046abecd01a2fa0c5206d51730
X-Git-Newrev: 739b7e434992c9c6a8412c17202ee8f539cbe2fc
Message-Id: <E1KWFVO-0003Kr-4w@cvs.savannah.gnu.org>
Date: Thu, 21 Aug 2008 19:07:34 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-34-g739b7e4
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Aug 2008 19:07: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  739b7e434992c9c6a8412c17202ee8f539cbe2fc (commit)
      from  649567ed497902046abecd01a2fa0c5206d51730 (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 739b7e434992c9c6a8412c17202ee8f539cbe2fc
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Aug 21 21:07:16 2008 +0200

    Disallow `-L path', do not misparse it silently.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
    without argument, and `-L path', i.e., with a space.
    * tests/fail.at (Failure tests): Test for these failures.
    * THANKS: Update.
    Report by Olaf Lenz.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |    9 +++++++++
 THANKS                     |    1 +
 libltdl/config/ltmain.m4sh |    7 +++++++
 tests/fail.at              |   10 +++++++++-
 4 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fa04482..a97279d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Disallow `-L path', do not misparse it silently.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
+	without argument, and `-L path', i.e., with a space.
+	* tests/fail.at (Failure tests): Test for these failures.
+	* THANKS: Update.
+	Report by Olaf Lenz.
+
 2008-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Avoid test failure due to broken dlpreloading of shared library.
diff --git a/THANKS b/THANKS
index 6d00c88..f284d4e 100644
--- a/THANKS
+++ b/THANKS
@@ -111,6 +111,7 @@
   Michael Haubenwallner		michael.haubenwallner@salomon.at
   Mike Frysinger		vapier@gentoo.org
   Nix				nix@esperi.org.uk
+  Olaf Lenz			olenz@fias.uni-frankfurt.de
   Olly Betts			olly@muscat.co.uk
   Patrick Welche		prlw1@newn.cam.ac.uk
   Paul Eggert			eggert@twinsun.com
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 31ed2c7..d1c984c 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4035,6 +4035,13 @@ func_mode_link ()
       -L*)
 	func_stripname '-L' '' "$arg"
 	dir=$func_stripname_result
+	if test -z "$dir"; then
+	  if test $# -gt 0; then
+	    func_fatal_error "require no space between \`-L' and \`$1'"
+	  else
+	    func_fatal_error "need path for \`-L' option"
+	  fi
+	fi
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
diff --git a/tests/fail.at b/tests/fail.at
index b12a152..fe38ddc 100644
--- a/tests/fail.at
+++ b/tests/fail.at
@@ -1,6 +1,6 @@
 # fail.at -- test that libtool really fail when it should     -*- Autotest -*-
 #
-#   Copyright (C) 2005 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2005
 #
 #   This file is part of GNU Libtool.
@@ -92,5 +92,13 @@ case $build_libtool_libs in yes)
   ;;
 esac
 
+# Ensure we diagnose '-L path'.
+echo 'int main () { return 0; }' > d.c
+echo 'int foo () { return 0; }' > space-after-L.c
+$CC $CPPFLAGS $CFLAGS -c d.c
+$CC $CPPFLAGS $CFLAGS -c space-after-L.c
+FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -L space-after-L.$OBJEXT -o d d.$OBJEXT])
+FAIL_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o d d.$OBJEXT -L])
+
 m4_popdef([FAIL_CHECK])
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Aug 21 16:27:07 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KWGkN-0004SP-LE
	for mharc-libtool-commit@gnu.org; Thu, 21 Aug 2008 16:27:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KWGkL-0004S8-L7
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 16:27:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KWGkJ-0004Ro-Qk
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 16:27:04 -0400
Received: from [199.232.76.173] (port=50552 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KWGkJ-0004Rl-Fs
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 16:27:03 -0400
Received: from savannah.gnu.org ([199.232.41.3]:40408 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 1KWGkJ-0000Pn-7W
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 16:27:03 -0400
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 1KWGkI-0005iD-EN
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 20:27:02 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KWGkG-0005hH-GW
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 20:27: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: 739b7e434992c9c6a8412c17202ee8f539cbe2fc
X-Git-Newrev: f0a919c44529502504c6272f1f4f72aa896cc8df
Message-Id: <E1KWGkG-0005hH-GW@cvs.savannah.gnu.org>
Date: Thu, 21 Aug 2008 20:27:01 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-36-gf0a919c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Aug 2008 20:27:06 -0000

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

The branch, master has been updated
       via  f0a919c44529502504c6272f1f4f72aa896cc8df (commit)
       via  59f927914c369dd048f5dfaad5f65299e25161db (commit)
      from  739b7e434992c9c6a8412c17202ee8f539cbe2fc (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 f0a919c44529502504c6272f1f4f72aa896cc8df
Author: Sam Thursfield <ssssam@gmail.com>
Date:   Thu Aug 21 21:18:28 2008 +0200

    Avoid leading separator in PATH for DLL search.
    
    * libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
    [ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
    separator.
    * THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 59f927914c369dd048f5dfaad5f65299e25161db
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Aug 21 22:03:02 2008 +0200

    Fix sh.test regression in last patch.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index a97279d..6281da7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
+2008-08-21  Sam Thursfield  <ssssam@gmail.com>  (tiny change)
+
+	Avoid leading separator in PATH for DLL search.
+	* libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
+	[ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
+	separator.
+	* THANKS: Update.
+
 2008-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	* libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
+
 	Disallow `-L path', do not misparse it silently.
 	* libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
 	without argument, and `-L path', i.e., with a space.
diff --git a/THANKS b/THANKS
index f284d4e..1e48a00 100644
--- a/THANKS
+++ b/THANKS
@@ -124,6 +124,7 @@
   Robert Ögren			lists@roboros.com
   Roberto Bagnara		bagnara@cs.unipr.it
   Roland Mainz			roland.mainz@nrubsig.org
+  Sam Thursfield		ssssam@gmail.com
   Sebastian Wilhelmi		wilhelmi@ira.uka.de
   Simon Josefsson		jas@extundo.com
   Stephan Kulow			coolo@kde.org
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d1c984c..7e319c9 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4036,7 +4036,7 @@ func_mode_link ()
 	func_stripname '-L' '' "$arg"
 	dir=$func_stripname_result
 	if test -z "$dir"; then
-	  if test $# -gt 0; then
+	  if test "$#" -gt 0; then
 	    func_fatal_error "require no space between \`-L' and \`$1'"
 	  else
 	    func_fatal_error "need path for \`-L' option"
@@ -4064,10 +4064,12 @@ func_mode_link ()
 	  testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
 	  case :$dllsearchpath: in
 	  *":$dir:"*) ;;
+	  ::) dllsearchpath=$dir;;
 	  *) dllsearchpath="$dllsearchpath:$dir";;
 	  esac
 	  case :$dllsearchpath: in
 	  *":$testbindir:"*) ;;
+	  ::) dllsearchpath=$testbindir;;
 	  *) dllsearchpath="$dllsearchpath:$testbindir";;
 	  esac
 	  ;;
@@ -7160,10 +7162,12 @@ EOF
 	  testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
 	  case :$dllsearchpath: in
 	  *":$libdir:"*) ;;
+	  ::) dllsearchpath=$libdir;;
 	  *) dllsearchpath="$dllsearchpath:$libdir";;
 	  esac
 	  case :$dllsearchpath: in
 	  *":$testbindir:"*) ;;
+	  ::) dllsearchpath=$testbindir;;
 	  *) dllsearchpath="$dllsearchpath:$testbindir";;
 	  esac
 	  ;;


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Thu Aug 21 18:49:19 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KWIxz-0003AD-KS
	for mharc-libtool-commit@gnu.org; Thu, 21 Aug 2008 18:49:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KWIxx-00039m-PU
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 18:49:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KWIxx-00039W-7a
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 18:49:17 -0400
Received: from [199.232.76.173] (port=41071 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KWIxx-00039T-2g
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 18:49:17 -0400
Received: from savannah.gnu.org ([199.232.41.3]:38645 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 1KWIxw-0003fN-0a
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 18:49:16 -0400
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 1KWIxt-00032m-H1
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 22:49:13 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KWIxs-00032J-7S
	for libtool-commit@gnu.org; Thu, 21 Aug 2008 22:49: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: f0a919c44529502504c6272f1f4f72aa896cc8df
X-Git-Newrev: 6c491fda98b074e37e6795a865014a46eb1f74f2
Message-Id: <E1KWIxs-00032J-7S@cvs.savannah.gnu.org>
Date: Thu, 21 Aug 2008 22:49:12 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-37-g6c491fd
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Aug 2008 22:49:17 -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  6c491fda98b074e37e6795a865014a46eb1f74f2 (commit)
      from  f0a919c44529502504c6272f1f4f72aa896cc8df (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 6c491fda98b074e37e6795a865014a46eb1f74f2
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Aug 22 00:48:11 2008 +0200

    Initial support for Lahey Fortran on GNU/Linux.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
    [linux] <lf95>: Add support for Lahey Fortran 8.1.
    * NEWS, THANKS: Update.
    Suggested by Craig Tierney.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 6281da7..13cc2af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Initial support for Lahey Fortran on GNU/Linux.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
+	[linux] <lf95>: Add support for Lahey Fortran 8.1.
+	* NEWS, THANKS: Update.
+	Suggested by Craig Tierney.
+
 2008-08-21  Sam Thursfield  <ssssam@gmail.com>  (tiny change)
 
 	Avoid leading separator in PATH for DLL search.
diff --git a/NEWS b/NEWS
index 52f8804..e0d1062 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team:
     on GNU/Linux.
   - Support cross compile of MinGW with Wine.
   - Initial support for cegcc (Windows CE/PocketPC) cross compilation.
+  - Initial support for lf95 (Lahey Fortran 8.1) on GNU/Linux.
 
 * Bug fixes:
 
diff --git a/THANKS b/THANKS
index 1e48a00..d6f4851 100644
--- a/THANKS
+++ b/THANKS
@@ -78,6 +78,7 @@
   Christian Biesinger		cbiesinger@web.de
   Christoph Egger		Christoph_Egger@gmx.de
   Christopher Hulbert		cchgroupmail@gmail.com
+  Craig Tierney			Craig.Tierney@noaa.gov
   Dalibor Topic			robilad@kaffe.org
   Daniel Reed			n@ml.org
   DJ Delorie			dj@delorie.com
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 79f58f8..fb5f178 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3992,6 +3992,12 @@ m4_if([$1], [CXX], [
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
         ;;
+      # Lahey Fortran 8.1.
+      lf95*)
+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
+	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
+	;;
       pgcc* | pgf77* | pgf90* | pgf95*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
 	# which looks to be a dead project)
@@ -4378,6 +4384,9 @@ _LT_EOF
 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 	ifc* | ifort*)			# Intel Fortran compiler
 	  tmp_addflag=' -nofor_main' ;;
+	lf95*)				# Lahey Fortran 8.1
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
+	  tmp_sharedflag='--shared' ;;
 	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
 	  tmp_sharedflag='-qmkshrobj'
 	  tmp_addflag= ;;


hooks/post-receive
--
GNU Libtool



From MAILER-DAEMON Tue Aug 26 13:50:27 2008
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1KY2gV-0008CH-38
	for mharc-libtool-commit@gnu.org; Tue, 26 Aug 2008 13:50:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KY2gS-00089D-M0
	for libtool-commit@gnu.org; Tue, 26 Aug 2008 13:50:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KY2gR-00087U-6b
	for libtool-commit@gnu.org; Tue, 26 Aug 2008 13:50:24 -0400
Received: from [199.232.76.173] (port=60732 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KY2gQ-000875-Ur
	for libtool-commit@gnu.org; Tue, 26 Aug 2008 13:50:23 -0400
Received: from savannah.gnu.org ([199.232.41.3]:34163 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 1KY2gQ-0000Mr-HM
	for libtool-commit@gnu.org; Tue, 26 Aug 2008 13:50:22 -0400
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 1KY2gP-0000dj-Qe
	for libtool-commit@gnu.org; Tue, 26 Aug 2008 17:50:21 +0000
Received: from pogma by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1KY2gN-0000dF-Ve
	for libtool-commit@gnu.org; Tue, 26 Aug 2008 17:50:21 +0000
From: "Peter O'Gorman" <peter@pogma.com>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 6c491fda98b074e37e6795a865014a46eb1f74f2
X-Git-Newrev: a05d258b4c1c5acfee449e4ae305ac67bffd6f25
Message-Id: <E1KY2gN-0000dF-Ve@cvs.savannah.gnu.org>
Date: Tue, 26 Aug 2008 17:50:20 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.4-39-ga05d258
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, 26 Aug 2008 17:50:25 -0000

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

The branch, master has been updated
       via  a05d258b4c1c5acfee449e4ae305ac67bffd6f25 (commit)
       via  300fa580c49003080ae9c65a64821c790a44fac0 (commit)
      from  6c491fda98b074e37e6795a865014a46eb1f74f2 (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 a05d258b4c1c5acfee449e4ae305ac67bffd6f25
Author: Peter O'Gorman <peter@pogma.com>
Date:   Tue Aug 26 12:42:53 2008 -0500

    Allow for extensions other than .a for preloaded modules.
    
    * libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define LT_LIBEXT.
    * libltdl/ltdl.c (lt_dladvise_preload): Use it.
    Reported by Ralf Wildenhues.

commit 300fa580c49003080ae9c65a64821c790a44fac0
Author: Peter O'Gorman <peter@pogma.com>
Date:   Tue Aug 26 12:41:25 2008 -0500

    Remove unnecessary global argz functions.
    
    * libltdl/argz.c (argz_add,argz_count): Remove.
    * libltdl/argz_.h (argz_add,argz_count): Remove.
    * NEWS: Announce it.
    * tests/ltdl-api.at: Test so we don't repeat it.
    * Makefile.am: Add new test.

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

Summary of changes:
 ChangeLog                              |   17 +++++++++++++++++
 Makefile.am                            |    1 +
 NEWS                                   |    3 +++
 libltdl/argz.c                         |   28 ----------------------------
 libltdl/argz_.h                        |    3 ---
 libltdl/ltdl.c                         |   10 ++++++++--
 libltdl/m4/ltdl.m4                     |    2 ++
 tests/{cdemo-exec.test => ltdl-api.at} |   27 ++++++++++++++++-----------
 8 files changed, 47 insertions(+), 44 deletions(-)
 copy tests/{cdemo-exec.test => ltdl-api.at} (56%)
 mode change 100755 => 100644

diff --git a/ChangeLog b/ChangeLog
index 13cc2af..9a67fd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2008-08-26  Peter O'Gorman  <peter@pogma.com>
+
+	Allow for extensions other than .a for preloaded modules.
+	* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define LT_LIBEXT.
+	* libltdl/ltdl.c (lt_dladvise_preload): Use it.
+	Reported by Ralf Wildenhues.
+
+2008-08-26  Peter O'Gorman  <peter@pogma.com>,
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Remove unnecessary global argz functions.
+	* libltdl/argz.c (argz_add,argz_count): Remove.
+	* libltdl/argz_.h (argz_add,argz_count): Remove.
+	* NEWS: Announce it.
+	* tests/ltdl-api.at: Test so we don't repeat it.
+	* Makefile.am: Add new test.
+
 2008-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Initial support for Lahey Fortran on GNU/Linux.
diff --git a/Makefile.am b/Makefile.am
index 0085c7f..1417e84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -454,6 +454,7 @@ TESTSUITE_AT	= tests/testsuite.at \
 		  tests/am-subdir.at \
 		  tests/lt_dlexit.at \
 		  tests/lt_dladvise.at \
+		  tests/ltdl-api.at \
 		  tests/need_lib_prefix.at \
 		  tests/standalone.at \
 		  tests/subproject.at \
diff --git a/NEWS b/NEWS
index e0d1062..c85f741 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,9 @@ New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team:
 
   - Several testsuite issues have been fixed, thanks to user feedback.
 
+  - Fix 2.2 regression that caused argz symbols to be exported from
+    libltdl unrenamed on systems that do not have working argz.
+
 New in 2.2.4: 2008-05-04: git version 2.2.3a, Libtool team:
 
 * New features:
diff --git a/libltdl/argz.c b/libltdl/argz.c
index f31ce17..8567723 100644
--- a/libltdl/argz.c
+++ b/libltdl/argz.c
@@ -76,14 +76,6 @@ argz_append (char **pargz, size_t *pargz_len, const char *buf, size_t buf_len)
 }
 
 
-/* Add a string to the argz vector.  */
-error_t
-argz_add (char **pargz, size_t *pargz_len, const char *str)
-{
-  return argz_append (pargz, pargz_len, str, strlen (str) + 1);
-}
-
-
 error_t
 argz_create_sep (const char *str, int delim, char **pargz, size_t *pargz_len)
 {
@@ -232,23 +224,3 @@ argz_stringify (char *argz, size_t argz_len, int sep)
     }
 }
 
-
-/* Count number of elements (null bytes) in argz vector.  */
-
-size_t
-argz_count (const char *argz, size_t argz_len)
-{
-  size_t count = 0;
-
-  assert ((argz && argz_len) || (!argz && !argz_len));
-
-  while (argz_len > 0)
-    {
-      size_t part_len = strlen (argz);
-      argz += part_len + 1;
-      argz_len -= part_len + 1;
-      count++;
-    }
-
-  return count;
-}
diff --git a/libltdl/argz_.h b/libltdl/argz_.h
index 40d5176..0557575 100644
--- a/libltdl/argz_.h
+++ b/libltdl/argz_.h
@@ -49,8 +49,6 @@ extern "C" {
 
 LT_SCOPE error_t argz_append	(char **pargz, size_t *pargz_len,
 				 const char *buf, size_t buf_len);
-LT_SCOPE error_t argz_add       (char **pargz, size_t *pargz_len,
-                                 const char *str);
 LT_SCOPE error_t argz_create_sep(const char *str, int delim,
 				 char **pargz, size_t *pargz_len);
 LT_SCOPE error_t argz_insert	(char **pargz, size_t *pargz_len,
@@ -58,7 +56,6 @@ LT_SCOPE error_t argz_insert	(char **pargz, size_t *pargz_len,
 LT_SCOPE char *	 argz_next	(char *argz, size_t argz_len,
 				 const char *entry);
 LT_SCOPE void	 argz_stringify	(char *argz, size_t argz_len, int sep);
-LT_SCOPE size_t  argz_count     (const char *argz, size_t argz_len);
 
 #if defined(__cplusplus)
 }
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 5a26565..6e19599 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -50,6 +50,10 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #  define LT_FILENAME_MAX	1024
 #endif
 
+#if !defined(LT_LIBEXT)
+#  define LT_LIBEXT "a"
+#endif
+
 /* This is the maximum symbol size that won't require malloc/free */
 #undef	LT_SYMBOL_LENGTH
 #define LT_SYMBOL_LENGTH	128
@@ -67,6 +71,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 
 static	const char	objdir[]		= LT_OBJDIR;
 static	const char	archive_ext[]		= LT_ARCHIVE_EXT;
+static  const char	libext[]		= LT_LIBEXT;
 #if defined(LT_MODULE_EXT)
 static	const char	shlib_ext[]		= LT_MODULE_EXT;
 #endif
@@ -1258,7 +1263,8 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
 
       if (vtable)
 	{
-	  archive_name = MALLOC (char, LT_STRLEN (name) + 3);
+	  /* name + "." + libext + NULL */
+	  archive_name = MALLOC (char, LT_STRLEN (name) + LT_STRLEN (libext) + 2);
 	  *phandle = (lt_dlhandle) lt__zalloc (sizeof (struct lt__handle));
 
 	  if ((*phandle == NULL) || (archive_name == NULL))
@@ -1270,7 +1276,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
 
 	  /* Preloaded modules are always named according to their old
 	     archive name.  */
-	  sprintf (archive_name, "%s.a", name);
+	  sprintf (archive_name, "%s.%s", name, libext);
 
 	  if (tryall_dlopen (&newhandle, archive_name, advise, vtable) == 0)
 	    {
diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4
index 563889e..bac721e 100644
--- a/libltdl/m4/ltdl.m4
+++ b/libltdl/m4/ltdl.m4
@@ -413,6 +413,8 @@ AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
 
+AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
+
 name=ltdl
 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
 AC_SUBST([LTDLOPEN])
diff --git a/tests/cdemo-exec.test b/tests/ltdl-api.at
old mode 100755
new mode 100644
similarity index 56%
copy from tests/cdemo-exec.test
copy to tests/ltdl-api.at
index dce62f2..465a513
--- a/tests/cdemo-exec.test
+++ b/tests/ltdl-api.at
@@ -1,8 +1,7 @@
-#! /bin/sh
-# cdemo-exec.test - check that programs in the cdemo subdirectory are viable
+# ltdl-api.at -- test libltdl API                -*- Autotest -*-
 #
-#   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
-#   Written by Gary V. Vaughan, 2003
+#   Copyright (C) 2008 Free Software Foundation, Inc.
+#   Written by Ralf Wildenhues, 2008.
 #
 #   This file is part of GNU Libtool.
 #
@@ -23,12 +22,18 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 ####
 
-. tests/defs || exit 1
+AT_SETUP([ltdl API])
+AT_KEYWORDS([libltdl])
 
-func_require "cdemo-make" "tests/cdemo/cdemo$EXEEXT"
+# Ensure that no symbols from argz are unrenamed.
+eval `$LIBTOOL --config | $EGREP '^(NM|global_symbol_pipe|objext)='`
+argz_o=$abs_top_builddir/libltdl/argz.$objext
+AT_CHECK([test -f "$argz_o" || exit 77])
+AT_CHECK([eval "$NM \"\$argz_o\" | $global_symbol_pipe"],
+	 [], [stdout], [ignore])
+# Check for global symbols beginning with "argz_"
+AT_CHECK([grep "^T argz_" stdout], [1])
+# and also for the _ prefixed version "_argz_"
+AT_CHECK([grep "^T _argz_" stdout], [1])
 
-func_rmprefixdir
-func_exec_init "uninstalled"
-func_exec "tests/cdemo/cdemo$EXEEXT"
-
-exit $exec_status
+AT_CLEANUP


hooks/post-receive
--
GNU Libtool



