Skip to content
Snippets Groups Projects
Commit 7501dc32 authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Conditionally disable the use of BLAS.

parent c43b6b96
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ AC_ARG_ENABLE([dim-of-world],
esac])
ALBERTA_ENABLE_FLAG([fortran-blas],
[Use BLAS routines for some basis linear algebra stuff.],
[Use BLAS routines for some basic linear algebra stuff.],
[disabled],
[USE_F77_BLAS],
[DEFINE SUBST COND])
......@@ -538,8 +538,14 @@ AC_CHECK_MEMBERS([struct sigaction.sa_sigaction],,,[#include <signal.h>])
#
# Let the user decide what it wants (handled by ALBERTA_CHECK_PACKAGE()
#
ALBERTA_CHECK_PACKAGE([blas],[blas],
[${DAXPY_F77_FUNC}],[],[${FLIBS}],[],[],[],[required])
if test "$USE_F77_BLAS" -eq 1; then
ALBERTA_CHECK_PACKAGE([blas],[blas],
[${DAXPY_F77_FUNC}],[],[${FLIBS}],[],[],[],[required])
else
AM_CONDITIONAL([HAVE_BLAS], [false])
AC_DEFINE([HAVE_BLAS], 0, [Define to 1 if BLAS is available])
AC_SUBST([BLAS_ALL_LIBS], [])
fi
ALBERTA_ENABLE_FLAG([graphics],
[disable support for visualization, including all add-ons which need graphics.],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment