diff --git a/m4/superlu.m4 b/m4/superlu.m4 index 2fe84e9c8570ee78146f3ed16f9dc4f8849dea90..a0271322c0e4fdb44825c0c172ebc7b8652112dd 100644 --- a/m4/superlu.m4 +++ b/m4/superlu.m4 @@ -121,11 +121,11 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[ _slu_search_default ]) - AC_ARG_WITH([super_lu_lib], + AC_ARG_WITH([superlu-lib], [AC_HELP_STRING([--with-superlu-lib],[The name of the static SuperLU library to link to. By default the shared library with the name superlu-mpi is tried])], [ - if test "$withval" != no ; then - with_superlu_lib=$withval + if test "$withval" = no ; then + with_superlu_lib= fi ] )