[Commits] [SCM] claws branch, master, updated. 3.16.0-111-g552d845

wwp at claws-mail.org wwp at claws-mail.org
Tue Apr 10 09:42:16 CEST 2018


The branch, master has been updated
       via  552d84536a9d1f596d0b8f36ec771909b299d42b (commit)
      from  0d14eb513dd15a2dd1aecb89dba47c98238a5b8e (commit)

Summary of changes:
 configure.ac |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 552d84536a9d1f596d0b8f36ec771909b299d42b
Author: wwp <wwp at free.fr>
Date:   Tue Apr 10 09:26:21 2018 +0200

    Check for enchant-2 (necessary since enchant 2.1.3).

diff --git a/configure.ac b/configure.ac
index 87c95e5..791a2dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -596,8 +596,16 @@ if test $enable_enchant = yes; then
 		enable_enchant=yes
 	],
 	[
-		echo "Building without enchant-notification"
-		enable_enchant=no
+		PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0,
+		[
+			AC_DEFINE(USE_ENCHANT, 1, enchant-2)
+			echo "Building with enchant-2"
+			enable_enchant=yes
+		],
+		[
+			echo "Building without enchant-notification"
+			enable_enchant=no
+		])
 	])
 	AC_SUBST(ENCHANT_CFLAGS)
 	AC_SUBST(ENCHANT_LIBS)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list