[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-91-g3dfae5196
mones at claws-mail.org
mones at claws-mail.org
Sat Apr 24 01:59:22 CEST 2021
The branch, gtk3 has been updated
via 3dfae5196cf6132ed01c0da30fb8946d38cea34b (commit)
from 758dc7cf4ef1f156e6768002a37625a02e5b6988 (commit)
Summary of changes:
configure.ac | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 3dfae5196cf6132ed01c0da30fb8946d38cea34b
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Apr 24 01:58:31 2021 +0200
Fix bug 4447: --enable-deprecated and --disable-deprecated build flags have same effect
diff --git a/configure.ac b/configure.ac
index 8ae215a70..cbfbc2d59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -577,9 +577,17 @@ dnl ************************
dnl Checks for GTK
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.20 cairo)
+
AC_ARG_ENABLE(deprecated,
[ --disable-deprecated Disable deprecated GTK functions],
- [GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"], [])
+ gtkdeprecated=$enableval)
+AC_MSG_CHECKING([whether to use deprecated GTK functions])
+if test x"$gtkdeprecated" != xno; then
+ AC_MSG_RESULT(yes)
+else
+ GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
+ AC_MSG_RESULT(no)
+fi
dnl Make sure the code does not regress to using deprecated GTK stuff...
GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE"
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list