diff --git a/m4/superlu.m4 b/m4/superlu.m4
index a0271322c0e4fdb44825c0c172ebc7b8652112dd..b1a842e8bf4fb40fa291f262754f3517e74eae78 100644
--- a/m4/superlu.m4
+++ b/m4/superlu.m4
@@ -129,11 +129,11 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[
 		fi
 	    ]
 	)
-AC_ARG_WITH([superlu_blaslib],
+AC_ARG_WITH([superlu-blaslib],
              [AC_HELP_STRING([--with-superlu-blaslib],[The name of the static blas library         to link to. By default the shared library with the name superlu-mpi is tried])],
             [
-                 if test "$withval" != no ; then
-                     with_superlu_blaslib=$withval
+                 if test "$withval" = no ; then
+                     with_superlu_blaslib=
                  fi
              ]
          )