From MAILER-DAEMON Tue Jun 02 09:45:40 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MBUJA-000853-7e
	for mharc-libtool-commit@gnu.org; Tue, 02 Jun 2009 09:45:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MBUJ7-00083y-Q0
	for libtool-commit@gnu.org; Tue, 02 Jun 2009 09:45:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MBUJ6-000832-89
	for libtool-commit@gnu.org; Tue, 02 Jun 2009 09:45:37 -0400
Received: from [199.232.76.173] (port=45592 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MBUJ6-00082v-0W
	for libtool-commit@gnu.org; Tue, 02 Jun 2009 09:45:36 -0400
Received: from savannah.gnu.org ([199.232.41.3]:42848 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 1MBUJ5-0001ys-Cx
	for libtool-commit@gnu.org; Tue, 02 Jun 2009 09:45:35 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MBUJ3-0005rY-P4
	for libtool-commit@gnu.org; Tue, 02 Jun 2009 13:45:33 +0000
Received: from pogma by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MBUJ2-0005qb-G7
	for libtool-commit@gnu.org; Tue, 02 Jun 2009 13:45:33 +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: 2ff7159eb45c8ae9ca1588e65d198a2aeea3eed6
X-Git-Newrev: 57013d8e689ed32f0a4fb8d3b0549ed5e793e2d6
Message-Id: <E1MBUJ2-0005qb-G7@cvs.savannah.gnu.org>
Date: Tue, 02 Jun 2009 13:45:32 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-117-g57013d8
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, 02 Jun 2009 13:45: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  57013d8e689ed32f0a4fb8d3b0549ed5e793e2d6 (commit)
       via  94537d111dcd64b0937ffe36dda485f794b47fbb (commit)
       via  f4c14adc49a89beccbecb6177c8fae4d13040b9d (commit)
       via  848215b440b53cae6979dd5a65ea41e9d5ab5b3d (commit)
       via  26d36541aded9124add202e288a79f3c08242687 (commit)
       via  5ef9367f2a030124e7b5ed4a4194a12c545d6fce (commit)
       via  7f0ba74e84f5dd7e72908835a5a8335c9ecb3eba (commit)
       via  5d560c68d815824d284661354e525d1936c823b9 (commit)
       via  81a734cdda29f4ba61ee1f3bbbb2513ed4ed6323 (commit)
      from  2ff7159eb45c8ae9ca1588e65d198a2aeea3eed6 (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 57013d8e689ed32f0a4fb8d3b0549ed5e793e2d6
Author: Peter O'Gorman <peter@pogma.com>
Date:   Wed May 27 14:19:57 2009 -0500

    Don't run compiler checks twice.
    
    libltdl/m4/libtool.m4 (_LT_PROG_FC, _LT_PROG_F77,
    _LT_PROG_CXX): Remove these macros.
    libltdl/m4/lt~obsolete.m4: Add removed macros here.
    libltdl/m4/libtool.m4 (_LT_LANG_FC_CONFIG, _LT_LANG_F77_CONFIG,
    _LT_LANG_CXX_CONFIG): Remove references to removed macros, and
    move functionality here.
    NEWS: Update.

commit 94537d111dcd64b0937ffe36dda485f794b47fbb
Author: Rainer Emrich <r.emrich@de.tecosim.com>
Date:   Tue May 5 22:51:03 2009 +0200

    Fix cross compilation for HPPA/64 with a BSD file command.
    
    * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD)
    [hpux10.20*, hpux11*, !ia64] <lt_cv_deplibs_check_method>:
    Match the dot in `PA-RISC 2.0' literally.  Adjust hppa*64*
    pattern to also match BSD `file' output, used in cross
    compilation setups.
    * THANKS: Update.
    Report and initial patch by Rainer Emrich, refined by Peter
    Rosin.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit f4c14adc49a89beccbecb6177c8fae4d13040b9d
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Tue May 5 07:39:16 2009 +0200

    libtoolize: ignore trailing junk on scriptversion line.
    
    * libtoolize.m4sh (func_install_update): Ignore semi-colon or
    comment-sign and all following characters when parsing a
    `scriptversion' line in one of the auxiliary scripts; recent
    Automake-provided script have a stylized comment to induce
    Emacs to use UTC.
    Exposed by the `libtoolize config files serial update' test.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 848215b440b53cae6979dd5a65ea41e9d5ab5b3d
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat May 2 10:55:23 2009 +0200

    Skip localization test when setlocale is not functional.
    
    * tests/localization.at (localized compiler messages): Skip
    test when there is a warning about `LC_ALL'.
    * THANKS: Update.
    Report by Maciej Helminiak.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 26d36541aded9124add202e288a79f3c08242687
Author: Alan Hourihane <alanh@fairlite.co.uk>
Date:   Sat May 2 10:42:39 2009 +0200

    Improved support for FreeMiNT.
    
    * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [mint]: Hard-code
    command line length limit to 8192, to avoid long test.
    * NEWS, THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 5ef9367f2a030124e7b5ed4a4194a12c545d6fce
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat May 2 10:36:17 2009 +0200

    Initial port for BlueGene BG/L.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
    (_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl*
    compilers.
    * NEWS, THANKS: Update.
    Report, feedback and testing by John R. Cary and Christian
    Rössel.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 7f0ba74e84f5dd7e72908835a5a8335c9ecb3eba
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat May 2 10:31:18 2009 +0200

    manual: fix grammaros.
    
    * doc/libtool.texi (Dlpreopening): Fix grammaro.
    (C header files): Remove duplicate word.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 5d560c68d815824d284661354e525d1936c823b9
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat May 2 10:24:28 2009 +0200

    Allow through -tp=* at link time, for pgcc.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group
    pgcc uses `-tp=PROCESSOR' for target processor selection; allow
    the flag through at link time.
    Report by Ethan Mallove.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 81a734cdda29f4ba61ee1f3bbbb2513ed4ed6323
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat May 2 09:57:47 2009 +0200

    Fix quoting of eval'ed variable.
    
    * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Double-quote
    $lt_cv_sys_global_symbol_pipe for eval, like we do in ltmain,
    in order to preserve TABs and multiple adjacent whitespace.
    Report by Bruno Haible.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   76 +++++++++++++++++++++++++++++++
 NEWS                       |    4 ++
 THANKS                     |    4 ++
 doc/libtool.texi           |    4 +-
 libltdl/config/ltmain.m4sh |    3 +-
 libltdl/m4/libtool.m4      |  106 +++++++++++++------------------------------
 libltdl/m4/lt~obsolete.m4  |    3 +
 libtoolize.m4sh            |    1 +
 tests/localization.at      |    3 +
 9 files changed, 127 insertions(+), 77 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0c20a92..a1927bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,79 @@
+2009-05-27  Peter O'Gorman  <peter@pogma.com>
+
+	Don't run compiler checks twice.
+	libltdl/m4/libtool.m4 (_LT_PROG_FC, _LT_PROG_F77,
+	_LT_PROG_CXX): Remove these macros.
+	libltdl/m4/lt~obsolete.m4: Add removed macros here.
+	libltdl/m4/libtool.m4 (_LT_LANG_FC_CONFIG, _LT_LANG_F77_CONFIG,
+	_LT_LANG_CXX_CONFIG): Remove references to removed macros, and
+	move functionality here.
+	NEWS: Update.
+
+2009-05-05  Rainer Emrich  <r.emrich@de.tecosim.com>  (tiny change)
+	    Peter Rosin  <peda@lysator.liu.se>
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix cross compilation for HPPA/64 with a BSD file command.
+	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD)
+	[hpux10.20*, hpux11*, !ia64] <lt_cv_deplibs_check_method>:
+	Match the dot in `PA-RISC 2.0' literally.  Adjust hppa*64*
+	pattern to also match BSD `file' output, used in cross
+	compilation setups.
+	* THANKS: Update.
+	Report and initial patch by Rainer Emrich, refined by Peter
+	Rosin.
+
+2009-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	libtoolize: ignore trailing junk on scriptversion line.
+	* libtoolize.m4sh (func_install_update): Ignore semi-colon or
+	comment-sign and all following characters when parsing a
+	`scriptversion' line in one of the auxiliary scripts; recent
+	Automake-provided script have a stylized comment to induce
+	Emacs to use UTC.
+	Exposed by the `libtoolize config files serial update' test.
+
+2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Skip localization test when setlocale is not functional.
+	* tests/localization.at (localized compiler messages): Skip
+	test when there is a warning about `LC_ALL'.
+	* THANKS: Update.
+	Report by Maciej Helminiak.
+
+2009-05-02  Alan Hourihane  <alanh@fairlite.co.uk>  (tiny change)
+
+	Improved support for FreeMiNT.
+	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [mint]: Hard-code
+	command line length limit to 8192, to avoid long test.
+	* NEWS, THANKS: Update.
+
+2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Initial port for BlueGene BG/L.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
+	(_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl*
+	compilers.
+	* NEWS, THANKS: Update.
+	Report, feedback and testing by John R. Cary and Christian
+	Rössel.
+
+	manual: fix grammaros.
+	* doc/libtool.texi (Dlpreopening): Fix grammaro.
+	(C header files): Remove duplicate word.
+
+	Allow through -tp=* at link time, for pgcc.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group
+	pgcc uses `-tp=PROCESSOR' for target processor selection; allow
+	the flag through at link time.
+	Report by Ethan Mallove.
+
+	Fix quoting of eval'ed variable.
+	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Double-quote
+	$lt_cv_sys_global_symbol_pipe for eval, like we do in ltmain,
+	in order to preserve TABs and multiple adjacent whitespace.
+	Report by Bruno Haible.
+
 2009-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Cope better with missing `makeinfo' in `bootstrap'.
diff --git a/NEWS b/NEWS
index ec9c835..42d3c69 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,8 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
   - Improved support for 64bit Windows (mingw64).
   - Improved support for cegcc (Windows CE/PocketPC).
   - Support for GNU/kOpenSolaris (kopensolaris*-gnu).
+  - Initial support for compilers on BlueGene BG/L.
+  - Improved support for Atari FreeMiNT.
 
 * Bug fixes:
 
@@ -33,6 +35,8 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
   - Argument mangling of execute mode has been improved (i.e., lessened).
   - Fix 2.1b regression that caused nm to not be the default name lister.
     The regression affected mainly (arguably broken) cross compiles.
+  - Fix long standing bug that caused compiler checks for Fortran and
+    C++ compilers to run twice.
 
 * Miscellaneous changes:
 
diff --git a/THANKS b/THANKS
index 431a308..f9c7a86 100644
--- a/THANKS
+++ b/THANKS
@@ -67,6 +67,7 @@
   their time and energy in helping to track down bugs, port to new systems,
   and generally assist in the libtool maintainership process:
 
+  Alan Hourihane		alanh@fairlite.co.uk
   Alexei Sheplyakov		varg@theor.jinr.ru
   Alon Bar-Lev			alon.barlev@gmail.com
   Andreas Schwab		schwab@suse.de
@@ -105,12 +106,14 @@
   Joel N. Weber II		devnull@gnu.org
   Joerg Sonnenberger		joerg@netbsd.org
   John Bowler			jbowler@acm.org
+  John R. Cary			cary@txcorp.com
   John Wolfe			jlw@sco.com
   Joseph Beckenbach III		jrb3@best.com
   Karl Berry			karl@freefriends.org
   Kenneth Albanowski		kjahds@kjahds.com
   Kevin Ryde			user42@zip.com.au
   Kurt D. Zeilenga		Kurt@OpenLDAP.Org
+  Maciej Helminiak		dion2@wp.pl
   Maciej W. Rozycki		macro@linux-mips.org
   Manfred Weichel		Manfred.Weichel@pdb.siemens.de
   Marc Espie			espie@nerim.net
@@ -129,6 +132,7 @@
   Peter Eisentraut		peter_e@gmx.net
   Peter Jeremy			peterjeremy@optushome.com.au
   Peter Kjellerstedt		peter.kjellerstedt@axis.com
+  Rainer Emrich			r.emrich@de.tecosim.com
   Rainer Orth			ro@TechFak.Uni-Bielefeld.DE
   Rainer Tammer			tammer@tammer.net
   Ralf Menzel			menzel@ls6.cs.uni-dortmund.de
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 2f90ca3..5e25531 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3059,7 +3059,7 @@ Also the only thing that must go outside the
 @code{BEGIN_C_DECLS}/@code{END_C_DECLS} pair are @code{#include} lines.
 Strictly speaking it is only C symbol names that need to be protected,
 but your header files will be more maintainable if you have a single
-pair of of these macros around the majority of the header contents.
+pair of these macros around the majority of the header contents.
 
 You should use these definitions of @code{PARAMS}, @code{BEGIN_C_DECLS},
 and @code{END_C_DECLS} into your own headers.  Then, you may use them to
@@ -3293,7 +3293,7 @@ though Libtool takes care of that detail if you use
 An array of @var{lt_symbol} structures, representing all the preloaded
 symbols linked into the program proper.  For each module
 @option{-dlpreopen}ed by the Libtool linked program
-there is an element with the @var{name} of the module and a @var{address}
+there is an element with the @var{name} of the module and an @var{address}
 of @code{0}, followed by all symbols exported from this file.
 For the executable itself the special name @samp{@@PROGRAM@@} is used.
 The last element of all has a @var{name} and @var{address} of
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index fd5b1c7..5609304 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4494,8 +4494,9 @@ func_mode_link ()
       # -F/path gives path to uninstalled frameworks, gcc on darwin
       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
       # @file GCC response files
+      # -tp=* Portland pgcc target processor selection
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 63e831e..3596384 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1451,6 +1451,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
@@ -2987,11 +2992,11 @@ hpux10.20* | hpux11*)
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     ;;
   hppa*64*)
-    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
+    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     ;;
   *)
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     ;;
   esac
@@ -3380,7 +3385,7 @@ _LT_EOF
   if AC_TRY_EVAL(ac_compile); then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
       # Try sorting and uniquifying the output.
       if sort "$nlist" | uniq > "$nlist"T; then
 	mv -f "$nlist"T "$nlist"
@@ -3680,8 +3685,8 @@ m4_if([$1], [CXX], [
 	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 	    ;;
-	  xlc* | xlC*)
-	    # IBM XL 8.0 on PPC
+	  xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+	    # IBM XL 8.0, 9.0 on PPC and BlueGene
 	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -3964,8 +3969,8 @@ m4_if([$1], [CXX], [
         # All Alpha code is PIC.
         _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
         ;;
-      xl*)
-	# IBM XL C 8.0/Fortran 10.1 on PPC
+      xl* | bgxl* | bgf* | mpixl*)
+	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -4342,7 +4347,7 @@ _LT_EOF
 	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)
+	xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 	  tmp_sharedflag='-qmkshrobj'
 	  tmp_addflag= ;;
 	esac
@@ -4364,7 +4369,7 @@ _LT_EOF
         fi
 
 	case $cc_basename in
-	xlf*)
+	xlf* | bgf* | bgxlf* | mpixlf*)
 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
 	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
@@ -5274,37 +5279,21 @@ CC="$lt_save_CC"
 ])# _LT_LANG_C_CONFIG
 
 
-# _LT_PROG_CXX
-# ------------
-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
-# compiler, we have our own version here.
-m4_defun([_LT_PROG_CXX],
-[
-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
-AC_PROG_CXX
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
-    (test "X$CXX" != "Xg++"))) ; then
-  AC_PROG_CXXCPP
-else
-  _lt_caught_CXX_error=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_CXX
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_CXX], [])
-
-
 # _LT_LANG_CXX_CONFIG([TAG])
 # --------------------------
 # Ensure that the configuration variables for a C++ compiler are suitably
 # defined.  These variables are subsequently used by _LT_CONFIG to write
 # the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_CXX_CONFIG],
-[AC_REQUIRE([_LT_PROG_CXX])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_EGREP])dnl
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
+    (test "X$CXX" != "Xg++"))) ; then
+  AC_PROG_CXXCPP
+else
+  _lt_caught_CXX_error=yes
+fi
 
 AC_LANG_PUSH(C++)
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -5910,7 +5899,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # dependencies.
 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 	    ;;
-	  xl*)
+	  xl* | mpixl* | bgxl*)
 	    # IBM XL 8.0 on PPC, with GNU ld
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -6527,32 +6516,16 @@ _LT_TAGDECL([], [compiler_lib_search_path], [1],
 ])# _LT_SYS_HIDDEN_LIBDEPS
 
 
-# _LT_PROG_F77
-# ------------
-# Since AC_PROG_F77 is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_F77],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
-AC_PROG_F77
-if test -z "$F77" || test "X$F77" = "Xno"; then
-  _lt_disable_F77=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_F77
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_F77], [])
-
-
 # _LT_LANG_F77_CONFIG([TAG])
 # --------------------------
 # Ensure that the configuration variables for a Fortran 77 compiler are
 # suitably defined.  These variables are subsequently used by _LT_CONFIG
 # to write the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_F77_CONFIG],
-[AC_REQUIRE([_LT_PROG_F77])dnl
-AC_LANG_PUSH(Fortran 77)
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test "X$F77" = "Xno"; then
+  _lt_disable_F77=yes
+fi
 
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6672,32 +6645,17 @@ AC_LANG_POP
 ])# _LT_LANG_F77_CONFIG
 
 
-# _LT_PROG_FC
-# -----------
-# Since AC_PROG_FC is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_FC],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
-AC_PROG_FC
-if test -z "$FC" || test "X$FC" = "Xno"; then
-  _lt_disable_FC=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_FC
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_FC], [])
-
-
 # _LT_LANG_FC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for a Fortran compiler are
 # suitably defined.  These variables are subsequently used by _LT_CONFIG
 # to write the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_FC_CONFIG],
-[AC_REQUIRE([_LT_PROG_FC])dnl
-AC_LANG_PUSH(Fortran)
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test "X$FC" = "Xno"; then
+  _lt_disable_FC=yes
+fi
 
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 _LT_TAGVAR(allow_undefined_flag, $1)=
diff --git a/libltdl/m4/lt~obsolete.m4 b/libltdl/m4/lt~obsolete.m4
index 5f6a956..544ae45 100644
--- a/libltdl/m4/lt~obsolete.m4
+++ b/libltdl/m4/lt~obsolete.m4
@@ -94,3 +94,6 @@ m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],	[AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]
 m4_ifndef([_LT_AC_PROG_CXXCPP],		[AC_DEFUN([_LT_AC_PROG_CXXCPP])])
 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],	[AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
 m4_ifndef([_LT_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77],		[AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC],		[AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX],		[AC_DEFUN([_LT_PROG_CXX])])
diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 27f17a7..bff700a 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -1021,6 +1021,7 @@ func_install_update ()
     $opt_debug
     my_sed_install='
 	/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
+	    s,[#;].*,,
 	    s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,
 	    s/-/./g
 	    p
diff --git a/tests/localization.at b/tests/localization.at
index 119b38d..1d689aa 100644
--- a/tests/localization.at
+++ b/tests/localization.at
@@ -49,6 +49,9 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit
 	 [1], [stdout], [stderr])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr])
+# Avoid this error:
+#   /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE)
+AT_CHECK([grep LC_ALL stdout stderr && exit 77], [1])
 AT_CHECK([diff expected-stderr libtool-stderr])
 AT_CHECK([diff expected-stdout libtool-stdout])
 


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sat Jun 06 02:54:28 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MCpnQ-00018M-5x
	for mharc-libtool-commit@gnu.org; Sat, 06 Jun 2009 02:54:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MCpnO-00015Z-It
	for libtool-commit@gnu.org; Sat, 06 Jun 2009 02:54:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MCpnN-00014f-L7
	for libtool-commit@gnu.org; Sat, 06 Jun 2009 02:54:25 -0400
Received: from [199.232.76.173] (port=56228 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MCpnN-00014c-HG
	for libtool-commit@gnu.org; Sat, 06 Jun 2009 02:54:25 -0400
Received: from savannah.gnu.org ([199.232.41.3]:41647 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 1MCpnM-0004wm-Rq
	for libtool-commit@gnu.org; Sat, 06 Jun 2009 02:54:25 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MCpnM-00082y-9o
	for libtool-commit@gnu.org; Sat, 06 Jun 2009 06:54:24 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MCpnL-00082R-TG
	for libtool-commit@gnu.org; Sat, 06 Jun 2009 06:54:24 +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: 57013d8e689ed32f0a4fb8d3b0549ed5e793e2d6
X-Git-Newrev: 2af6f65468e1890da42b32baeac3054a756c0e72
Message-Id: <E1MCpnL-00082R-TG@cvs.savannah.gnu.org>
Date: Sat, 06 Jun 2009 06:54:23 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-119-g2af6f65
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, 06 Jun 2009 06:54:26 -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  2af6f65468e1890da42b32baeac3054a756c0e72 (commit)
       via  19880129dd60fb0aaefa03ee764951af38b0451e (commit)
      from  57013d8e689ed32f0a4fb8d3b0549ed5e793e2d6 (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 2af6f65468e1890da42b32baeac3054a756c0e72
Author: Richard Sandiford <richards@transitive.com>
Date:   Sat Jun 6 08:50:38 2009 +0200

    Fix GNU nm invocation for AIX.
    
    * libldtl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
    <export_symbols_cmds>: Modify the GNU-nm-on-AIX version so that
    it adds weak defined symbols to the export list.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 19880129dd60fb0aaefa03ee764951af38b0451e
Author: Richard Sandiford <richards@transitive.com>
Date:   Sat Jun 6 08:48:44 2009 +0200

    Build AIX shared libraries with binutils 2.19.50+.
    
    * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
    <lt_use_gnu_ld_interface>: New variable to control whether the
    GNU ld or native ld interface is used.  Set to "no" for GNU ld
    2.19.50+ on AIX, otherwise mirror $with_gnu_ld.  Update the
    warning message that is printed when using GNU ld on AIX.
    Adjust the whole_archive_flag_spec value for GNU ld on AIX.
    * NEWS, THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index a1927bf..e278549 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2009-06-06  Richard Sandiford  <richards@transitive.com>
+
+	Fix GNU nm invocation for AIX.
+	* libldtl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
+	<export_symbols_cmds>: Modify the GNU-nm-on-AIX version so that
+	it adds weak defined symbols to the export list.
+
+	Build AIX shared libraries with binutils 2.19.50+.
+	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
+	<lt_use_gnu_ld_interface>: New variable to control whether the
+	GNU ld or native ld interface is used.  Set to "no" for GNU ld
+	2.19.50+ on AIX, otherwise mirror $with_gnu_ld.  Update the
+	warning message that is printed when using GNU ld on AIX.
+	Adjust the whole_archive_flag_spec value for GNU ld on AIX.
+	* NEWS, THANKS: Update.
+
 2009-05-27  Peter O'Gorman  <peter@pogma.com>
 
 	Don't run compiler checks twice.
diff --git a/NEWS b/NEWS
index 42d3c69..3656acd 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
   - Support for GNU/kOpenSolaris (kopensolaris*-gnu).
   - Initial support for compilers on BlueGene BG/L.
   - Improved support for Atari FreeMiNT.
+  - With binutils 2.19.50+, shared libraries can be built on AIX.
 
 * Bug fixes:
 
diff --git a/THANKS b/THANKS
index f9c7a86..9bf16db 100644
--- a/THANKS
+++ b/THANKS
@@ -137,6 +137,7 @@
   Rainer Tammer			tammer@tammer.net
   Ralf Menzel			menzel@ls6.cs.uni-dortmund.de
   Richard Purdie		rpurdie@rpsys.net
+  Richard Sandiford		richards@transitive.com
   Robert Millan			rmh@aybabtu.com
   Robert Ögren			lists@roboros.com
   Roberto Bagnara		bagnara@cs.unipr.it
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 3596384..a7d9bf5 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4129,8 +4129,10 @@ m4_if([$1], [CXX], [
   aix[[4-9]]*)
     # If we're using GNU nm, then we don't want the "-C" option.
     # -C means demangle to AIX nm, but means don't demangle with GNU nm
+    # Also, AIX nm treats weak defined symbols like other global defined
+    # symbols, whereas GNU nm marks them as "W".
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     else
       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     fi
@@ -4208,7 +4210,33 @@ dnl Note also adjust exclude_expsyms for C++ above.
   esac
 
   _LT_TAGVAR(ld_shlibs, $1)=yes
+
+  # On some targets, GNU ld is compatible enough with the native linker
+  # that we're better off using the native interface for both.
+  lt_use_gnu_ld_interface=no
   if test "$with_gnu_ld" = yes; then
+    case $host_os in
+      aix*)
+	# The AIX port of GNU ld has always aspired to compatibility
+	# with the native linker.  However, as the warning in the GNU ld
+	# block says, versions before 2.19.5* couldn't really create working
+	# shared libraries, regardless of the interface used.
+	case `$LD -v 2>&1` in
+	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+	  *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+	  *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+	  *)
+	    lt_use_gnu_ld_interface=yes
+	    ;;
+	esac
+	;;
+      *)
+	lt_use_gnu_ld_interface=yes
+	;;
+    esac
+  fi
+
+  if test "$lt_use_gnu_ld_interface" = yes; then
     # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'
 
@@ -4241,11 +4269,12 @@ dnl Note also adjust exclude_expsyms for C++ above.
 	_LT_TAGVAR(ld_shlibs, $1)=no
 	cat <<_LT_EOF 1>&2
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** Warning: the GNU linker, at least up to release 2.19, is reported
 *** to be unable to reliably create shared libraries on AIX.
 *** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
 
 _LT_EOF
       fi
@@ -4500,8 +4529,10 @@ _LT_EOF
       else
 	# If we're using GNU nm, then we don't want the "-C" option.
 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
+	# Also, AIX nm treats weak defined symbols like other global
+	# defined symbols, whereas GNU nm marks them as "W".
 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 	else
 	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 	fi
@@ -4605,8 +4636,13 @@ _LT_EOF
 	  # -berok will link without error, but may produce a broken library.
 	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-	  # Exported symbols can be pulled into shared objects from archives
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	  if test "$with_gnu_ld" = yes; then
+	    # We only use this code for GNU lds that support --whole-archive.
+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+	  else
+	    # Exported symbols can be pulled into shared objects from archives
+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	  fi
 	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 	  # This is similar to how AIX traditionally builds its shared libraries.
 	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -5546,8 +5582,13 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # -berok will link without error, but may produce a broken library.
 	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-	    # Exported symbols can be pulled into shared objects from archives
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	    if test "$with_gnu_ld" = yes; then
+	      # We only use this code for GNU lds that support --whole-archive.
+	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+	    else
+	      # Exported symbols can be pulled into shared objects from archives
+	      _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	    fi
 	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 	    # This is similar to how AIX traditionally builds its shared
 	    # libraries.


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 07 03:03:55 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MDCQ7-0006fJ-60
	for mharc-libtool-commit@gnu.org; Sun, 07 Jun 2009 03:03:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MDCQ5-0006fE-5P
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:03:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MDCQ3-0006f2-F2
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:03:51 -0400
Received: from [199.232.76.173] (port=37153 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MDCQ3-0006ez-9E
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:03:51 -0400
Received: from savannah.gnu.org ([199.232.41.3]:51724 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 1MDCQ2-0001ax-Ep
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:03:50 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDCPy-0007UR-47
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 07:03:46 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDCPx-0007Tw-Lm
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 07:03:46 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2af6f65468e1890da42b32baeac3054a756c0e72
X-Git-Newrev: e3095b37d09aa637c465b3099781bf5d69f9f059
Message-Id: <E1MDCPx-0007Tw-Lm@cvs.savannah.gnu.org>
Date: Sun, 07 Jun 2009 07:03:45 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-120-ge3095b3
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2009 07:03:53 -0000

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

The branch, master has been updated
       via  e3095b37d09aa637c465b3099781bf5d69f9f059 (commit)
      from  2af6f65468e1890da42b32baeac3054a756c0e72 (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 e3095b37d09aa637c465b3099781bf5d69f9f059
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 7 09:01:12 2009 +0200

    Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
    <sys_lib_dlsearch_path_spec>: Remove embedded double quotes from
    paths picked up from /etc/ld.so.conf.  Fixes libltdl compile
    failure on Ubuntu 7.10.
    * THANKS: Update.
    Report by Camilo La Rota.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index e278549..8220712 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
+	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
+	<sys_lib_dlsearch_path_spec>: Remove embedded double quotes from
+	paths picked up from /etc/ld.so.conf.  Fixes libltdl compile
+	failure on Ubuntu 7.10.
+	* THANKS: Update.
+	Report by Camilo La Rota.
+
 2009-06-06  Richard Sandiford  <richards@transitive.com>
 
 	Fix GNU nm invocation for AIX.
diff --git a/THANKS b/THANKS
index 9bf16db..51c99cc 100644
--- a/THANKS
+++ b/THANKS
@@ -76,6 +76,7 @@
   Brad Smith			brad@comstyle.com
   Brian Barrett			brbarret@osl.iu.edu
   Bruno Haible			haible@ilog.fr
+  Camilo La Rota		camilo.larota@ens-lyon.fr
   Carl D. Roth			roth@cse.ucsc.edu
   Chris P. Ross			cross@eng.us.uu.net
   Christian Biesinger		cbiesinger@web.de
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a7d9bf5..0670980 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2416,7 +2416,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 07 03:26:34 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MDCm2-0005y4-PX
	for mharc-libtool-commit@gnu.org; Sun, 07 Jun 2009 03:26:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MDCm1-0005wU-IY
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:26:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MDCm0-0005vd-Rr
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:26:33 -0400
Received: from [199.232.76.173] (port=59529 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MDCm0-0005vN-J1
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:26:32 -0400
Received: from savannah.gnu.org ([199.232.41.3]:48272 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 1MDCm0-0005Q2-5f
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 03:26:32 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDClz-00019P-J9
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 07:26:31 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDClx-00018U-3V
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 07:26: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: e3095b37d09aa637c465b3099781bf5d69f9f059
X-Git-Newrev: 1f4a1d723744feddc05a77bc687366c286950651
Message-Id: <E1MDClx-00018U-3V@cvs.savannah.gnu.org>
Date: Sun, 07 Jun 2009 07:26:29 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-121-g1f4a1d7
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2009 07:26:33 -0000

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

The branch, master has been updated
       via  1f4a1d723744feddc05a77bc687366c286950651 (commit)
      from  e3095b37d09aa637c465b3099781bf5d69f9f059 (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 1f4a1d723744feddc05a77bc687366c286950651
Author: Vincent Torri <vtorri@univ-evry.fr>
Date:   Sun Jun 7 09:25:45 2009 +0200

    Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
    
    * libltdl/config/ltmain.m4sh (func_mode_link): do not generate
    C wrapper for cegcc and mingw32ce hosts.
    (func_emit_cwrapperexe_src): remove useless check on
    __MINGW32CE__.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 8220712..7438abf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-07  Vincent Torri  <vtorri@univ-evry.fr>  (tiny change)
+
+	Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
+	* libltdl/config/ltmain.m4sh (func_mode_link): do not generate
+	C wrapper for cegcc and mingw32ce hosts.
+	(func_emit_cwrapperexe_src): remove useless check on
+	__MINGW32CE__.
+
 2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 5609304..72660a8 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2738,9 +2738,7 @@ EOF
 #include <assert.h>
 #include <string.h>
 #include <ctype.h>
-#ifndef __MINGW32CE__
-# include <errno.h>
-#endif
+#include <errno.h>
 #include <fcntl.h>
 #include <sys/stat.h>
 
@@ -2770,7 +2768,7 @@ int setenv (const char *, const char *, int);
 #  define _INTPTR_T_DEFINED
 #  define intptr_t int
 # endif
-#elif defined(__MINGW32__) && !defined(__MINGW32CE__)
+#elif defined(__MINGW32__)
 # define setmode _setmode
 # define stat    _stat
 # define chmod   _chmod
@@ -3145,11 +3143,7 @@ EOF
   if (rval == -1)
     {
       /* failed to start process */
-#ifndef __MINGW32CE__
       LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
-#else
-      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\"\n", lt_argv_zero));
-#endif
       return 127;
     }
   return rval;
@@ -3378,12 +3372,8 @@ chase_symlinks (const char *pathspec)
 	}
       else
 	{
-#ifndef __MINGW32CE__
 	  char *errstr = strerror (errno);
 	  lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
-#else
-	  lt_fatal ("Error accessing file %s", tmp_pathspec);
-#endif
 	}
     }
   XFREE (tmp_pathspec);
@@ -7411,15 +7401,15 @@ EOF
 
       wrappers_required=yes
       case $host in
+      *cegcc* | *mingw32ce*)
+        # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+        wrappers_required=no
+        ;;
       *cygwin* | *mingw* )
         if test "$build_libtool_libs" != yes; then
           wrappers_required=no
         fi
         ;;
-      *cegcc*)
-        # Disable wrappers for cegcc, we are cross compiling anyway.
-        wrappers_required=no
-        ;;
       *)
         if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
           wrappers_required=no


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 07 05:45:15 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MDEwE-0007eP-Oi
	for mharc-libtool-commit@gnu.org; Sun, 07 Jun 2009 05:45:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MDEwC-0007dA-MR
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:45:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MDEwA-0007bA-R8
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:45:11 -0400
Received: from [199.232.76.173] (port=49580 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MDEwA-0007at-9k
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:45:10 -0400
Received: from savannah.gnu.org ([199.232.41.3]:33605 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 1MDEw9-0004TG-Rg
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:45:10 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDEw9-00060b-2F
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 09:45:09 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDEw7-0005zh-Np
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 09:45:08 +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: 1f4a1d723744feddc05a77bc687366c286950651
X-Git-Newrev: 740565c4fdd69be05a0a5d118bf6c77a51498bcf
Message-Id: <E1MDEw7-0005zh-Np@cvs.savannah.gnu.org>
Date: Sun, 07 Jun 2009 09:45:08 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-122-g740565c
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2009 09:45:13 -0000

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

The branch, master has been updated
       via  740565c4fdd69be05a0a5d118bf6c77a51498bcf (commit)
      from  1f4a1d723744feddc05a77bc687366c286950651 (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 740565c4fdd69be05a0a5d118bf6c77a51498bcf
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 7 11:42:17 2009 +0200

    testsuite: cope when some installed libltdl.la has been removed.
    
    * tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl
    to configure, to ensure we do not accidentally link against a
    previously installed libltdl.so where the corresponding .la
    file has been removed, thus we do not add a run path, and the
    runtime linker then fails to find libltdl.so.7.
    * tests/configure-iface.at (--with-ltdl-include/lib): Remove -L
    flags from LDFLAGS to avoid picking up an installed libltdl
    outside of the default locations.
    * THANKS: Update.
    Prompted by report from Patrice Fromy.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                |   14 ++++++++++++++
 THANKS                   |    1 +
 tests/configure-iface.at |   12 ++++++++++++
 tests/old-m4-iface.at    |    6 ++++--
 4 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7438abf..bb2989f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	testsuite: cope when some installed libltdl.la has been removed.
+	* tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl
+	to configure, to ensure we do not accidentally link against a
+	previously installed libltdl.so where the corresponding .la
+	file has been removed, thus we do not add a run path, and the
+	runtime linker then fails to find libltdl.so.7.
+	* tests/configure-iface.at (--with-ltdl-include/lib): Remove -L
+	flags from LDFLAGS to avoid picking up an installed libltdl
+	outside of the default locations.
+	* THANKS: Update.
+	Prompted by report from Patrice Fromy.
+
 2009-06-07  Vincent Torri  <vtorri@univ-evry.fr>  (tiny change)
 
 	Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
diff --git a/THANKS b/THANKS
index 51c99cc..928bef5 100644
--- a/THANKS
+++ b/THANKS
@@ -127,6 +127,7 @@
   Nix				nix@esperi.org.uk
   Olaf Lenz			olenz@fias.uni-frankfurt.de
   Olly Betts			olly@muscat.co.uk
+  Patrice Fromy			patrice.fromy@u-psud.fr
   Patrick Welche		prlw1@newn.cam.ac.uk
   Paul Biggar			paul.biggar@gmail.com
   Paul Eggert			eggert@twinsun.com
diff --git a/tests/configure-iface.at b/tests/configure-iface.at
index 77e2ebc..59738e0 100644
--- a/tests/configure-iface.at
+++ b/tests/configure-iface.at
@@ -204,6 +204,18 @@ main_LDADD		= $(LIBLTDL)
 main_DEPENDENCIES	= $(LTDLDEPS) libmodule.la
 ]])
 
+## Try to avoid linking against a previously installed libltdl found
+## with an explicit -L/path.
+save_LDFLAGS=$LDFLAGS
+LDFLAGS=
+for l in $save_LDFLAGS
+do
+  case $l in
+  -L*) ;;
+  *) LDFLAGS="$LDFLAGS $l" ;;
+  esac
+done
+
 # We don't use 'libtoolize --ltdl', so that we get an error if the test
 # tries to build and link against its own ltdl sources:
 LT_AT_BOOTSTRAP([], [-I _inst/aclocal], [], [--add-missing], [],
diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at
index 1e374d4..64f7e60 100644
--- a/tests/old-m4-iface.at
+++ b/tests/old-m4-iface.at
@@ -1,6 +1,6 @@
 # old-m4-iface.at -- exercise old m4 interface to libtool     -*- Autotest -*-
 #
-#   Copyright (C) 2005, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2005
 #
 #   This file is part of GNU Libtool.
@@ -155,8 +155,10 @@ ltdldemo@EXEEXT@: main.@OBJEXT@ module.la libltdl/libltdlc.la
 	$(LTCOMPILE) -c -o $@ $<
 ]])
 
+# Be sure to use the in-tree libltdl, somebody might have removed
+# an installed libltdl.la file.
 LT_AT_BOOTSTRAP([--ltdl --install], [-I libltdl/m4], [ignore], [ignore],
-	[--force])
+	[--force], [--with-included-ltdl])
 
 LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore])
 


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 07 05:59:30 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MDFA1-0000aI-Tt
	for mharc-libtool-commit@gnu.org; Sun, 07 Jun 2009 05:59:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MDFA0-0000Yt-Jo
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:59:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MDF9z-0000Xt-R3
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:59:27 -0400
Received: from [199.232.76.173] (port=49836 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MDF9z-0000Xe-BH
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:59:27 -0400
Received: from savannah.gnu.org ([199.232.41.3]:43009 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 1MDF9y-0006oK-Nf
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 05:59:26 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDF9y-0007Ce-7v
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 09:59:26 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDF9x-0007C9-VW
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 09:59:26 +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: 740565c4fdd69be05a0a5d118bf6c77a51498bcf
X-Git-Newrev: d812c6326b9f1206715f1125970805a05a856e32
Message-Id: <E1MDF9x-0007C9-VW@cvs.savannah.gnu.org>
Date: Sun, 07 Jun 2009 09:59:26 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-123-gd812c63
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2009 09:59:28 -0000

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

The branch, master has been updated
       via  d812c6326b9f1206715f1125970805a05a856e32 (commit)
      from  740565c4fdd69be05a0a5d118bf6c77a51498bcf (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 d812c6326b9f1206715f1125970805a05a856e32
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 7 11:58:59 2009 +0200

    testsuite: add missing @LIBS@ in a link command line.
    
    * tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking.
    Report by Patrice Fromy.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index bb2989f..2b31d08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	testsuite: add missing @LIBS@ in a link command line.
+	* tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking.
+	Report by Patrice Fromy.
+
 	testsuite: cope when some installed libltdl.la has been removed.
 	* tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl
 	to configure, to ensure we do not accidentally link against a
diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at
index 64f7e60..cb823a2 100644
--- a/tests/old-m4-iface.at
+++ b/tests/old-m4-iface.at
@@ -143,7 +143,7 @@ module.la: module.lo
 	$(LTLINK) module.lo -module -avoid-version -rpath /dev/null
 
 ltdldemo@EXEEXT@: main.@OBJEXT@ module.la libltdl/libltdlc.la
-	$(LTLINK) main.@OBJEXT@ -dlopen module.la @LIBLTDL@
+	$(LTLINK) main.@OBJEXT@ -dlopen module.la @LIBLTDL@ @LIBS@
 
 .SUFFIXES:
 .SUFFIXES: .c .@OBJEXT@ .lo


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 07 06:04:13 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MDFEb-0002Or-EF
	for mharc-libtool-commit@gnu.org; Sun, 07 Jun 2009 06:04:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MDFEW-0002NZ-LW
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 06:04:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MDFEV-0002NE-BC
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 06:04:07 -0400
Received: from [199.232.76.173] (port=50780 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MDFEU-0002N3-Rw
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 06:04:06 -0400
Received: from savannah.gnu.org ([199.232.41.3]:38110 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 1MDFEU-0007Zx-8R
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 06:04:06 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDFET-0007j6-UU
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 10:04:05 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDFET-0007iY-Kn
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 10:04: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: d812c6326b9f1206715f1125970805a05a856e32
X-Git-Newrev: f578833bb8bd54092ce74f48ab07a26fdad28727
Message-Id: <E1MDFET-0007iY-Kn@cvs.savannah.gnu.org>
Date: Sun, 07 Jun 2009 10:04:05 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-124-gf578833
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2009 10:04: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  f578833bb8bd54092ce74f48ab07a26fdad28727 (commit)
      from  d812c6326b9f1206715f1125970805a05a856e32 (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 f578833bb8bd54092ce74f48ab07a26fdad28727
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 7 12:01:56 2009 +0200

    testsuite: avoid failures due to old Automake.
    
    * tests/configure-iface.at (installable libltdl)
    (--with-ltdl-include/lib, --with-included-ltdl):
    Speficy libmodule_la_SOURCES in Makefile.am as the default
    source file naming scheme changed in Automake 1.8.
    * tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake
    1.9.6.
    * THANKS: Update.
    Report by Robert Garron.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                |   10 ++++++++++
 THANKS                   |    1 +
 tests/configure-iface.at |    9 +++++++++
 tests/nonrecursive.at    |    4 ++--
 4 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2b31d08..e83a2fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	testsuite: avoid failures due to old Automake.
+	* tests/configure-iface.at (installable libltdl)
+	(--with-ltdl-include/lib, --with-included-ltdl):
+	Speficy libmodule_la_SOURCES in Makefile.am as the default
+	source file naming scheme changed in Automake 1.8.
+	* tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake
+	1.9.6.
+	* THANKS: Update.
+	Report by Robert Garron.
+
 	testsuite: add missing @LIBS@ in a link command line.
 	* tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking.
 	Report by Patrice Fromy.
diff --git a/THANKS b/THANKS
index 928bef5..70e299d 100644
--- a/THANKS
+++ b/THANKS
@@ -140,6 +140,7 @@
   Ralf Menzel			menzel@ls6.cs.uni-dortmund.de
   Richard Purdie		rpurdie@rpsys.net
   Richard Sandiford		richards@transitive.com
+  Robert Garron			Robert.Garron@Access3000.net
   Robert Millan			rmh@aybabtu.com
   Robert Ögren			lists@roboros.com
   Roberto Bagnara		bagnara@cs.unipr.it
diff --git a/tests/configure-iface.at b/tests/configure-iface.at
index 59738e0..2071646 100644
--- a/tests/configure-iface.at
+++ b/tests/configure-iface.at
@@ -127,6 +127,9 @@ SUBDIRS			= libltdl
 AM_CPPFLAGS		= $(LTDLINCL)
 
 lib_LTLIBRARIES		= libmodule.la
+# Automake < 1.8 will use libmodule.la.c as default source,
+# while newer will choose libmodule.c; so specify it here.
+libmodule_la_SOURCES	= libmodule.c
 libmodule_la_LDFLAGS	= -module
 
 bin_PROGRAMS		= main
@@ -196,6 +199,9 @@ AT_DATA([Makefile.am],
 AM_CPPFLAGS		= $(LTDLINCL)
 
 lib_LTLIBRARIES		= libmodule.la
+# Automake < 1.8 will use libmodule.la.c as default source,
+# while newer will choose libmodule.c; so specify it here.
+libmodule_la_SOURCES	= libmodule.c
 libmodule_la_LDFLAGS	= -module
 
 bin_PROGRAMS		= main
@@ -262,6 +268,9 @@ SUBDIRS			= libltdl
 AM_CPPFLAGS		= $(LTDLINCL)
 
 lib_LTLIBRARIES		= libmodule.la
+# Automake < 1.8 will use libmodule.la.c as default source,
+# while newer will choose libmodule.c; so specify it here.
+libmodule_la_SOURCES	= libmodule.c
 libmodule_la_LDFLAGS	= -module
 
 bin_PROGRAMS		= main
diff --git a/tests/nonrecursive.at b/tests/nonrecursive.at
index 0ccabe8..d37ec05 100644
--- a/tests/nonrecursive.at
+++ b/tests/nonrecursive.at
@@ -1,6 +1,6 @@
 # nonrecursive.at -- test nonrecursive Automake Libltdl       -*- Autotest -*-
 #
-#   Copyright (C) 2005, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2005
 #
 #   This file is part of GNU Libtool.
@@ -46,7 +46,7 @@ AC_OUTPUT
 
 AT_DATA([Makefile.am],
 [[ACLOCAL_AMFLAGS = -I ltdl/m4
-AUTOMAKE_OPTIONS	= 1.7
+AUTOMAKE_OPTIONS	= 1.9.6
 BUILT_SOURCES		=
 
 AM_CPPFLAGS		=


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 07 10:40:20 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MDJXo-0005Xh-7o
	for mharc-libtool-commit@gnu.org; Sun, 07 Jun 2009 10:40:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MDJXm-0005UG-CQ
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 10:40:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MDJXk-0005SO-Ud
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 10:40:17 -0400
Received: from [199.232.76.173] (port=47462 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MDJXk-0005SF-AZ
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 10:40:16 -0400
Received: from savannah.gnu.org ([199.232.41.3]:56762 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 1MDJXj-0008Qw-Kt
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 10:40:15 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDJXi-0005ZW-VW
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 14:40:15 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MDJXd-0005Y9-9J
	for libtool-commit@gnu.org; Sun, 07 Jun 2009 14:40: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: f578833bb8bd54092ce74f48ab07a26fdad28727
X-Git-Newrev: efe1cfec710dbd06987fed02ec4d70d5c6630322
Message-Id: <E1MDJXd-0005Y9-9J@cvs.savannah.gnu.org>
Date: Sun, 07 Jun 2009 14:40:10 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-125-gefe1cfe
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2009 14:40:18 -0000

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

The branch, master has been updated
       via  efe1cfec710dbd06987fed02ec4d70d5c6630322 (commit)
      from  f578833bb8bd54092ce74f48ab07a26fdad28727 (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 efe1cfec710dbd06987fed02ec4d70d5c6630322
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 7 16:35:11 2009 +0200

    Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
    
    * tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
    build moddepend for systems without shared libraries.
    Report by Alan Hourihane.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index e83a2fa..596abea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
+	* tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
+	build moddepend for systems without shared libraries.
+	Report by Alan Hourihane.
+
 	testsuite: avoid failures due to old Automake.
 	* tests/configure-iface.at (installable libltdl)
 	(--with-ltdl-include/lib, --with-included-ltdl):
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index 3bf9bee..cdbe91d 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -1,6 +1,6 @@
 # lt_dladvise.at -- test libltdl functionality                -*- Autotest -*-
 #
-#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2007
 #
 #   This file is part of GNU Libtool.
@@ -318,8 +318,11 @@ dlpreloadable='preload'
 # are reporting not able to accept the global hint to lt_dlopenadvise().    #
 # ------------------------------------------------------------------------- #
 
-case $host_os in
-cygwin* | mingw* | cegcc*)
+have_shared=false
+$LIBTOOL --features | grep 'enable shared libraries' >/dev/null && have_shared=:
+
+case $host_os,$have_shared in
+cygwin* | mingw* | cegcc* | *,false)
   # These hosts do not support linking without -no-undefined
   CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0"
   ;;


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Wed Jun 10 13:48:15 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MERuI-0006m0-SZ
	for mharc-libtool-commit@gnu.org; Wed, 10 Jun 2009 13:48:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MERuH-0006lP-1h
	for libtool-commit@gnu.org; Wed, 10 Jun 2009 13:48:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MERuG-0006kz-75
	for libtool-commit@gnu.org; Wed, 10 Jun 2009 13:48:12 -0400
Received: from [199.232.76.173] (port=40472 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MERuG-0006ku-1d
	for libtool-commit@gnu.org; Wed, 10 Jun 2009 13:48:12 -0400
Received: from savannah.gnu.org ([199.232.41.3]:59205 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 1MERuE-0003Ct-Oq
	for libtool-commit@gnu.org; Wed, 10 Jun 2009 13:48:11 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MERu5-0005cn-Rl
	for libtool-commit@gnu.org; Wed, 10 Jun 2009 17:48:01 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MERu5-0005cF-6P
	for libtool-commit@gnu.org; Wed, 10 Jun 2009 17:48:01 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: efe1cfec710dbd06987fed02ec4d70d5c6630322
X-Git-Newrev: b04fe8e6da2b5bed914911bfd8567ba9e93da40b
Message-Id: <E1MERu5-0005cF-6P@cvs.savannah.gnu.org>
Date: Wed, 10 Jun 2009 17:48:01 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-126-gb04fe8e
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, 10 Jun 2009 17:48:13 -0000

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

The branch, master has been updated
       via  b04fe8e6da2b5bed914911bfd8567ba9e93da40b (commit)
      from  efe1cfec710dbd06987fed02ec4d70d5c6630322 (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 b04fe8e6da2b5bed914911bfd8567ba9e93da40b
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Wed Jun 10 19:47:33 2009 +0200

    Fix concurrent extraction of convenience libraries on Darwin.
    
    * libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): New libtool
    variable `lock_old_archive_extraction', set to `yes' on darwin.
    * doc/libtool.texi (libtool script contents): Document it.
    * libltdl/config/ltmain.m4sh (func_extract_an_archive): Lock
    `ar x' invocation if `lock_old_archive_extraction' is yes.
    * tests/darwin.at (darwin concurrent library extraction): New
    test.
    * NEWS: Update.
    Report by Akim Demaille.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   13 +++++++++++
 NEWS                       |    3 ++
 doc/libtool.texi           |    5 ++++
 libltdl/config/ltmain.m4sh |   13 ++++++++++-
 libltdl/m4/libtool.m4      |    9 +++++++
 tests/darwin.at            |   52 +++++++++++++++++++++++++++++++++++++++++++-
 6 files changed, 93 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 596abea..0eedffd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2009-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix concurrent extraction of convenience libraries on Darwin.
+	* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): New libtool
+	variable `lock_old_archive_extraction', set to `yes' on darwin.
+	* doc/libtool.texi (libtool script contents): Document it.
+	* libltdl/config/ltmain.m4sh (func_extract_an_archive): Lock
+	`ar x' invocation if `lock_old_archive_extraction' is yes.
+	* tests/darwin.at (darwin concurrent library extraction): New
+	test.
+	* NEWS: Update.
+	Report by Akim Demaille.
+
 2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
diff --git a/NEWS b/NEWS
index 3656acd..5a57891 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,9 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
     The regression affected mainly (arguably broken) cross compiles.
   - Fix long standing bug that caused compiler checks for Fortran and
     C++ compilers to run twice.
+  - Link mode works around a parallel build failure on Darwin 9.6.0 due
+    to the `ar' `flock'ing an archive upon extraction, by protecting the
+    extraction of convenience archives with a lock.
 
 * Miscellaneous changes:
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 5e25531..a7872c6 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -5670,6 +5670,11 @@ these commands, libtool will proceed to link against @var{$objdir/$newlib}
 instead of @var{soname}.
 @end defvar
 
+@defvar lock_old_archive_extraction
+Set to @samp{yes} if the extraction of a static library requires locking
+the library file.  This is required on Darwin.
+@end defvar
+
 @defvar build
 @defvarx build_alias
 @defvarx build_os
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 72660a8..02f4d21 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2222,7 +2222,18 @@ func_extract_an_archive ()
     $opt_debug
     f_ex_an_ar_dir="$1"; shift
     f_ex_an_ar_oldlib="$1"
-    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
+    if test "$lock_old_archive_extraction" = yes; then
+      lockfile=$f_ex_an_ar_oldlib.lock
+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+	func_echo "Waiting for $lockfile to be removed"
+	sleep 2
+      done
+    fi
+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+		   'stat=$?; rm -f "$lockfile"; exit $stat'
+    if test "$lock_old_archive_extraction" = yes; then
+      $opt_dry_run || rm -f "$lockfile"
+    fi
     if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
      :
     else
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 0670980..5f24fab 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1312,10 +1312,19 @@ if test -n "$RANLIB"; then
   esac
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 fi
+
+case $host_os in
+  darwin*)
+    lock_old_archive_extraction=yes ;;
+  *)
+    lock_old_archive_extraction=no ;;
+esac
 _LT_DECL([], [old_postinstall_cmds], [2])
 _LT_DECL([], [old_postuninstall_cmds], [2])
 _LT_TAGDECL([], [old_archive_cmds], [2],
     [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+    [Whether to use a lock for old archive extraction])
 ])# _LT_CMD_OLD_ARCHIVE
 
 
diff --git a/tests/darwin.at b/tests/darwin.at
index 6284116..8884fd2 100644
--- a/tests/darwin.at
+++ b/tests/darwin.at
@@ -1,6 +1,6 @@
 # darwin.at - tests specific to Mac OS X
 #
-#   Copyright (C) 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 #   Written by Peter O'Gorman, 2008
 #
 #   This file is part of GNU Libtool.
@@ -98,3 +98,53 @@ AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $L
 
 PATH=$save_PATH
 AT_CLEANUP
+
+
+AT_SETUP([darwin concurrent library extraction])
+
+AT_DATA([foo.c], [[
+int foo (void) { return 0; }
+]])
+
+AT_DATA([bar.c], [[
+extern int foo1 (void);
+int bar (void) { return foo1 (); }
+]])
+cp bar.c baz.c
+
+objects=
+for obj in 1 2 3 4 5 6 7 8; do
+  sed "s/foo/foo$obj/" < foo.c > foo$obj.c
+  AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c foo$obj.c],
+	   [], [ignore], [ignore])
+  objects="$objects foo$obj.lo"
+done
+AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c bar.c],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c baz.c],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o libfoo.la $objects],
+	 [], [ignore], [ignore])
+
+# Hypothesis: concurrent convenience archive extraction works.
+for i in 1 2 3 4 5; do
+  rm -f libbar.la libbaz.la
+  AT_CHECK([($LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS ]dnl
+	   [  -o libbar.la bar.lo -rpath /foo libfoo.la) & ]dnl
+	   [($LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS ]dnl
+	   [  -o libbaz.la baz.lo -rpath /foo libfoo.la) & ]dnl
+	   [wait; test -f libbar.la && test -f libbaz.la],
+	   [], [ignore], [ignore])
+done
+
+# Hypothesis: the lock is not used in dry run mode.
+eval "`$LIBTOOL --config | $EGREP '^(objdir)='`"
+# Next line is internal detail.
+lockfile=$objdir/libfoo.a.lock
+echo stamp > $lockfile
+AT_CHECK([$LIBTOOL --dry-run --mode=link $CC $CFLAGS $LDFLAGS ]dnl
+	 [ -o libbar.la bar.lo -rpath /foo libfoo.la],
+	 [], [ignore], [ignore])
+AT_CHECK([grep stamp $lockfile], [], [ignore])
+
+AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 14 05:37:54 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MFm9x-00076F-Sn
	for mharc-libtool-commit@gnu.org; Sun, 14 Jun 2009 05:37:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MFm9w-00075v-Sm
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:37:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MFm9v-00075T-TX
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:37:52 -0400
Received: from [199.232.76.173] (port=35225 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MFm9v-00075M-E0
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:37:51 -0400
Received: from savannah.gnu.org ([199.232.41.3]:46235 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 1MFm9v-0008DI-0n
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:37:51 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MFm9u-00059j-3D
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 09:37:50 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MFm9t-00059D-JL
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 09:37:50 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: b04fe8e6da2b5bed914911bfd8567ba9e93da40b
X-Git-Newrev: 8a08afac5d4f560a0fdd53611e9db680a3a5145c
Message-Id: <E1MFm9t-00059D-JL@cvs.savannah.gnu.org>
Date: Sun, 14 Jun 2009 09:37:49 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-127-g8a08afa
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jun 2009 09:37:53 -0000

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

The branch, master has been updated
       via  8a08afac5d4f560a0fdd53611e9db680a3a5145c (commit)
      from  b04fe8e6da2b5bed914911bfd8567ba9e93da40b (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 8a08afac5d4f560a0fdd53611e9db680a3a5145c
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 14 11:35:59 2009 +0200

    Avoid spurious localization testsuite failure on HP-UX/ia64.
    
    * tests/localization.at (localized compiler messages): Skip test
    if the compiler warning output contains `locale', for HP-UX.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 0eedffd..fbc3537 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Avoid spurious localization testsuite failure on HP-UX/ia64.
+	* tests/localization.at (localized compiler messages): Skip test
+	if the compiler warning output contains `locale', for HP-UX.
+
 2009-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix concurrent extraction of convenience libraries on Darwin.
diff --git a/tests/localization.at b/tests/localization.at
index 1d689aa..71cdad4 100644
--- a/tests/localization.at
+++ b/tests/localization.at
@@ -49,9 +49,16 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit
 	 [1], [stdout], [stderr])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr])
-# Avoid this error:
+# Avoid these errors:
+# GNU/Linux:
 #   /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE)
-AT_CHECK([grep LC_ALL stdout stderr && exit 77], [1])
+# HP-UX:
+#   Warning! One or more of your selected locales are not available.
+#   Please invoke the commands "locale" and "locale -a" to verify your
+#   selections and the available locales.
+#
+#   Continuing processing using the "C" locale.
+AT_CHECK([grep locale stdout stderr && exit 77], [1])
 AT_CHECK([diff expected-stderr libtool-stderr])
 AT_CHECK([diff expected-stdout libtool-stdout])
 


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 14 05:46:13 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MFmI0-0000qc-QO
	for mharc-libtool-commit@gnu.org; Sun, 14 Jun 2009 05:46:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MFmHz-0000qE-F4
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:46:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MFmHy-0000pr-Nj
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:46:10 -0400
Received: from [199.232.76.173] (port=42017 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MFmHy-0000pm-IQ
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:46:10 -0400
Received: from savannah.gnu.org ([199.232.41.3]:34855 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 1MFmHy-0002r5-5i
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 05:46:10 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MFmHx-0006Uf-9z
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 09:46:09 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MFmHw-0006U7-Ps
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 09:46:09 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 8a08afac5d4f560a0fdd53611e9db680a3a5145c
X-Git-Newrev: 6769a76d6bbcc55b70b1c7279b7226aaa33d65b5
Message-Id: <E1MFmHw-0006U7-Ps@cvs.savannah.gnu.org>
Date: Sun, 14 Jun 2009 09:46:08 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-128-g6769a76
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jun 2009 09:46:11 -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  6769a76d6bbcc55b70b1c7279b7226aaa33d65b5 (commit)
      from  8a08afac5d4f560a0fdd53611e9db680a3a5145c (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 6769a76d6bbcc55b70b1c7279b7226aaa33d65b5
Author: Mike Gorchak <mike@malva.ua>
Date:   Sun Jun 14 11:42:09 2009 +0200

    Fix versioning computation for QNX.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Set `$current'
    and `$age' properly for version_type `qnx'.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index fbc3537..d898619 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-14  Mike Gorchak  <mike@malva.ua>  (tiny change)
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix versioning computation for QNX.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Set `$current'
+	and `$age' properly for version_type `qnx'.
+
 2009-06-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Avoid spurious localization testsuite failure on HP-UX/ia64.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 02f4d21..6f44d35 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5928,7 +5928,7 @@ func_mode_link ()
 	    age="$number_minor"
 	    revision="$number_revision"
 	    ;;
-	  freebsd-aout|freebsd-elf|sunos)
+	  freebsd-aout|freebsd-elf|qnx|sunos)
 	    current="$number_major"
 	    revision="$number_minor"
 	    age="0"


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 14 06:11:47 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MFmgk-0000tG-RN
	for mharc-libtool-commit@gnu.org; Sun, 14 Jun 2009 06:11:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MFmgj-0000p6-6T
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 06:11:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MFmgh-0000l4-Lj
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 06:11:44 -0400
Received: from [199.232.76.173] (port=56406 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MFmgh-0000kR-Ed
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 06:11:43 -0400
Received: from savannah.gnu.org ([199.232.41.3]:49548 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 1MFmgh-0008Cu-3L
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 06:11:43 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MFmgg-00011U-NL
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 10:11:42 +0000
Received: from rwild by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MFmgg-00010x-6W
	for libtool-commit@gnu.org; Sun, 14 Jun 2009 10:11:42 +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: 6769a76d6bbcc55b70b1c7279b7226aaa33d65b5
X-Git-Newrev: 2772d14559c584d142e44fdea69124ce62285b40
Message-Id: <E1MFmgg-00010x-6W@cvs.savannah.gnu.org>
Date: Sun, 14 Jun 2009 10:11:42 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-129-g2772d14
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jun 2009 10:11:45 -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  2772d14559c584d142e44fdea69124ce62285b40 (commit)
      from  6769a76d6bbcc55b70b1c7279b7226aaa33d65b5 (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 2772d14559c584d142e44fdea69124ce62285b40
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Jun 14 12:03:31 2009 +0200

    Add versioning tests.
    
    * tests/versioning.at (versioning): New file, new test.
    * Makefile.am (TESTSUITE_AT): Adjust.
    Prompted by bug report from Mike Gorchak.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog           |    7 ++
 Makefile.am         |    1 +
 tests/versioning.at |  239 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 247 insertions(+), 0 deletions(-)
 create mode 100644 tests/versioning.at

diff --git a/ChangeLog b/ChangeLog
index d898619..4d12190 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Add versioning tests.
+	* tests/versioning.at (versioning): New file, new test.
+	* Makefile.am (TESTSUITE_AT): Adjust.
+	Prompted by bug report from Mike Gorchak.
+
 2009-06-14  Mike Gorchak  <mike@malva.ua>  (tiny change)
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/Makefile.am b/Makefile.am
index c49f749..a18955e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -472,6 +472,7 @@ TESTSUITE_AT	= tests/testsuite.at \
 		  tests/infer-tag.at \
 		  tests/localization.at \
 		  tests/install.at \
+		  tests/versioning.at \
 		  tests/destdir.at \
 		  tests/old-m4-iface.at \
 		  tests/am-subdir.at \
diff --git a/tests/versioning.at b/tests/versioning.at
new file mode 100644
index 0000000..136a549
--- /dev/null
+++ b/tests/versioning.at
@@ -0,0 +1,239 @@
+# versioning.at -- test libtool versioning           -*- Autotest -*-
+#
+#   Copyright (C) 2009 Free Software Foundation, Inc.
+#
+#   This file is part of GNU Libtool.
+#
+# GNU Libtool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# GNU Libtool is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING.  If not, a copy
+# can be downloaded from  http://www.gnu.org/licenses/gpl.html,
+# or obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+####
+
+AT_SETUP([versioning])
+AT_KEYWORDS([libtool])
+
+eval "`$LIBTOOL --config | $EGREP '^(objdir)='`"
+
+# Setup some library and program sources:
+# a library (a1), a new revision (a2), a compatible update (a3),
+# an incompatible update (a4).
+# Another library (libb) using liba, and a couple of programs,
+# using liba directly and indirectly through libb.
+
+AT_DATA([liba1.c], [[
+int a (void)
+{
+  return 0;
+}
+]])
+
+AT_DATA([liba2.c], [[
+/* The internal detail should be static.  It isn't static in this test,
+   so we can later find out that it's this revision of the library. */
+int internal_detail = 42;
+int a (void)
+{
+  return internal_detail - 42;
+}
+]])
+
+AT_DATA([liba3.c], [[
+int a (void)
+{
+  return 0;
+}
+int aa (void)
+{
+  return 0;
+}
+]])
+
+AT_DATA([liba4.c], [[
+int aa (void)
+{
+  return 0;
+}
+]])
+
+AT_DATA([libb.c], [[
+extern int a (void);
+int b (void)
+{
+  return a ();
+}
+]])
+
+AT_DATA([prog1.c], [[
+extern int a (void);
+int main (void)
+{
+  return a ();
+}
+]])
+
+AT_DATA([prog2.c], [[
+extern int b (void);
+int main (void)
+{
+  return b ();
+}
+]])
+
+AT_DATA([prog3.c], [[
+extern int a (void), internal_detail;
+int main (void)
+{
+  return a () + internal_detail - 42;
+}
+]])
+
+
+inst=`pwd`/inst
+libdir=$inst/lib
+bindir=$inst/bin
+mkdir $inst $libdir $bindir
+
+for file in liba1.c liba2.c liba3.c liba4.c libb.c; do
+  $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file
+done
+for file in prog1.c prog2.c prog3.c; do
+  $CC $CPPFLAGS $CFLAGS -c $file
+done
+
+# Setup is finished here.
+
+# Hypothesis: -version-info is ignored for convenience archives.
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
+	 [-version-info 0:0:0], [], [ignore], [stderr])
+AT_CHECK([grep 'version-info.*ignored for convenience' stderr], [], [ignore])
+
+# Hypothesis: the deprecated -version-number works.
+# Be sure not to use zero here, it's not portable.
+for version_number in 1 1:1 2:1 1:1:1 3:2:1; do
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
+	   [-version-number $version_number -rpath $libdir], [], [ignore], [ignore])
+done
+
+# Hypothesis: -version-info can be passed kinds of values, esp. zero ones
+# and large ones.
+# TODO: check something like 1001:2419:189 after fixing issues
+# for `version_type's of `irix', `nonstopux', or `osf'.
+for version_info in 1 1:2 0:0:0 1:1:1 13:241:7; do
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
+	   [-version-info $version_info -rpath $libdir], [], [ignore], [ignore])
+done
+
+# Hypothesis: we diagnose when AGE is higher than CURRENT.
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
+	 [-version-info 1:3:2 -rpath $libdir], [1], [ignore], [stderr])
+AT_CHECK([grep 'AGE.*is greater than' stderr], [], [ignore])
+
+# Hypothesis: we diagnose invalid values.
+for version_info in 1:2:3:4 -1 0:-1 0:0:-1; do
+  AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
+	   [-version-info $version_info -rpath $libdir], [1], [ignore], [ignore])
+done
+
+
+# Now, create an original version of the library and associated users.
+# This setup will be reused for further hypotheses below, and these
+# functions will be used to test working programs.
+
+test_uninstalled ()
+{
+  # temporarily move installed libraries out of the way in order to avoid
+  # skewing test results:
+  mv $libdir temp
+  LT_AT_EXEC_CHECK([./prog1])
+  LT_AT_EXEC_CHECK([./prog2])
+  mv temp $libdir
+}
+
+test_installed ()
+{
+  # temporarily move uninstalled libraries out of the way in order to avoid
+  # skewing test results:
+  mv $objdir temp
+  LT_AT_EXEC_CHECK([$bindir/prog1])
+  LT_AT_EXEC_CHECK([$bindir/prog2])
+  mv temp $objdir
+}
+
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba1.lo ]dnl
+	 [-version-info 0:0:0 -rpath $libdir], [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o libb.la libb.lo liba.la ]dnl
+	 [-version-info 0:0:0 -rpath $libdir], [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o prog1$EXEEXT prog1.$OBJEXT ]dnl
+	 [liba.la], [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o prog2$EXEEXT prog2.$OBJEXT ]dnl
+	 [libb.la], [], [ignore], [ignore])
+test_uninstalled
+AT_CHECK([$LIBTOOL --mode=install cp liba.la libb.la $libdir],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=install cp prog1$EXEEXT prog2$EXEEXT $bindir],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+test_installed
+AT_CHECK([$LIBTOOL --mode=uninstall rm -f $libdir/liba.la], [], [ignore], [ignore])
+
+
+# Hypothesis: library revision updates do not require (uninstalled
+# nor installed) programs to be relinked.
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba2.lo ]dnl
+	 [-version-info 0:1:0 -rpath $libdir], [], [ignore], [ignore])
+test_uninstalled
+AT_CHECK([$LIBTOOL --mode=install cp liba.la libb.la $libdir],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+test_installed
+# do not uninstall here: the library may be reused in the next test.
+
+# Hypothesis: backward compatible library updates do not require
+# (uninstalled nor installed) programs to be relinked.
+# This can have one of several reasons:
+# - the soname is the difference between $current and $age, thus
+#   unchanged; in this case, the newly installed library will be used,
+# - the soname is only $current, or we are linking statically, in which case
+#   the old installed library code will be used,
+# - the numbers are not encoded at all, in which case the newly installed
+#   library will be used.
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba3.lo ]dnl
+	 [-version-info 1:0:1 -rpath $libdir], [], [ignore], [ignore])
+# Do not test the uninstalled program, it may be broken (in the second case).
+AT_CHECK([$LIBTOOL --mode=install cp liba.la libb.la $libdir],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+test_installed
+# do not uninstall here: the library may be reused in the next test.
+
+
+# Hypothesis: with shared libraries, incompatible library updates
+# will not cause old installed programs (linked against the old
+# library version) to break.
+# This can have one of several reasons:
+# - the soname has changed, so the old installed library will still be
+#   available,
+# - we are linking statically, so the old library code will still be used.
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba4.lo ]dnl
+	 [-version-info 2:0:0 -rpath $libdir], [], [ignore], [ignore])
+# We do not guarantee that old versions of an uninstalled library are still
+# available, so test_uninstalled will not necessarily work here any more.
+AT_CHECK([$LIBTOOL --mode=install cp liba.la libb.la $libdir],
+	 [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+test_installed
+
+
+AT_CLEANUP


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sat Jun 20 04:15:45 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MHvjl-0002Be-QR
	for mharc-libtool-commit@gnu.org; Sat, 20 Jun 2009 04:15:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MHvjj-00029z-Sb
	for libtool-commit@gnu.org; Sat, 20 Jun 2009 04:15:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MHvji-00028r-SL
	for libtool-commit@gnu.org; Sat, 20 Jun 2009 04:15:43 -0400
Received: from [199.232.76.173] (port=41056 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MHvji-00028e-Gv
	for libtool-commit@gnu.org; Sat, 20 Jun 2009 04:15:42 -0400
Received: from savannah.gnu.org ([199.232.41.3]:51887 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 1MHvji-0004jN-B6
	for libtool-commit@gnu.org; Sat, 20 Jun 2009 04:15:42 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MHvjh-00010B-JT
	for libtool-commit@gnu.org; Sat, 20 Jun 2009 08:15:41 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MHvjg-0000zY-9N
	for libtool-commit@gnu.org; Sat, 20 Jun 2009 08:15:41 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2772d14559c584d142e44fdea69124ce62285b40
X-Git-Newrev: 82f62c98de38974cb63e39dbfeb2b45c614b4be7
Message-Id: <E1MHvjg-0000zY-9N@cvs.savannah.gnu.org>
Date: Sat, 20 Jun 2009 08:15:40 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-130-g82f62c9
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, 20 Jun 2009 08:15: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, master has been updated
       via  82f62c98de38974cb63e39dbfeb2b45c614b4be7 (commit)
      from  2772d14559c584d142e44fdea69124ce62285b40 (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 82f62c98de38974cb63e39dbfeb2b45c614b4be7
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Fri Jun 19 13:33:22 2009 -0400

    Ensure LT_PATH_LD works when called before LT_INIT
    
    * libltdl/m4/libtool.m4 (LT_PATH_LD): AC_REQUIRE _LT_PROG_ECHO_BACKSLASH.
    
    Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>

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

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

diff --git a/ChangeLog b/ChangeLog
index 4d12190..efb0884 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-19  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net> (tiny change)
+	    Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Ensure LT_PATH_LD works when called before LT_INIT
+	* libltdl/m4/libtool.m4 (LT_PATH_LD): AC_REQUIRE _LT_PROG_ECHO_BACKSLASH.
+
 2009-06-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Add versioning tests.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 5f24fab..6beb125 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2772,6 +2772,7 @@ AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 m4_require([_LT_DECL_SED])dnl
 m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
 
 AC_ARG_WITH([gnu-ld],
     [AS_HELP_STRING([--with-gnu-ld],


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Mon Jun 22 18:45:35 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MIsGc-0004wj-Tp
	for mharc-libtool-commit@gnu.org; Mon, 22 Jun 2009 18:45:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MIsGb-0004uC-EA
	for libtool-commit@gnu.org; Mon, 22 Jun 2009 18:45:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MIsGa-0004sv-Lm
	for libtool-commit@gnu.org; Mon, 22 Jun 2009 18:45:32 -0400
Received: from [199.232.76.173] (port=44052 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MIsGa-0004sh-9n
	for libtool-commit@gnu.org; Mon, 22 Jun 2009 18:45:32 -0400
Received: from savannah.gnu.org ([199.232.41.3]:57236 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 1MIsGZ-0002Vs-Sw
	for libtool-commit@gnu.org; Mon, 22 Jun 2009 18:45:32 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MIsGZ-0000i8-3o
	for libtool-commit@gnu.org; Mon, 22 Jun 2009 22:45:31 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MIsGY-0000hU-6n
	for libtool-commit@gnu.org; Mon, 22 Jun 2009 22:45:31 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 82f62c98de38974cb63e39dbfeb2b45c614b4be7
X-Git-Newrev: 75765d58c38c55ef069ef100732c1e978f4151a6
Message-Id: <E1MIsGY-0000hU-6n@cvs.savannah.gnu.org>
Date: Mon, 22 Jun 2009 22:45:30 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-131-g75765d5
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, 22 Jun 2009 22:45:33 -0000

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

The branch, master has been updated
       via  75765d58c38c55ef069ef100732c1e978f4151a6 (commit)
      from  82f62c98de38974cb63e39dbfeb2b45c614b4be7 (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 75765d58c38c55ef069ef100732c1e978f4151a6
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sun Jun 21 20:07:13 2009 -0400

    Remove unneeded functions and options from cwrapper
    
    * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
    [lt_opt_process_env_set]: Remove.
    [lt_opt_process_env_prepend]: Remove.
    [lt_opt_process_env_append]: Remove.
    [lt_split_name_value]: Remove.
    [file scope]: Don't declare removed functions. Remove
    constants and defines related to eliminated commandline
    options.
    [main]: Remove code related to eliminated commandline
    options --lt-env-set, --lt-env-prepend, --lt-env-append.

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

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

diff --git a/ChangeLog b/ChangeLog
index efb0884..085852c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-06-21  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Remove unneeded functions and options from cwrapper
+	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
+	[lt_opt_process_env_set]: Remove.
+	[lt_opt_process_env_prepend]: Remove.
+	[lt_opt_process_env_append]: Remove.
+	[lt_split_name_value]: Remove.
+	[file scope]: Don't declare removed functions. Remove
+	constants and defines related to eliminated commandline
+	options.
+	[main]: Remove code related to eliminated commandline
+	options --lt-env-set, --lt-env-prepend, --lt-env-append.
+
 2009-06-19  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net> (tiny change)
 	    Charles Wilson  <libtool@cwilson.fastmail.fm>
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 6f44d35..ebd3909 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2877,10 +2877,6 @@ char *strendzap (char *str, const char *pat);
 void lt_fatal (const char *message, ...);
 void lt_setenv (const char *name, const char *value);
 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
-void lt_opt_process_env_set (const char *arg);
-void lt_opt_process_env_prepend (const char *arg);
-void lt_opt_process_env_append (const char *arg);
-int lt_split_name_value (const char *arg, char** name, char** value);
 void lt_update_exe_path (const char *name, const char *value);
 void lt_update_lib_path (const char *name, const char *value);
 char **prepare_spawn (char **argv);
@@ -2937,18 +2933,6 @@ static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
 
 static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
 
-static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
-static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
-  /* argument is putenv-style "foo=bar", value of foo is set to bar */
-
-static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
-static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
-  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
-
-static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
-static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
-  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
-
 int
 main (int argc, char *argv[])
 {
@@ -3073,51 +3057,6 @@ EOF
   newargc=0;
   for (i = 1; i < argc; i++)
     {
-      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
-        {
-          if (argv[i][env_set_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_set_opt_len + 1;
-              lt_opt_process_env_set (p);
-            }
-          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_set (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_set_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
-        {
-          if (argv[i][env_prepend_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_prepend_opt_len + 1;
-              lt_opt_process_env_prepend (p);
-            }
-          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_prepend_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
-        {
-          if (argv[i][env_append_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_append_opt_len + 1;
-              lt_opt_process_env_append (p);
-            }
-          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_append (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_append_opt);
-          continue;
-        }
       if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
         {
           /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
@@ -3494,89 +3433,6 @@ lt_extend_str (const char *orig_value, const char *add, int to_end)
   return new_value;
 }
 
-int
-lt_split_name_value (const char *arg, char** name, char** value)
-{
-  const char *p;
-  int len;
-  if (!arg || !*arg)
-    return 1;
-
-  p = strchr (arg, (int)'=');
-
-  if (!p)
-    return 1;
-
-  *value = xstrdup (++p);
-
-  len = strlen (arg) - strlen (*value);
-  *name = XMALLOC (char, len);
-  strncpy (*name, arg, len-1);
-  (*name)[len - 1] = '\0';
-
-  return 0;
-}
-
-void
-lt_opt_process_env_set (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
-    }
-
-  lt_setenv (name, value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_prepend (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 0);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_append (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 1);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
 void
 lt_update_exe_path (const char *name, const char *value)
 {


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sat Jun 27 11:39:11 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MKZzj-000762-3S
	for mharc-libtool-commit@gnu.org; Sat, 27 Jun 2009 11:39:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MKZzh-00075r-Lh
	for libtool-commit@gnu.org; Sat, 27 Jun 2009 11:39:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MKZzg-00075c-4e
	for libtool-commit@gnu.org; Sat, 27 Jun 2009 11:39:08 -0400
Received: from [199.232.76.173] (port=43753 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MKZzf-00075Z-VZ
	for libtool-commit@gnu.org; Sat, 27 Jun 2009 11:39:08 -0400
Received: from savannah.gnu.org ([199.232.41.3]:46630 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 1MKZzf-0001PH-33
	for libtool-commit@gnu.org; Sat, 27 Jun 2009 11:39:07 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MKZze-00070D-K5
	for libtool-commit@gnu.org; Sat, 27 Jun 2009 15:39:06 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MKZzd-0006zg-V7
	for libtool-commit@gnu.org; Sat, 27 Jun 2009 15:39:06 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 75765d58c38c55ef069ef100732c1e978f4151a6
X-Git-Newrev: 7244857f7bc0e90f52ca5b6be37652911653e654
Message-Id: <E1MKZzd-0006zg-V7@cvs.savannah.gnu.org>
Date: Sat, 27 Jun 2009 15:39:06 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-132-g7244857
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, 27 Jun 2009 15:39: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  7244857f7bc0e90f52ca5b6be37652911653e654 (commit)
      from  75765d58c38c55ef069ef100732c1e978f4151a6 (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 7244857f7bc0e90f52ca5b6be37652911653e654
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Tue Jun 23 20:32:16 2009 -0400

    Add alias for obsoleted AC_LIBTOOL_RC macro.
    
    * libltdl/m4/libtool.m4: Add alias for obsoleted
    macro AC_LIBTOOL_RC.

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

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

diff --git a/ChangeLog b/ChangeLog
index 085852c..e5b40ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-27  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Add alias for obsoleted AC_LIBTOOL_RC macro.
+	* libltdl/m4/libtool.m4: Add alias for obsoleted
+	macro AC_LIBTOOL_RC.
+
 2009-06-21  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Remove unneeded functions and options from cwrapper
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 6beb125..0777d4d 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -860,6 +860,7 @@ AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
 dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 dnl AC_DEFUN([AC_LIBTOOL_F77], [])


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Sun Jun 28 19:26:36 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ML3lc-0003Sy-Qc
	for mharc-libtool-commit@gnu.org; Sun, 28 Jun 2009 19:26:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ML3la-0003S9-RJ
	for libtool-commit@gnu.org; Sun, 28 Jun 2009 19:26:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ML3lZ-0003Rs-NA
	for libtool-commit@gnu.org; Sun, 28 Jun 2009 19:26:34 -0400
Received: from [199.232.76.173] (port=59324 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ML3lZ-0003Rp-Jn
	for libtool-commit@gnu.org; Sun, 28 Jun 2009 19:26:33 -0400
Received: from savannah.gnu.org ([199.232.41.3]:53707 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 1ML3lZ-0004FY-CJ
	for libtool-commit@gnu.org; Sun, 28 Jun 2009 19:26:33 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ML3lY-0003sm-Q4
	for libtool-commit@gnu.org; Sun, 28 Jun 2009 23:26:32 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ML3lY-0003sH-9V
	for libtool-commit@gnu.org; Sun, 28 Jun 2009 23:26:32 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7244857f7bc0e90f52ca5b6be37652911653e654
X-Git-Newrev: a228f07a8ffb9610c070203de04ea2242755a71e
Message-Id: <E1ML3lY-0003sH-9V@cvs.savannah.gnu.org>
Date: Sun, 28 Jun 2009 23:26:32 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-133-ga228f07
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Jun 2009 23:26:35 -0000

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

The branch, master has been updated
       via  a228f07a8ffb9610c070203de04ea2242755a71e (commit)
      from  7244857f7bc0e90f52ca5b6be37652911653e654 (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 a228f07a8ffb9610c070203de04ea2242755a71e
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sun Jun 28 18:50:30 2009 -0400

    Finish adding alias for obsoleted AC_LIBTOOL_RC macro.
    
    * libltdl/m4/libtool.m4: Add reminder comment concerning
    aclocal-1.4 backwards compatibility.
    * libltdl/m4/lt~obsolete.m4: Remove unnecessary AC_DEFUN.

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

Summary of changes:
 ChangeLog                 |    8 ++++++++
 libltdl/m4/libtool.m4     |    1 +
 libltdl/m4/lt~obsolete.m4 |    1 -
 3 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e5b40ca..2b7ba3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	Finish adding alias for obsoleted AC_LIBTOOL_RC macro.
+
+	* libltdl/m4/libtool.m4: Add reminder comment concerning
+	aclocal-1.4 backwards compatibility.
+	* libltdl/m4/lt~obsolete.m4: Remove unnecessary AC_DEFUN.
+
 2009-06-27  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Add alias for obsoleted AC_LIBTOOL_RC macro.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 0777d4d..1fe09d2 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -866,6 +866,7 @@ dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
 
 
 # _LT_TAG_COMPILER
diff --git a/libltdl/m4/lt~obsolete.m4 b/libltdl/m4/lt~obsolete.m4
index 544ae45..bf92b5e 100644
--- a/libltdl/m4/lt~obsolete.m4
+++ b/libltdl/m4/lt~obsolete.m4
@@ -77,7 +77,6 @@ m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
 m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
 m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
-m4_ifndef([AC_LIBTOOL_RC],		[AC_DEFUN([AC_LIBTOOL_RC])])
 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])


hooks/post-receive
-- 
GNU Libtool



From MAILER-DAEMON Mon Jun 29 20:45:50 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MLRTq-0006As-0Q
	for mharc-libtool-commit@gnu.org; Mon, 29 Jun 2009 20:45:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MLRTo-0006AB-3w
	for libtool-commit@gnu.org; Mon, 29 Jun 2009 20:45:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MLRTn-00069i-3Q
	for libtool-commit@gnu.org; Mon, 29 Jun 2009 20:45:47 -0400
Received: from [199.232.76.173] (port=52946 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MLRTm-00069c-OP
	for libtool-commit@gnu.org; Mon, 29 Jun 2009 20:45:46 -0400
Received: from savannah.gnu.org ([199.232.41.3]:51744 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 1MLRTm-0002El-CS
	for libtool-commit@gnu.org; Mon, 29 Jun 2009 20:45:46 -0400
Received: from download.savannah.gnu.org ([199.232.41.75]
	helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MLRTl-0008Qs-ER
	for libtool-commit@gnu.org; Tue, 30 Jun 2009 00:45:45 +0000
Received: from cwilson by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1MLRTk-0008QM-Gy
	for libtool-commit@gnu.org; Tue, 30 Jun 2009 00:45:45 +0000
From: "Charles Wilson" <libtool@cwilson.fastmail.fm>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a228f07a8ffb9610c070203de04ea2242755a71e
X-Git-Newrev: f0f99955cb283ead0817744921621d66c049709f
Message-Id: <E1MLRTk-0008QM-Gy@cvs.savannah.gnu.org>
Date: Tue, 30 Jun 2009 00:45:44 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-134-gf0f9995
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, 30 Jun 2009 00:45:48 -0000

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

The branch, master has been updated
       via  f0f99955cb283ead0817744921621d66c049709f (commit)
      from  a228f07a8ffb9610c070203de04ea2242755a71e (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 f0f99955cb283ead0817744921621d66c049709f
Author: Charles Wilson <libtool@cwilson.fastmail.fm>
Date:   Sun Jun 28 21:51:42 2009 -0400

    [mingw] Improve sys_lib_search_path_spec detection.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix handling
    of dos-style paths when parsing $CC -print-search-dirs output.

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

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

diff --git a/ChangeLog b/ChangeLog
index 2b7ba3e..321c0bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+2009-06-29  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+	[mingw] Improve sys_lib_search_path_spec detection.
+	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix handling
+	of dos-style paths when parsing $CC -print-search-dirs output.
+
 2009-06-28  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
 	Finish adding alias for obsoleted AC_LIBTOOL_RC macro.
-
 	* libltdl/m4/libtool.m4: Add reminder comment concerning
 	aclocal-1.4 backwards compatibility.
 	* libltdl/m4/lt~obsolete.m4: Remove unnecessary AC_DEFUN.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 1fe09d2..b6862a0 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1986,7 +1986,11 @@ if test "$GCC" = yes; then
     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     *) lt_awk_arg="/^libraries:/" ;;
   esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+  case $host_os in
+    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
+    *) lt_sed_strip_eq="s,=/,/,g" ;;
+  esac
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   case $lt_search_path_spec in
   *\;*)
     # if the path contains ";" then we assume it to be the separator
@@ -2031,6 +2035,12 @@ BEGIN {RS=" "; FS="/|\n";} {
   if (lt_foo != "") { lt_freq[[lt_foo]]++; }
   if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 }'`
+  # AWK program above erroneously prepends '/' to C:/dos/paths
+  # for these hosts.
+  case $host_os in
+    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
+  esac
   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
@@ -2178,21 +2188,6 @@ m4_if([$1], [],[
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $SED '/^libraries:/!d; s///; s,=/,/,g'`
-      case $sys_lib_search_path_spec in
-      *\;[c-zC-Z]:*)
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-        ;;
-      *)
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-	;;
-      esac
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'


hooks/post-receive
-- 
GNU Libtool



