From 1689074d4fd94acb364727078903e31ca431b193 Mon Sep 17 00:00:00 2001 From: Roland Kaufmann Date: Sun, 14 Oct 2012 21:43:11 +0200 Subject: [PATCH] Abort build process if BLAS or LAPACK not found --- m4/opm_lapack.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/opm_lapack.m4 b/m4/opm_lapack.m4 index b5fa5ca5..083ecf0b 100644 --- a/m4/opm_lapack.m4 +++ b/m4/opm_lapack.m4 @@ -1,4 +1,7 @@ AC_DEFUN([OPM_LAPACK], [AC_REQUIRE([AC_F77_WRAPPERS])dnl AC_REQUIRE([AX_LAPACK])dnl + if test x"$ax_lapack_ok" != xyes; then + AC_MSG_ERROR([BLAS/LAPACK required, but not found.]) + fi ])[]dnl