atlas-lib-rename.diff 646 B

12345678910111213141516171819202122
  1. diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4
  2. --- a/m4/ax_blas.m4
  3. +++ b/m4/ax_blas.m4
  4. @@ -116,13 +116,10 @@
  5. # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
  6. if test $ax_blas_ok = no; then
  7. - AC_CHECK_LIB(atlas, ATL_xerbla,
  8. - [AC_CHECK_LIB(f77blas, $sgemm,
  9. - [AC_CHECK_LIB(cblas, cblas_dgemm,
  10. - [ax_blas_ok=yes
  11. - BLAS_LIBS="-lcblas -lf77blas -latlas"],
  12. - [], [-lf77blas -latlas])],
  13. - [], [-latlas])])
  14. + AC_CHECK_LIB(tatlas, $sgemm,
  15. + [ax_blas_ok=yes; BLAS_LIBS="-ltatlas"],
  16. + [AC_CHECK_LIB(satlas, $sgemm,
  17. + [ax_blas_ok=yes; BLAS_LIBS="-lsatlas"])])
  18. fi
  19. # BLAS in PhiPACK libraries? (requires generic BLAS lib, too)