|
|
|
@ -1079,7 +1079,7 @@ if test "x$BLAS_LIBS" != x; then
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LIBS="$BLAS_LIBDIR $save_LIBS "
|
|
|
|
|
# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
|
|
|
|
|
if test $pac_blas_ok = no; then
|
|
|
|
|
AC_LANG([C])
|
|
|
|
@ -1173,10 +1173,8 @@ fi
|
|
|
|
|
|
|
|
|
|
# BLAS linked to by default? (happens on some supercomputers)
|
|
|
|
|
if test $pac_blas_ok = no; then
|
|
|
|
|
save_LIBS="$LIBS"; LIBS=" $BLAS_LIBDIR $LIBS"
|
|
|
|
|
AC_TRY_LINK_FUNC(sgemm, [pac_blas_ok=yes], [BLAS_LIBS=""])
|
|
|
|
|
dnl AC_CHECK_FUNC(sgemm, [pac_blas_ok=yes])
|
|
|
|
|
LIBS="$save_LIBS"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Generic BLAS library?
|
|
|
|
@ -1199,6 +1197,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
])dnl PAC_BLAS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dnl @synopsis PAC_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
|
|
|
|
dnl @synopsis ACX_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
|
|
|
|
dnl
|
|
|
|
|