Added a guard to the SuperLU test. If HAVE_SUPERLU is 1 from a run of the

SuperLU test within DUNE, we skip testing for it again as the additional test
would fail in some cases.
This commit is contained in:
Markus Blatt 2012-12-03 16:47:04 +01:00
parent a2dccf7a8f
commit 2c63359542

View File

@ -143,6 +143,9 @@ AC_DEFUN([OPM_PATH_SUPERLU],[
AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])
AC_REQUIRE([AX_BLAS])
if test x$HAVE_SUPERLU = x1 ; then
AC_MSG_WARN([SuperLU test was already performed. Skipping it here])
else
#
# User hints ...
#
@ -331,4 +334,5 @@ AC_DEFUN([OPM_PATH_SUPERLU],[
LDFLAGS="$ac_save_LDFLAGS"
CPPFLAGS="$ac_save_CPPFLAGS"
LIBS="$ac_save_LIBS"
fi
])