[Commits] [SCM] claws branch, master, updated. 3.17.8-77-gf780dd64e
mones at claws-mail.org
mones at claws-mail.org
Sat Apr 24 01:59:22 CEST 2021
The branch, master has been updated
via f780dd64ec440bf2f7b56f26cb90ab6255cb2950 (commit)
from 009886072c2769cf2cc946cb2175ac14704a504d (commit)
Summary of changes:
configure.ac | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit f780dd64ec440bf2f7b56f26cb90ab6255cb2950
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Apr 24 01:58:56 2021 +0200
Fix bug 4447: --enable-deprecated and --disable-deprecated build flags have same effect
diff --git a/configure.ac b/configure.ac
index c1f152e72..e1fa5837b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -577,9 +577,17 @@ dnl ************************
dnl Checks for GTK
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.24)
+
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