[Commits] [SCM] claws branch, master, updated. 4.1.1-27-g71ea22117

mones at claws-mail.org mones at claws-mail.org
Thu Dec 15 12:35:17 UTC 2022


The branch, master has been updated
       via  71ea2211730b2a932637e913b88260f7ea695359 (commit)
      from  8aaf0276c11cecaca09672e440c421df2e0b2e22 (commit)

Summary of changes:
 configure.ac | 15 +++++++++++++++
 1 file changed, 15 insertions(+)


- Log -----------------------------------------------------------------
commit 71ea2211730b2a932637e913b88260f7ea695359
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu Dec 15 13:34:27 2022 +0100

    Add debug calls to configure summary

diff --git a/configure.ac b/configure.ac
index 22cff09a1..892b0f2a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1058,8 +1058,15 @@ else
 fi
 AM_CONDITIONAL(BUILD_TESTS, test "x$enable_tests" = "xyes")
 
+dnl =======================
+dnl section for debug calls
+dnl =======================
+
+DEBUG_CALLS=""
+
 AC_MSG_CHECKING([whether to build addressbook debug calls])
 if test x$enable_addressbook_debug = xyes; then
+	DEBUG_CALLS="$DEBUG_CALLS AddressBook"
 	AC_MSG_RESULT(yes)
 	AC_DEFINE(DEBUG_ADDRBOOK, 1, [Define if you want addressbook debug calls])
 else
@@ -1068,12 +1075,19 @@ fi
 
 AC_MSG_CHECKING([whether to build LDAP debug calls])
 if test x$enable_ldap_debug = xyes; then
+	DEBUG_CALLS="$DEBUG_CALLS LDAP"
 	AC_MSG_RESULT(yes)
 	AC_DEFINE(DEBUG_LDAP, 1, [Define if you want LDAP debug calls])
 else
 	AC_MSG_RESULT(no)
 fi
 
+if test -z "$DEBUG_CALLS"; then
+	DEBUG_CALLS="no"
+else
+	DEBUG_CALLS=`echo $DEBUG_CALLS | sed 's/^\s+|\s+$//;s/\s/, /g'`
+fi
+
 dnl *************************
 dnl ** section for plugins **
 dnl *************************
@@ -2300,6 +2314,7 @@ echo "SVG support        : $enable_svg"
 echo "Config dir         : $ac_cv_with_config_dir"
 echo "Password crypto    : $pwd_crypto"
 echo "Unit tests         : $enable_tests"
+echo "Debug calls        : $DEBUG_CALLS"
 
 echo "Plugins"
 echo "   Built:"

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list