From MAILER-DAEMON Fri Dec 10 01:36:11 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PQwaR-0003OJ-1m
	for mharc-libtool-commit@gnu.org; Fri, 10 Dec 2010 01:36:11 -0500
Received: from [140.186.70.92] (port=47896 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PQwaO-0003Mw-5J
	for libtool-commit@gnu.org; Fri, 10 Dec 2010 01:36:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PQwaM-0008OG-6B
	for libtool-commit@gnu.org; Fri, 10 Dec 2010 01:36:07 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:49391
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PQwaM-0008OC-3D
	for libtool-commit@gnu.org; Fri, 10 Dec 2010 01:36:06 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PQwaa-0003fW-IU
	for libtool-commit@gnu.org; Fri, 10 Dec 2010 06:36:20 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PQwaY-0007hS-DG
	for libtool-commit@gnu.org; Fri, 10 Dec 2010 06:36:20 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: libtool-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 4fee8796c92a2ab554eb6596330ac06613c22807
X-Git-Newrev: 82beb2a169ac1943df67be90675c3135ece03735
Message-Id: <E1PQwaY-0007hS-DG@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 10 Dec 2010 06:36:19 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-30-g82beb2a
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Dec 2010 06:36: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  82beb2a169ac1943df67be90675c3135ece03735 (commit)
       via  1c9aa6dac54372220d367715bf891a6f06c668fd (commit)
       via  cc027148f2acded5c1a2bd5c951ef70fb3223a50 (commit)
      from  4fee8796c92a2ab554eb6596330ac06613c22807 (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 82beb2a169ac1943df67be90675c3135ece03735
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Mon Dec 6 04:31:14 2010 +0100

    Fix nvcc PIC setting on darwin.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
    <lt_prog_compiler_pic>: Prepend -Xcompiler to nonempty variable
    setting rather than hard-coding -Xcompiler -fPIC, for darwin.
    * NEWS, THANKS: Update.
    Report by Paweł Daniluk.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 1c9aa6dac54372220d367715bf891a6f06c668fd
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Nov 20 10:34:16 2010 +0100

    Honor $AUTOCONF, $AUTOMAKE in --help output.
    
    * libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and
    $AUTOMAKE if set, for --version outout.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit cc027148f2acded5c1a2bd5c951ef70fb3223a50
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Nov 19 18:42:04 2010 +0100

    docs: Libtool configuration diagram.
    
    * doc/libtool.texi (Integrating libtool): Add diagrams
    explaining the dependencies between Libtool files.
    Suggestion by Ethan Mallove.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   18 +++++++++++++++
 NEWS                       |    1 +
 THANKS                     |    1 +
 doc/libtool.texi           |   50 ++++++++++++++++++++++++++++++++++++++++++++
 libltdl/config/getopt.m4sh |    4 +-
 libltdl/m4/libtool.m4      |    4 ++-
 6 files changed, 75 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e418f3c..8bc122e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix nvcc PIC setting on darwin.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
+	<lt_prog_compiler_pic>: Prepend -Xcompiler to nonempty variable
+	setting rather than hard-coding -Xcompiler -fPIC, for darwin.
+	* NEWS, THANKS: Update.
+	Report by Paweł Daniluk.
+
+	Honor $AUTOCONF, $AUTOMAKE in --help output.
+	* libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and
+	$AUTOMAKE if set, for --version outout.
+
+	docs: Libtool configuration diagram.
+	* doc/libtool.texi (Integrating libtool): Add diagrams
+	explaining the dependencies between Libtool files.
+	Suggestion by Ethan Mallove.
+
 2010-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Eliminate hardcode_libdir_flag_spec_ld tag variable.
diff --git a/NEWS b/NEWS
index 83cee5e..0aeca57 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team:
     not available) works again.  Regression introduced in v2.2.6-39-g9c3d4d8.
   - The bug that leaked developer tool paths into the release tarballs
     from ./bootstrap is fixed.
+  - Improved support for the Cuda Compiler Driver (nvcc) on Darwin.
 
 * Important incompatible changes:
 
diff --git a/THANKS b/THANKS
index e85e21a..6dd8dd8 100644
--- a/THANKS
+++ b/THANKS
@@ -147,6 +147,7 @@
   Paul Biggar			paul.biggar@gmail.com
   Paul Eggert			eggert@twinsun.com
   Paul Laight			plaight@quantxautomation.co.uk
+  Paweł Daniluk			pawel@bioexploratorium.pl
   Peter Eisentraut		peter_e@gmx.net
   Peter Fritzsche		peter.fritzsche@gmx.de
   Peter Jeremy			peterjeremy@optushome.com.au
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 12d006b..04c5507 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1791,6 +1791,56 @@ The remaining @var{mode-args} are either flags for the deletion program
 This chapter describes how to integrate libtool with your packages so
 that your users can install hassle-free shared libraries.
 
+There are several ways in which Libtool may be integrated in your
+package, described in the following sections.  Typically, the Libtool
+macro files as well as @file{ltmain.sh} are copied into your package
+using @command{libtoolize} and @command{aclocal} after setting up the
+@file{configure.ac} and toplevel @file{Makefile.am}, then
+@command{autoconf} adds the needed tests to the @file{configure} script.
+These individual steps are often automated with @command{autoreconf}.
+
+Here is a diagram showing how such a typical Libtool configuration works
+when preparing a package for distribution, assuming that @file{m4} has
+been chosen as location for additional Autoconf macros, and
+@file{build-aux} as location for auxiliary build tools (@pxref{Input,,
+The Autoconf Manual, autoconf, The Autoconf Manual}):
+
+@example
+@group
+libtool.m4 -----.                .--> aclocal.m4 -----.
+ltoptions.m4 ---+  .-> aclocal* -+                    +--> autoconf*
+ltversion.m4 ---+--+             `--> [copy in m4/] --+       |
+ltsugar.m4 -----+  |                    ^             |       \/
+lt~obsolete.m4 -+  +-> libtoolize* -----'             |    configure
+[ltdl.m4] ------+  |                                  |
+                   `----------------------------------'
+
+ltmain.sh -----------> libtoolize* -> [copy in build-aux/]
+@end group
+@end example
+
+During configuration, the @file{libtool} script is generated either
+through @command{config.status} or @command{config.lt}:
+
+@example
+@group
+             .--> config.status* --.
+configure* --+                     +--> libtool
+             `--> [config.lt*] ----'      ^
+                                          |
+ltmain.sh --------------------------------'
+@end group
+@end example
+
+At @command{make} run time, @command{libtool} is then invoked as needed
+as a wrapper around compilers, linkers, install and cleanup programs.
+
+There are alternatives choices to several parts of the setup; for
+example, the Libtool macro files can either be copied or symlinked into
+the package, or copied into @file{aclocal.m4}.  As another example, an
+external, pre-configured @command{libtool} script may be used,
+by-passing most of the tests and package-specific setup for Libtool.
+
 @menu
 * Autoconf macros::             Autoconf macros exported by libtool.
 * Makefile rules::              Writing @file{Makefile} rules for libtool.
diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh
index 2196743..e9363bc 100644
--- a/libltdl/config/getopt.m4sh
+++ b/libltdl/config/getopt.m4sh
@@ -592,8 +592,8 @@ func_help ()
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LD*'"$LD"'*
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
-	s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
-	s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
+	s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
+	s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
 	p
 	d
      }
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 419ffe1..1f61140 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4232,7 +4232,9 @@ m4_if([$1], [CXX], [
     case $cc_basename in
     nvcc*) # Cuda Compiler Driver 2.2
       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
+      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+      fi
       ;;
     esac
   else


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Wed Dec 15 16:32:01 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PSyx7-0000Ed-AK
	for mharc-libtool-commit@gnu.org; Wed, 15 Dec 2010 16:32:01 -0500
Received: from [140.186.70.92] (port=36918 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PSyx5-0000Dq-Lk
	for libtool-commit@gnu.org; Wed, 15 Dec 2010 16:32:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PSyx3-0007tO-RY
	for libtool-commit@gnu.org; Wed, 15 Dec 2010 16:31:59 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:54210
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PSyx3-0007tI-Pk
	for libtool-commit@gnu.org; Wed, 15 Dec 2010 16:31:57 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PSyxa-0004Hs-Kn
	for libtool-commit@gnu.org; Wed, 15 Dec 2010 21:32:30 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PSyxa-0003om-F9
	for libtool-commit@gnu.org; Wed, 15 Dec 2010 21:32:30 +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: 82beb2a169ac1943df67be90675c3135ece03735
X-Git-Newrev: 8c00e12df8c8a1cc82e411779b2009e88bd203c2
Message-Id: <E1PSyxa-0003om-F9@vcs-noshell.in.savannah.gnu.org>
Date: Wed, 15 Dec 2010 21:32:30 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-31-g8c00e12
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Dec 2010 21:32:00 -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  8c00e12df8c8a1cc82e411779b2009e88bd203c2 (commit)
      from  82beb2a169ac1943df67be90675c3135ece03735 (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 8c00e12df8c8a1cc82e411779b2009e88bd203c2
Author: KO Myung-Hun <komh@chollian.net>
Date:   Wed Dec 15 22:29:17 2010 +0100

    Fix PATH_SEPARATOR handling for OS/2.
    
    * Makefile.am (update_mans): Quote $(PATH_SEPARATOR).
    * libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for
    PATH_SEPARATOR.
    * libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing
    $progpath.
    * THANKS: Update.

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

Summary of changes:
 ChangeLog                   |   11 +++++++++++
 Makefile.am                 |    2 +-
 THANKS                      |    1 +
 libltdl/config/general.m4sh |    2 +-
 libltdl/m4/libtool.m4       |    2 ++
 5 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8bc122e..0d49595 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-15  KO Myung-Hun  <komh@chollian.net>  (tiny change)
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix PATH_SEPARATOR handling for OS/2.
+	* Makefile.am (update_mans): Quote $(PATH_SEPARATOR).
+	* libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for
+	PATH_SEPARATOR.
+	* libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing
+	$progpath.
+	* THANKS: Update.
+
 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix nvcc PIC setting on darwin.
diff --git a/Makefile.am b/Makefile.am
index 66f38b1..4be353c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -330,7 +330,7 @@ $(srcdir)/doc/notes.txt: $(srcdir)/doc/notes.texi
 dist_man1_MANS		= $(srcdir)/doc/libtool.1 $(srcdir)/doc/libtoolize.1
 MAINTAINERCLEANFILES	+= $(dist_man1_MANS)
 update_mans = \
-  PATH=.$(PATH_SEPARATOR)$$PATH; export PATH; \
+  PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \
   $(HELP2MAN) --output=$@
 $(srcdir)/doc/libtool.1: $(srcdir)/$(auxdir)/ltmain.sh
 	$(update_mans) --help-option=--help-all libtool
diff --git a/THANKS b/THANKS
index 6dd8dd8..5260878 100644
--- a/THANKS
+++ b/THANKS
@@ -122,6 +122,7 @@
   Kenneth Albanowski		kjahds@kjahds.com
   Kevin Ryde			user42@zip.com.au
   Khem Raj                      raj.khem@gmail.com
+  KO Myung-Hun			komh@chollian.net
   Kurt D. Zeilenga		Kurt@OpenLDAP.Org
   Lennart Poettering		lennart@poettering.net
   Lionel Landwerlin             llandwerlin@gmail.com
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 44a7ce9..40d5413 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -296,7 +296,7 @@ case $progpath in
      ;;
   *)
      save_IFS="$IFS"
-     IFS=:
+     IFS=${PATH_SEPARATOR-:}
      for progdir in $PATH; do
        IFS="$save_IFS"
        test -x "$progdir/$progname" && break
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 1f61140..ab3e16f 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -146,6 +146,8 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
 
+_LT_DECL([], [PATH_SEPARATOR], [0], [The PATH separator for the build system])dnl
+dnl
 _LT_DECL([], [host_alias], [0], [The host system])dnl
 _LT_DECL([], [host], [0])dnl
 _LT_DECL([], [host_os], [0])dnl


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 16 02:00:16 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PT7p2-0005LO-Lg
	for mharc-libtool-commit@gnu.org; Thu, 16 Dec 2010 02:00:16 -0500
Received: from [140.186.70.92] (port=39867 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PT7oz-0005Ky-LK
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 02:00:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PT7ox-00017a-Re
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 02:00:13 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:45898
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PT7ox-00017T-Of
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 02:00:11 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PT7pU-0002AH-Qe
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 07:00:45 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PT7pN-0006cs-13
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 07:00:41 +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: 8c00e12df8c8a1cc82e411779b2009e88bd203c2
X-Git-Newrev: 738f282ab18923b0dce5fd1abb3e6aa0d2ae499f
Message-Id: <E1PT7pN-0006cs-13@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 16 Dec 2010 07:00:37 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-32-g738f282
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Dec 2010 07:00:14 -0000

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

The branch, master has been updated
       via  738f282ab18923b0dce5fd1abb3e6aa0d2ae499f (commit)
      from  8c00e12df8c8a1cc82e411779b2009e88bd203c2 (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 738f282ab18923b0dce5fd1abb3e6aa0d2ae499f
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Dec 16 07:58:57 2010 +0100

    * libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for PATH_SEPARATOR.

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

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

diff --git a/ChangeLog b/ChangeLog
index 0d49595..1dac768 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for
+	PATH_SEPARATOR.
+
 2010-12-15  KO Myung-Hun  <komh@chollian.net>  (tiny change)
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index ab3e16f..59114b4 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -146,7 +146,7 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
 
-_LT_DECL([], [PATH_SEPARATOR], [0], [The PATH separator for the build system])dnl
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
 dnl
 _LT_DECL([], [host_alias], [0], [The host system])dnl
 _LT_DECL([], [host], [0])dnl


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 16 15:42:38 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PTKes-0002sw-8I
	for mharc-libtool-commit@gnu.org; Thu, 16 Dec 2010 15:42:38 -0500
Received: from [140.186.70.92] (port=60105 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PTKeq-0002sl-AL
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 15:42:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PTKep-0005e5-07
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 15:42:36 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:55622
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PTKeo-0005dy-Tm
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 15:42:34 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PTKfN-0002vL-TW
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 20:43:09 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PTKfN-0006BQ-OL
	for libtool-commit@gnu.org; Thu, 16 Dec 2010 20:43: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: 738f282ab18923b0dce5fd1abb3e6aa0d2ae499f
X-Git-Newrev: 92eb89aace9fd41e43eee33f5c392adf1bcf8963
Message-Id: <E1PTKfN-0006BQ-OL@vcs-noshell.in.savannah.gnu.org>
Date: Thu, 16 Dec 2010 20:43:09 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-33-g92eb89a
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Dec 2010 20:42:37 -0000

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

The branch, master has been updated
       via  92eb89aace9fd41e43eee33f5c392adf1bcf8963 (commit)
      from  738f282ab18923b0dce5fd1abb3e6aa0d2ae499f (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 92eb89aace9fd41e43eee33f5c392adf1bcf8963
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Dec 16 21:41:27 2010 +0100

    Fix PIC flags with MPI wrappers using Portland on GNU/Linux.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
    Match Portland compilers also using $CC -V output, to avoid
    false negatives with MPI compiler drivers.
    Report by Christian Rössel.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

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

diff --git a/ChangeLog b/ChangeLog
index 1dac768..cbb0262 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	Fix PIC flags with MPI wrappers using Portland on GNU/Linux.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
+	Match Portland compilers also using $CC -V output, to avoid
+	false negatives with MPI compiler drivers.
+	Report by Christian Rössel.
+
 	* libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for
 	PATH_SEPARATOR.
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 59114b4..62f9040 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4340,6 +4340,11 @@ m4_if([$1], [CXX], [
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	  ;;
+	*Portland\ Group*)
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+	  ;;
 	esac
 	;;
       esac


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Mon Dec 20 02:11:03 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PUZtf-0007kQ-78
	for mharc-libtool-commit@gnu.org; Mon, 20 Dec 2010 02:11:03 -0500
Received: from [140.186.70.92] (port=52937 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PUZtb-0007g0-I1
	for libtool-commit@gnu.org; Mon, 20 Dec 2010 02:11:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PUZtZ-00019I-Hr
	for libtool-commit@gnu.org; Mon, 20 Dec 2010 02:10:59 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:51637
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PUZtZ-00019E-Ee
	for libtool-commit@gnu.org; Mon, 20 Dec 2010 02:10:57 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PUZtb-0001Rj-3L
	for libtool-commit@gnu.org; Mon, 20 Dec 2010 07:10:59 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PUZta-0003ae-8F
	for libtool-commit@gnu.org; Mon, 20 Dec 2010 07:10:58 +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: 92eb89aace9fd41e43eee33f5c392adf1bcf8963
X-Git-Newrev: b78075b8ae59ff68f6f9ece21be7c5c13fceabee
Message-Id: <E1PUZta-0003ae-8F@vcs-noshell.in.savannah.gnu.org>
Date: Mon, 20 Dec 2010 07:10:58 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-37-gb78075b
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Dec 2010 07:11:01 -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  b78075b8ae59ff68f6f9ece21be7c5c13fceabee (commit)
       via  7aabd35c4c78df9c94528c02eae29397bab65987 (commit)
       via  e80566abb3ee6757ff6da59d65a874b3a5f706a1 (commit)
       via  39ba8c55de025805c69d46e76f1a352658e01382 (commit)
      from  92eb89aace9fd41e43eee33f5c392adf1bcf8963 (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 b78075b8ae59ff68f6f9ece21be7c5c13fceabee
Author: Ian Lance Taylor <iant@google.com>
Date:   Tue Oct 12 14:38:49 2010 -0700

    Add Go support.
    
    * libltdl/m4/libtool.m4 (LT_LANG): Add Go.
    (AC_PROG_GO): Provide.
    (_LT_SYS_HIDDEN_LIBDEPS): Add Go case.
    (_LT_LANG_GO_CONFIG): Define.
    (LT_PROG_GO): Define.
    (AC_PROG_GO): Define if not defined.
    * libltdl/config/ltmain.m4sh: Match *.go.
    * doc/libtool.texi (LT_INIT): Mention Go.
    (Tags): Mention Go.
    * configure.ac: Enable Go.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 7aabd35c4c78df9c94528c02eae29397bab65987
Author: Brice De Bruyne <bricedb@gmail.com>
Date:   Mon Dec 20 04:16:12 2010 +0100

    Also turn off -fuse-linker-plugin for postdep_objects computation.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add
    -fno-use-linker-plugin to temporary compile flags if necessary,
    to fix C++ postdep_objects setting with -flto
    -fuse-linker-plugin.
    * NEWS, THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit e80566abb3ee6757ff6da59d65a874b3a5f706a1
Author: KO Myung-Hun <komh@chollian.net>
Date:   Mon Dec 20 04:10:19 2010 +0100

    Set command line length limit for OS/2.
    
    * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [os2]
    <lt_cv_sys_max_cmd_len>: Set to 8192 to avoid long test.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 39ba8c55de025805c69d46e76f1a352658e01382
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Dec 17 20:30:53 2010 +0100

    Fix PIC flags with mpif77 using ifort on GNU/Linux.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
    Match Intel compiler also using $CC -V output, to avoid false
    negatives with compiler drivers like mpif77.
    Report by Christian Rössel.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

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

Summary of changes:
 ChangeLog                  |   37 +++++++++++++
 NEWS                       |    4 ++
 THANKS                     |    1 +
 configure.ac               |    1 +
 doc/libtool.texi           |    3 +-
 libltdl/config/ltmain.m4sh |    2 +-
 libltdl/m4/libtool.m4      |  124 ++++++++++++++++++++++++++++++++++++++++++++
 tests/suffix.test          |    2 +-
 8 files changed, 171 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cbb0262..4880098 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,40 @@
+2010-12-20  Ian Lance Taylor  <iant@google.com>
+
+	* libltdl/m4/libtool.m4 (LT_LANG): Add Go.
+	(AC_PROG_GO): Provide.
+	(_LT_SYS_HIDDEN_LIBDEPS): Add Go case.
+	(_LT_LANG_GO_CONFIG): Define.
+	(LT_PROG_GO): Define.
+	(AC_PROG_GO): Define if not defined.
+	* libltdl/config/ltmain.m4sh: Match *.go.
+	* doc/libtool.texi (LT_INIT): Mention Go.
+	(Tags): Mention Go.
+	* configure.ac: Enable Go.
+	* NEWS: Update.
+
+2010-12-20  Brice De Bruyne  <bricedb@gmail.com>  (tiny change)
+
+	Also turn off -fuse-linker-plugin for postdep_objects computation.
+	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add
+	-fno-use-linker-plugin to temporary compile flags if necessary,
+	to fix C++ postdep_objects setting with -flto
+	-fuse-linker-plugin.
+	* NEWS, THANKS: Update.
+
+2010-12-20  KO Myung-Hun  <komh@chollian.net>  (tiny change)
+
+	Set command line length limit for OS/2.
+	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [os2]
+	<lt_cv_sys_max_cmd_len>: Set to 8192 to avoid long test.
+
+2010-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix PIC flags with mpif77 using ifort on GNU/Linux.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
+	Match Intel compiler also using $CC -V output, to avoid false
+	negatives with compiler drivers like mpif77.
+	Report by Christian Rössel.
+
 2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix PIC flags with MPI wrappers using Portland on GNU/Linux.
diff --git a/NEWS b/NEWS
index 0aeca57..96c9723 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,8 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team:
     package names.  This can be used to build some static libraries with PIC
     objects while building others with non-PIC objects.
 
+  - Initial support for Go, using the gccgo compiler.
+
 * Bug fixes:
 
   - The generic approximation of the command line length limit (when getconf is
@@ -15,6 +17,8 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team:
   - The bug that leaked developer tool paths into the release tarballs
     from ./bootstrap is fixed.
   - Improved support for the Cuda Compiler Driver (nvcc) on Darwin.
+  - For GCC LTO support, the -fuse-linker-plugin switch is now also removed
+    when computing compiler postdeps.
 
 * Important incompatible changes:
 
diff --git a/THANKS b/THANKS
index 5260878..637decf 100644
--- a/THANKS
+++ b/THANKS
@@ -77,6 +77,7 @@
   Brent Leback			brent.leback@st.com
   Brian Barrett			brbarret@osl.iu.edu
   Bruno Haible			haible@ilog.fr
+  Brice De Bruyne		bricedb@gmail.com
   Camilo La Rota		camilo.larota@ens-lyon.fr
   Carl D. Roth			roth@cse.ucsc.edu
   Chris Demetriou		cgd@google.com
diff --git a/configure.ac b/configure.ac
index 63ee8bf..0bad772 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,6 +196,7 @@ _LTDL_SETUP
 LT_LANG(C++)
 LT_LANG(Fortran 77)
 LT_LANG(Fortran)
+LT_LANG(Go)
 LT_LANG(Java)
 LT_LANG(Windows Resource)
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 04c5507..4823ab8 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -2250,7 +2250,7 @@ specifying @option{--with-pic} to @command{configure}.
 @defmac LT_LANG (@var{language})
 Enable @command{libtool} support for the language given if it
 has not yet already been enabled.  Languages accepted are ``C++'',
-``Fortran 77'', ``Java'' and ``Windows Resource''.
+``Fortran 77'', ``Java'', ``Go'', and ``Windows Resource''.
 
 If Autoconf language support macros such as @code{AC_PROG_CXX} are
 used in your @file{configure.ac}, Libtool language support will automatically
@@ -2849,6 +2849,7 @@ correspondence between language names and tags names.
 @item Java             @tab GCJ
 @item Fortran 77       @tab F77
 @item Fortran          @tab FC
+@item Go               @tab GO
 @item Windows Resource @tab RC
 @end multitable
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index aff8a1c..8c37f88 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1270,7 +1270,7 @@ func_mode_compile ()
     *.[cCFSifmso] | \
     *.ada | *.adb | *.ads | *.asm | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
+    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
       func_xform "$libobj"
       libobj=$func_xform_result
       ;;
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 62f9040..8e88917 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -803,6 +803,7 @@ AC_DEFUN([LT_LANG],
 m4_case([$1],
   [C],			[_LT_LANG(C)],
   [C++],		[_LT_LANG(CXX)],
+  [Go],			[_LT_LANG(GO)],
   [Java],		[_LT_LANG(GCJ)],
   [Fortran 77],		[_LT_LANG(F77)],
   [Fortran],		[_LT_LANG(FC)],
@@ -824,6 +825,31 @@ m4_defun([_LT_LANG],
 ])# _LT_LANG
 
 
+m4_ifndef([AC_PROG_GO], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into   #
+#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
+#  a released version of Autoconf we should remove this    #
+#  macro and use it instead.                               #
+############################################################
+m4_defun([AC_PROG_GO],
+[AC_LANG_PUSH(Go)dnl
+AC_ARG_VAR([GOC],     [Go compiler command])dnl
+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
+_AC_ARG_VAR_LDFLAGS()dnl
+AC_CHECK_TOOL(GOC, gccgo)
+if test -z "$GOC"; then
+  if test -n "$ac_tool_prefix"; then
+    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
+  fi
+fi
+if test -z "$GOC"; then
+  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
+fi
+])#m4_defun
+])#m4_ifndef
+
+
 # _LT_LANG_DEFAULT_CONFIG
 # -----------------------
 m4_defun([_LT_LANG_DEFAULT_CONFIG],
@@ -854,6 +880,10 @@ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
        m4_ifdef([LT_PROG_GCJ],
 	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 
+AC_PROVIDE_IFELSE([AC_PROG_GO],
+  [LT_LANG(GO)],
+  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
+
 AC_PROVIDE_IFELSE([LT_PROG_RC],
   [LT_LANG(RC)],
   [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -1604,6 +1634,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=196608
     ;;
 
+  os2*)
+    # The test takes a long time on OS/2.
+    lt_cv_sys_max_cmd_len=8192
+    ;;
+
   osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -4340,6 +4375,11 @@ m4_if([$1], [CXX], [
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	  ;;
+        *Intel*\ [[CF]]*Compiler*)
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+	  ;;
 	*Portland\ Group*)
 	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
@@ -6906,12 +6946,18 @@ public class foo {
   }
 };
 _LT_EOF
+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
+package foo
+func foo() {
+}
+_LT_EOF
 ])
 
 _lt_libdeps_save_CFLAGS=$CFLAGS
 case "$CC $CFLAGS " in #(
 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 esac
 
 dnl Parse the compiler output and extract the necessary
@@ -7426,6 +7472,77 @@ CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_GCJ_CONFIG
 
 
+# _LT_LANG_GO_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Go compiler
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_GO_CONFIG],
+[AC_REQUIRE([LT_PROG_GO])dnl
+AC_LANG_SAVE
+
+# Source file extension for Go test sources.
+ac_ext=go
+
+# Object file extension for compiled Go test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="package main; func main() { }"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='package main; func main() { }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GOC-"gccgo"}
+CFLAGS=$GOFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)="$LD"
+_LT_CC_BASENAME([$compiler])
+
+# Go did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+  _LT_COMPILER_NO_RTTI($1)
+  _LT_COMPILER_PIC($1)
+  _LT_COMPILER_C_O($1)
+  _LT_COMPILER_FILE_LOCKS($1)
+  _LT_LINKER_SHLIBS($1)
+  _LT_LINKER_HARDCODE_LIBPATH($1)
+
+  _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GO_CONFIG
+
+
 # _LT_LANG_RC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for the Windows resource compiler
@@ -7495,6 +7612,13 @@ dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
 
+# LT_PROG_GO
+# ----------
+AC_DEFUN([LT_PROG_GO],
+[AC_CHECK_TOOL(GOC, gccgo,)
+])
+
+
 # LT_PROG_RC
 # ----------
 AC_DEFUN([LT_PROG_RC],
diff --git a/tests/suffix.test b/tests/suffix.test
index a035897..b5c2a88 100755
--- a/tests/suffix.test
+++ b/tests/suffix.test
@@ -25,7 +25,7 @@
 
 # Extensions taken from the ones that Automake recognizes, plus Objective C,
 # and GNU Ada.  Also test that multiple dots are handled correctly.
-extensions="C F S ada adb ads asm c c++ cc cpp cxx f f90 F90 f95 F95 f03 F03 for m s sx ada.ada"
+extensions="C F S ada adb ads asm c c++ cc cpp cxx f f90 F90 f95 F95 f03 F03 for go m s sx ada.ada"
 bad_names="foo."
 
 . tests/defs || exit 1


hooks/post-receive
-- 
GNU Libtool


