[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OMPI devel] RFC: Add SunStudio/Libtool helper script for post-confi
From: |
Ralf Wildenhues |
Subject: |
Re: [OMPI devel] RFC: Add SunStudio/Libtool helper script for post-configure |
Date: |
Sun, 23 Nov 2008 09:15:19 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
[ Libtool list readers: this thread is
<http://www.open-mpi.org/community/lists/devel/2008/11/4937.php> ]
I'm applying this patch to Libtool master, to fix $wl for the Sun Ceres
Fortran compiler.
Cheers,
Ralf
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.
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
;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [OMPI devel] RFC: Add SunStudio/Libtool helper script for post-configure,
Ralf Wildenhues <=