瀏覽代碼

The default action of AC_CHECK_LIB when the lib is found is to add it to LIB,
we don't want to replace this behaviour.

Cédric Augonnet 15 年之前
父節點
當前提交
95bb2c7164
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -774,7 +774,7 @@ AC_ARG_WITH(goto-dir, [AS_HELP_STRING([--with-goto-dir=<dir>], [specify GotoBLAS
 if test x$blas_lib = xgoto; then
 AC_CHECK_LIB(gfortran, main,,)
 # Perhaps that GotoBLAS2 is available instead (so that we have libgotoblas2.{so,a})
-AC_CHECK_LIB(goto2, sgemm_, [havegoto2=yes], [havegoto2=no])
+AC_CHECK_LIB(goto2, sgemm_,, [havegoto2=no])
 if test x$havegoto2 = xno; then
 AC_CHECK_LIB(goto, sgemm_,,AC_MSG_ERROR([cannot find goto lib]))
 fi