Commit 62c92aee authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r6622] Check for -KPIC in the list of shared library flags to check for. This

is needed for suncc.

Reviewed by gropp.
parent ffaa162c
......@@ -2000,7 +2000,7 @@ dnl fi
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment