talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 16e8226cafc9c38558b1de9414c935b4d7148bec
parent 03654c4ffeb2e812cb3073a5aff26e974644488b
Author: Paul <paul@claws-mail.org>
Date:   Thu, 21 Sep 2023 10:29:00 +0100

allow building the litehtml plugin with libgumbo >= 0.10 but < 0.12 if, and only if, explicitly requested

Diffstat:
Mconfigure.ac | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -1309,6 +1309,11 @@ AC_SUBST(FONTCONFIG_LIBS) dnl gumbo ********************************************************************** PKG_CHECK_MODULES(LIBGUMBO, gumbo >= 0.12, HAVE_LIBGUMBO=yes, HAVE_LIBGUMBO=no) +if test x"$HAVE_LIBGUMBO" = xno; then + if test x"$enable_litehtml_viewer_plugin" = xyes; then + PKG_CHECK_MODULES(LIBGUMBO, gumbo >= 0.10, HAVE_LIBGUMBO=yes, HAVE_LIBGUMBO=no) + fi +fi AC_SUBST(LIBGUMBO_CFLAGS) AC_SUBST(LIBGUMBO_LIBS)