build system: modify blas check for os x 10.10

time-shift
Houtan Bastani 2014-10-30 16:25:01 +01:00
parent 9300a061aa
commit 0dbff4fa52
1 changed files with 4 additions and 4 deletions

View File

@ -170,11 +170,11 @@ if test $ax_blas_ok = no; then
AC_CHECK_LIB(mkl, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-lmkl -lguide -lpthread"],,[-lguide -lpthread])
fi
# BLAS in Apple vecLib library?
# BLAS in Apple Accelerate library?
if test $ax_blas_ok = no; then
save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
AC_MSG_CHECKING([for $sgemm in -framework vecLib])
AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"])
save_LIBS="$LIBS"; LIBS="-framework Accelerate $LIBS"
AC_MSG_CHECKING([for $sgemm in -framework Accelerate])
AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes;BLAS_LIBS="-framework Accelerate"])
AC_MSG_RESULT($ax_blas_ok)
LIBS="$save_LIBS"
fi