summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2023-04-13 14:41:23 +0200
committerGitHub <noreply@github.com>2023-04-13 14:41:23 +0200
commit9fb1eafffc87b1d97da44892a27bea1ab54be051 (patch)
treec5b5956f202fba49a8498db590340497165c4696
parentf199e00f59c72e325deed565f1c3f912732221c1 (diff)
parentab99334f322f98f061d0aaa74b724d6fda0af415 (diff)
downloadautoconf-archive-9fb1eafffc87b1d97da44892a27bea1ab54be051.tar.gz
Merge pull request #276 from theAeon/master
AX_BLAS: Fix vecLib detection on modern MacOS
-rw-r--r--m4/ax_blas.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4
index 9571905..86ec926 100644
--- a/m4/ax_blas.m4
+++ b/m4/ax_blas.m4
@@ -175,9 +175,9 @@ fi
# BLAS in Apple vecLib library?
if test $ax_blas_ok = no; then
- save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
- AC_MSG_CHECKING([for $sgemm in -framework vecLib])
- AC_LINK_IFELSE([AC_LANG_CALL([], [$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_LINK_IFELSE([AC_LANG_CALL([], [$sgemm])], [ax_blas_ok=yes;BLAS_LIBS="-framework Accelerate"])
AC_MSG_RESULT($ax_blas_ok)
LIBS="$save_LIBS"
fi