[SCM] GNU Libtool branch, master, updated. v2.2.6-38-g76fed6e

"Ralf Wildenhues" <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
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  76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac (commit)
      from  87cea4bf9e8341df8a317f8971fcccdad0cca9f3 (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 76fed6e12b3dfe8d2ed26f0aa8dda3ce4a636bac
Author: Ralf Wildenhues <[email protected]>
Date:   Sun Nov 23 09:13:13 2008 +0100

    Fix matching of Sun Fortran compiler on Linux.
    
    * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
    match `Sun Ceres Fortran' compiler; reorder with C compiler
    matching.
    * THANKS: Update.
    Report by Ethan Mallove.
    
    Signed-off-by: Ralf Wildenhues <[email protected]>

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

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

diff --git a/ChangeLog b/ChangeLog
index cd1b1fa..06d08ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-11-23  Ralf Wildenhues  <[email protected]>
+
+	Fix matching of Sun Fortran compiler on Linux.
+	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
+	match `Sun Ceres Fortran' compiler; reorder with C compiler
+	matching.
+	* THANKS: Update.
+	Report by Ethan Mallove.
+
 2008-11-21  Charles Wilson <[email protected]>
 
 	Fix --verbose option; add new --no-{silent|quiet|verbose} options.
diff --git a/THANKS b/THANKS
index d37d264..387a07e 100644
--- a/THANKS
+++ b/THANKS
@@ -88,6 +88,7 @@
   Edouard G. Parmelan		[email protected]
   Erez Zadok			[email protected]
   Eric Estievenart		[email protected]
+  Ethan Mallove			[email protected]
   Frank Ch. Eigler		[email protected]
   Fred Cox			[email protected]
   H.J. Lu			[email protected]
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 35d7d5c..bb2e6ef 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3941,17 +3941,17 @@ m4_if([$1], [CXX], [
 	;;
       *)
 	case `$CC -V 2>&1 | sed 5q` in
-	*Sun\ C*)
-	  # Sun C 5.9
+	*Sun\ F* | *Sun*Fortran*)
+	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
 	  ;;
-	*Sun\ F*)
-	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
+	*Sun\ C*)
+	  # Sun C 5.9
 	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	  ;;
 	esac
 	;;


hooks/post-receive
--
GNU Libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.