diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4 index 089fe0a..14eba7c 100644 --- a/m4/ax_blas.m4 +++ b/m4/ax_blas.m4 @@ -107,6 +107,12 @@ if test $ax_blas_ok = no; then LIBS="$save_LIBS" fi +# BLAS in OpenBLAS library? (http://xianyi.github.com/OpenBLAS/) +if test $ax_blas_ok = no; then + AC_CHECK_LIB(openblas, $sgemm, [ax_blas_ok=yes + BLAS_LIBS="-lopenblas"]) +fi + # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/) if test $ax_blas_ok = no; then AC_CHECK_LIB(atlas, ATL_xerbla,