[Commits] [SCM] claws branch, gtk2, updated. 3.19.0-86-g15c070cb3

paul at claws-mail.org paul at claws-mail.org
Thu Oct 20 08:14:29 UTC 2022


The branch, gtk2 has been updated
       via  15c070cb37d45689af8aa79d34ad198eafdd30bc (commit)
      from  f0b3aeaab1ad958ec46f02f38f446998040b4d78 (commit)

Summary of changes:
 configure.ac | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 15c070cb37d45689af8aa79d34ad198eafdd30bc
Author: Paul <paul at claws-mail.org>
Date:   Thu Oct 20 09:13:24 2022 +0100

    clean up check for valgrind

diff --git a/configure.ac b/configure.ac
index 622127f4c..29693dea0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1032,13 +1032,15 @@ fi
 AC_MSG_CHECKING([whether to use valgrind])
 if test x$enable_valgrind = xyes; then
 	AC_MSG_RESULT(yes)
-	PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0,
-			  enable_valgrind=yes, enable_valgrind=no)
-	if test x"$enable_valgrind" = xyes; then
+	PKG_CHECK_MODULES([VALGRIND], [valgrind >= 2.4.0],
+	[
 		AC_DEFINE(HAVE_VALGRIND, 1, Define if you want valgrind support)
-	else
-		AC_MSG_RESULT(not found)
-	fi
+		enable_valgrind=yes
+	],
+	[
+		AC_MSG_NOTICE([valgrind support deactivated as valgrind >= 2.4.0 was not found])
+		enable_valgrind=no
+	])
 else
 	AC_MSG_RESULT(no)
 fi

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list