]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix matching of Sun Fortran compiler on Linux.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 23 Nov 2008 08:13:13 +0000 (09:13 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 23 Nov 2008 08:13:13 +0000 (09:13 +0100)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
THANKS
libltdl/m4/libtool.m4

index cd1b1fa6709a6c1bd2258444696a835cd17c4cbb..06d08eea73f47c50b2dd55191af90cf65ec99831 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       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 <libtool@cwilson.fastmail.fm>
 
        Fix --verbose option; add new --no-{silent|quiet|verbose} options.
diff --git a/THANKS b/THANKS
index d37d2648909d145a94c84cf49bf34529cc5a336e..387a07e86b3485e7e23001ac77624f5c18d8f0af 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -88,6 +88,7 @@
   Edouard G. Parmelan          Edouard.Parmelan@France.NCR.COM
   Erez Zadok                   ezk@shekel.mcl.cs.columbia.edu
   Eric Estievenart             eric@via.ecp.fr
+  Ethan Mallove                        ethan.mallove@sun.com
   Frank Ch. Eigler             fche@cygnus.com
   Fred Cox                     sailorfred@yahoo.com
   H.J. Lu                      hjl@gnu.org
index 35d7d5c646bdf58032640d3e9c5c6fb0520546c9..bb2e6effdc1f67679f46579ac423acc5dfe73b14 100644 (file)
@@ -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
        ;;