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 <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2008-11-23 09:13:13 +01:00
parent 87cea4bf9e
commit 76fed6e12b
3 changed files with 16 additions and 6 deletions

View File

@ -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.

1
THANKS
View File

@ -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

12
libltdl/m4/libtool.m4 vendored
View File

@ -3941,18 +3941,18 @@ m4_if([$1], [CXX], [
;;
*)
case `$CC -V 2>&1 | sed 5q` in
*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)=''
;;
*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)='-Wl,'
;;
*Sun\ F*)
# 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)=''
;;
esac
;;
esac