libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Add support for Intel MPI fortran compiler


From: Ward Poelmans
Subject: [PATCH] Add support for Intel MPI fortran compiler
Date: Mon, 7 Oct 2013 15:11:22 +0200

In the check for static/shared libraries, the Intel MPI fortran compiler
is not detected.
---
 m4/libtool.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 80d7e44..246a337 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4443,7 +4443,7 @@ m4_if([$1], [CXX], [
         ;;
       # icc used to be incompatible with GCC.
       # ICC 10 doesn't accept -KPIC any more.
-      icc* | ifort*)
+      icc* | ifort* | mpif77* | mpif90* | mpifc* | mpiifort*)
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
@@ -4909,7 +4909,7 @@ _LT_EOF
          tmp_addflag=' -i_dynamic' ;;
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
          tmp_addflag=' -i_dynamic -nofor_main' ;;
-       ifc* | ifort*)                  # Intel Fortran compiler
+       ifc* | ifort* | mpif77* | mpif90* | mpifc* | mpiifort*)         # Intel 
Fortran compiler
          tmp_addflag=' -nofor_main' ;;
        lf95*)                          # Lahey Fortran 8.1
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]