[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-23-g85befd7a1

mones at claws-mail.org mones at claws-mail.org
Thu Dec 15 16:25:12 UTC 2022


The branch, gtk2 has been updated
       via  85befd7a1e554d9549ec48a4d497561b459d1dcf (commit)
      from  65b02af6228542cb53c6a86ac766ea74b5e45708 (commit)

Summary of changes:
 configure.ac | 50 +++++++++++++++++++++++++-------------------------
 1 file changed, 25 insertions(+), 25 deletions(-)


- Log -----------------------------------------------------------------
commit 85befd7a1e554d9549ec48a4d497561b459d1dcf
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu Dec 15 17:23:39 2022 +0100

    Improve naming and summary messages

diff --git a/configure.ac b/configure.ac
index ead461f26..d734bee27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,13 +341,13 @@ AC_ARG_ENABLE(tests,
 				[  --enable-tests                   Build unit tests],
 				[enable_tests=$enableval], [enable_tests=no])
 
-AC_ARG_ENABLE(addressbook-debug,
-        [  --enable-addressbook-debug      Build with addressbook debug calls],
-        [enable_addressbook_debug=$enableval], [enable_addressbook_debug=no])
+AC_ARG_ENABLE(more-addressbook-debug,
+        [  --enable-more-addressbook-debug Build with additional addressbook debug calls],
+        [enable_more_addressbook_debug=$enableval], [enable_more_addressbook_debug=no])
 
-AC_ARG_ENABLE(ldap-debug,
-        [  --enable-ldap-debug             Build with LDAP debug calls],
-        [enable_ldap_debug=$enableval], [enable_ldap_debug=no])
+AC_ARG_ENABLE(more-ldap-debug,
+        [  --enable-more-ldap-debug        Build with additional LDAP debug calls],
+        [enable_more_ldap_debug=$enableval], [enable_more_ldap_debug=no])
 
 manualdir='${docdir}/manual'
 AC_ARG_WITH(manualdir,
@@ -1066,36 +1066,30 @@ else
 fi
 AM_CONDITIONAL(BUILD_TESTS, test "x$enable_tests" = "xyes")
 
-dnl =======================
-dnl section for debug calls
-dnl =======================
+dnl ==================================
+dnl section for additional debug calls
+dnl ==================================
 
-DEBUG_CALLS=""
+more_debug_output_modules=""
 
-AC_MSG_CHECKING([whether to build addressbook debug calls])
-if test x$enable_addressbook_debug = xyes; then
-	DEBUG_CALLS="$DEBUG_CALLS AddressBook"
+AC_MSG_CHECKING([whether to build addressbook with more debug calls])
+if test x$enable_more_addressbook_debug = xyes; then
+	more_debug_output_modules="$more_debug_output_modules AddressBook"
 	AC_MSG_RESULT(yes)
-	AC_DEFINE(DEBUG_ADDRBOOK, 1, [Define if you want addressbook debug calls])
+	AC_DEFINE(DEBUG_ADDRBOOK, 1, [Define if you want additional addressbook debug calls])
 else
 	AC_MSG_RESULT(no)
 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_CHECKING([whether to build LDAP with more debug calls])
+if test x$enable_more_ldap_debug = xyes; then
+	more_debug_output_modules="$more_debug_output_modules LDAP"
 	AC_MSG_RESULT(yes)
-	AC_DEFINE(DEBUG_LDAP, 1, [Define if you want LDAP debug calls])
+	AC_DEFINE(DEBUG_LDAP, 1, [Define if you want additional 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 *************************
@@ -2323,7 +2317,13 @@ 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"
+
+if test -n "$more_debug_output_modules"; then
+	echo "More debug output enabled for:"
+	for module in $more_debug_output_modules; do
+		echo "            - $module"
+	done
+fi
 
 echo "Plugins"
 echo "   Built:"

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list