[Commits] [SCM] claws branch, litehtml, updated. 3.17.3-109-gcefa3f9
ticho at claws-mail.org
ticho at claws-mail.org
Sun Feb 3 14:51:17 CET 2019
The branch, litehtml has been updated
via cefa3f92c2ba0fbbecc9ac00977a8ec918f5bc17 (commit)
from 0999f4fc9c5503b0b1a04ada6077c63dd1efe578 (commit)
Summary of changes:
configure.ac | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit cefa3f92c2ba0fbbecc9ac00977a8ec918f5bc17
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Sun Feb 3 14:50:30 2019 +0100
Do not build the litehtml plugin if a C++ compiler is not available
diff --git a/configure.ac b/configure.ac
index 09b0fde..a222d3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,7 +109,16 @@ LT_AC_PROG_RC
AC_LIBTOOL_RC
AC_PROG_LIBTOOL
AC_PROG_AWK
+
+dnl AC_PROG_CXX will set CXX=g++ even if it finds no useable C++
+dnl compiler, so we have to check whether the program named by
+dnl CXX exists.
AC_PROG_CXX
+AC_PATH_PROG(REAL_CXX, $CXX)
+HAVE_CXX=no
+if test -n "$REAL_CXX"; then
+ HAVE_CXX=yes
+fi
AC_SYS_LARGEFILE
@@ -1124,7 +1133,7 @@ dnl either yes or no, and do the AC_SUBST calls.
dnl Archive: libarchive
dnl Fancy: Webkit, curl, optionally libsoup-gnome
dnl Gdata: libgdata
-dnl Litehtml cairo, fontconfig, gumbo, curl
+dnl Litehtml a C++ compiler, cairo, fontconfig, gumbo, curl
dnl Libravatar: libcurl
dnl Notification: optionally libnotify unity/messaging-menu
dnl libcanberra_gtk hotkey
@@ -1627,6 +1636,9 @@ AC_MSG_CHECKING([whether to build litehtml_viewer plugin])
if test x"$enable_litehtml_viewer_plugin" != xno; then
dependencies_missing=""
+ if test x"$HAVE_CXX" = xno; then
+ dependencies_missing="C++ compiler $dependencies missing"
+ fi
if test x"$HAVE_CAIRO" = xno; then
dependencies_missing="cairo $dependencies_missing"
fi
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list