Index: /issm/trunk/m4/issm_options.m4
===================================================================
--- /issm/trunk/m4/issm_options.m4	(revision 1061)
+++ /issm/trunk/m4/issm_options.m4	(revision 1062)
@@ -345,4 +345,25 @@
 	AC_MSG_RESULT($HAVE_BLASLAPACK)
 
+	dnl mkl directory
+	AC_ARG_WITH([mkl-dir],
+			  AS_HELP_STRING([--with-mkl-dir = DIR],
+							 [mkl root directory]),
+			  [MKL_ROOT=$withval],[MKL_ROOT=""])
+			  
+	AC_MSG_CHECKING(for mkl headers and libraries in $MKL_ROOT)
+	if test -d "$MKL_ROOT"; then
+
+		dnl defaults
+		HAVE_MKL=yes
+		MKLINCL=""
+		MKLLIB=-L"$MKL_ROOT -lmkl_lapack -lmkl -lguide"
+
+		AC_DEFINE([_HAVE_MKL_],[1],[with mkl in ISSM src])
+		AC_SUBST([MKLLIB])
+		AC_SUBST([MKLINCL])
+	else
+		HAVE_MKL=no
+	fi
+	AC_MSG_RESULT($HAVE_MKL)
 
 	dnl Plapack directory
