[mpich2-commits] r6622 - mpich2/trunk

balaji at mcs.anl.gov balaji at mcs.anl.gov
Thu May 6 20:36:46 CDT 2010


Author: balaji
Date: 2010-05-06 20:36:46 -0500 (Thu, 06 May 2010)
New Revision: 6622

Modified:
   mpich2/trunk/configure.in
Log:
Check for -KPIC in the list of shared library flags to check for. This
is needed for suncc.

Reviewed by gropp.

Modified: mpich2/trunk/configure.in
===================================================================
--- mpich2/trunk/configure.in	2010-05-07 01:36:23 UTC (rev 6621)
+++ mpich2/trunk/configure.in	2010-05-07 01:36:46 UTC (rev 6622)
@@ -2000,7 +2000,7 @@
        end
 EOF
          FC_SHL=false
-         for sh_arg in "-shared -fPIC" "-fPIC" "-shared -fpic" "-fpic" ; do
+         for sh_arg in "-shared -fPIC" "-fPIC" "-shared -fpic" "-fpic" "-KPIC" ; do
  	     AC_MSG_CHECKING([whether $F77 allows $sh_arg])
              if $F77 $sh_arg -o conftest conftest.f >/dev/null 2>&1 ; then
 	         FC_SHL="$F77 $sh_arg"



More information about the mpich2-commits mailing list