From b74958be0ef1d8d03bcf96751e4f27d1a969972e Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Sat, 7 Nov 2015 23:31:45 +0100
Subject: [PATCH] pdate with update modules

---
 configure.ac | 33 ++++++++++++++++++---------------
 openfpm_data |  2 +-
 openfpm_io   |  2 +-
 3 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/configure.ac b/configure.ac
index a04b1083..00c4690f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -84,29 +84,32 @@ else
 	NVCCFLAGS+="$NVCCFLAGS -O3 "
 fi
 
-## Check for memcheck
+#########
+
+## Check for Metis
+
+IMMDX_LIB_METIS([],[echo "Cannot detect metis, use the --with-metis option if it is not installed in the default location"
+                    exit 201])
+
+########
 
-AC_MSG_CHECKING(whether to build with memcheck capabilities)
-AC_ARG_ENABLE(memcheck,
+## Enable scan coverty
+
+AC_MSG_CHECKING(whether to build for scan coverty compilation)
+AC_ARG_ENABLE(scan-coverty,
         AC_HELP_STRING(
-            [--enable-memcheck],
-            [enable memory check (def=no)]
+            [--enable-scan-coverty],
+            [enable scan-coverty compilation (def=no)]
         ),
-        memcheck="$enableval"
+        scancoverty="$enableval"
 )
 
-AC_MSG_RESULT($memcheck)
+AC_MSG_RESULT($scancoverty)
 
-if test x"$memcheck" = x"yes"; then
-        AC_DEFINE([MEMLEAK_CHECK],[],[Memory check, corruption and leak])
+if test x"$scancoverty" = x"yes"; then
+        AC_DEFINE([COVERTY_SCAN],[],[Compile for coverty scan])
 fi
 
-#########
-
-## Check for Metis
-
-IMMDX_LIB_METIS([],[echo "Cannot detect metis, use the --with-metis option if it is not installed in the default location"
-                    exit 201])
 
 ####### include OpenFPM_devices include path
 
diff --git a/openfpm_data b/openfpm_data
index 8c0697ce..7283b5d5 160000
--- a/openfpm_data
+++ b/openfpm_data
@@ -1 +1 @@
-Subproject commit 8c0697ce972fc6c4f82aefea2750b12c4bd40b18
+Subproject commit 7283b5d52466ba271171d140955c8104bbe0a207
diff --git a/openfpm_io b/openfpm_io
index a57523c7..3e0e5333 160000
--- a/openfpm_io
+++ b/openfpm_io
@@ -1 +1 @@
-Subproject commit a57523c7d63fba78fafe6385db759984fc70bc04
+Subproject commit 3e0e53331a6758d18409834abb1c9a3d3ae06de6
-- 
GitLab