diff options
author | Peter Simons <simons@cryp.to> | 2023-04-13 14:41:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 14:41:23 +0200 |
commit | 9fb1eafffc87b1d97da44892a27bea1ab54be051 (patch) | |
tree | c5b5956f202fba49a8498db590340497165c4696 | |
parent | f199e00f59c72e325deed565f1c3f912732221c1 (diff) | |
parent | ab99334f322f98f061d0aaa74b724d6fda0af415 (diff) | |
download | autoconf-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.m4 | 6 |
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 |