@@ -18225,7 +18225,8 @@ for ac_lib in '' $possible_blas_library_names; do
1822518225 ac_res="none required"
1822618226 else
1822718227 ac_res=-l$ac_lib
18228- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18228+ LIBS="-l$ac_lib "-lgfortran"
18229+ $ac_func_search_save_LIBS"
1822918230 fi
1823018231 if ac_fn_c_try_link "$LINENO"; then :
1823118232 ac_cv_search_dcopy=$ac_res
@@ -18288,7 +18289,8 @@ for ac_lib in '' $possible_blas_library_names; do
1828818289 ac_res="none required"
1828918290 else
1829018291 ac_res=-l$ac_lib
18291- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18292+ LIBS="-l$ac_lib "-lgfortran"
18293+ $ac_func_search_save_LIBS"
1829218294 fi
1829318295 if ac_fn_c_try_link "$LINENO"; then :
1829418296 ac_cv_search_dcopy_=$ac_res
@@ -18313,13 +18315,11 @@ ac_res=$ac_cv_search_dcopy_
1831318315if test "$ac_res" != no; then :
1831418316 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1831518317 have_blas_underscore="yes"
18316-
1831718318fi
1831818319
18319-
1832018320fi
1832118321
18322- possible_lapack_library_names="sci_quadcore_mp nag essl mkl lapack"
18322+ possible_lapack_library_names="openblas blas sci_quadcore_mp nag essl mkl lapack"
1832318323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dgetrf" >&5
1832418324$as_echo_n "checking for library containing dgetrf... " >&6; }
1832518325if ${ac_cv_search_dgetrf+:} false; then :
@@ -18357,7 +18357,8 @@ for ac_lib in '' $possible_lapack_library_names; do
1835718357 ac_res="none required"
1835818358 else
1835918359 ac_res=-l$ac_lib
18360- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18360+ LIBS="-l$ac_lib "-lgfortran"
18361+ $ac_func_search_save_LIBS"
1836118362 fi
1836218363 if ac_fn_c_try_link "$LINENO"; then :
1836318364 ac_cv_search_dgetrf=$ac_res
@@ -18420,7 +18421,8 @@ for ac_lib in '' $possible_lapack_library_names; do
1842018421 ac_res="none required"
1842118422 else
1842218423 ac_res=-l$ac_lib
18423- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18424+ LIBS="-l$ac_lib "-lgfortran"
18425+ $ac_func_search_save_LIBS"
1842418426 fi
1842518427 if ac_fn_c_try_link "$LINENO"; then :
1842618428 ac_cv_search_dgetrf_=$ac_res
@@ -18445,10 +18447,8 @@ ac_res=$ac_cv_search_dgetrf_
1844518447if test "$ac_res" != no; then :
1844618448 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1844718449 have_lapack_underscore="yes"
18448-
1844918450fi
1845018451
18451-
1845218452fi
1845318453
1845418454fi
0 commit comments