[Commits] [SCM] claws branch, master, updated. 4.1.0-89-g4e6a2ef03
paul at claws-mail.org
paul at claws-mail.org
Thu Oct 20 08:13:28 UTC 2022
The branch, master has been updated
via 4e6a2ef0321a9561ec1ed38099bc89c25cfe9ebf (commit)
from 333f56c3894449ccd6786c41257ddcc5cf021efe (commit)
Summary of changes:
configure.ac | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 4e6a2ef0321a9561ec1ed38099bc89c25cfe9ebf
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 1ab1883e9..f0fe8f235 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1024,13 +1024,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