Просмотр исходного кода

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
Родитель
Сommit
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