Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
95bb2c7164
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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