AC_MSG_ERROR([If SLEPc is used, you must use the same version number as your PETSc Installation])
fi
])
-
-
-
-dnl ------------------------------------------------------------
-dnl Check whether MUMPS is installed; and, if so, then check for
-dnl two known dependecies, namely, SCALAPACK and BLACS.
-dnl
-dnl Usage: DEAL_II_CONFIGURE_MUMPS
-dnl
-dnl ------------------------------------------------------------
-AC_DEFUN(DEAL_II_CONFIGURE_MUMPS, dnl
-[
- AC_MSG_CHECKING([for MUMPS library directory])
- AC_ARG_WITH(mumps,
- [AS_HELP_STRING([--with-mumps=path/to/mumps],
- [Specify the path to the MUMPS installation, for which the include directory and lib directory are subdirs; use this if you want to override the MUMPS_DIR environment variable.])],
- [dnl action-if-given
- if test "x$withval" = "xno" ; then
- AC_MSG_RESULT([explicitly disabled])
- USE_CONTRIB_MUMPS=no
- else
- USE_CONTRIB_MUMPS=yes
- DEAL_II_MUMPS_DIR="$withval"
- AC_MSG_RESULT($DEAL_II_MUMPS_DIR)
- dnl Make sure that what was specified is actually correct
- if test ! -d $DEAL_II_MUMPS_DIR \
- -o ! -d $DEAL_II_MUMPS_DIR/include \
- -o ! -d $DEAL_II_MUMPS_DIR/lib \
- ; then
- AC_MSG_ERROR([Path to MUMPS specified with --with-mumps does not point to a complete MUMPS installation])
- fi
- fi
- ],
- [dnl action-if-not-given (do nothing)
- USE_CONTRIB_MUMPS=no
- AC_MSG_RESULT([no])
- ])
-