comparison acx_blas.m4 @ 7062:1eb94c1da37d

[project @ 2007-10-24 19:57:57 by jwe]
author jwe
date Wed, 24 Oct 2007 19:57:57 +0000
parents 323be5eeed1f
children 7e58655dbe23
comparison
equal deleted inserted replaced
7061:005c785b8d81 7062:1eb94c1da37d
88 [], [-latlas])]) 88 [], [-latlas])])
89 fi 89 fi
90 90
91 # BLAS in Apple vecLib framework? (Mac OS X) 91 # BLAS in Apple vecLib framework? (Mac OS X)
92 if test $acx_blas_ok = no; then 92 if test $acx_blas_ok = no; then
93 vlib_flags="-framework vecLib" 93 vlib_flags="-Wl,-framework -Wl,vecLib"
94 save_LIBS="$LIBS"; LIBS="$vlib_flags $LIBS" 94 save_LIBS="$LIBS"; LIBS="$vlib_flags $LIBS"
95 AC_MSG_CHECKING([for $sgemm in $vlib_flags]) 95 AC_MSG_CHECKING([for $sgemm in $vlib_flags])
96 AC_LINK_IFELSE([AC_LANG_CALL([], [$sgemm])], 96 AC_LINK_IFELSE([AC_LANG_CALL([], [$sgemm])],
97 [acx_blas_ok=yes; BLAS_LIBS="$vlib_flags"], 97 [acx_blas_ok=yes; BLAS_LIBS="$vlib_flags"],
98 [BLAS_LIBS=""]) 98 [BLAS_LIBS=""])