engine/
configure.ac | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit a236885b3cbb2b0f4953f1403c6ac31147c67dbb
Author: Stephan Bergmann <
stephan....@collabora.com>
AuthorDate: Mon Apr 27 11:45:38 2026 +0200
Commit: Michael Stahl <
michae...@collabora.com>
CommitDate: Tue Apr 28 12:44:29 2026 +0000
Revert "remove unneeded check for md4c-html"
This reverts commit fa4721b739368db9e566db6390fc7b90ee1a1b6a, as
7f2f31669b8305611373aeb36accd948789422d2 "sc: Add Markdown clipboard
format support" started to need that check.
Signed-off-by: Stephan Bergmann <
stephan....@collabora.com>
Change-Id: I08ceec3366ed249d52883e7268b233baa15ac468
Reviewed-on:
https://gerrit.collaboraoffice.com/c/online/+/1720
Reviewed-by: Michael Stahl <
michae...@collabora.com>
Tested-by: Jenkins CPCI <
rel...@collaboraoffice.com>
diff --git a/engine/
configure.ac b/engine/
configure.ac
index 4220da008f24..1f30d91fcb86 100644
--- a/engine/
configure.ac
+++ b/engine/
configure.ac
@@ -9979,10 +9979,17 @@ case "$with_system_md4c" in
AC_CHECK_HEADER([md4c.h], [],
[AC_MSG_ERROR([md4c.h not found. Install system md4c.])])
+ AC_CHECK_HEADER([md4c-html.h], [],
+ [AC_MSG_ERROR([md4c-html.h not found. Install system md4c.])])
+
AC_CHECK_LIB([md4c], [md_parse],
[ MD4C_LIBS="-lmd4c"
MD4C_CFLAGS="" ],
[ AC_MSG_ERROR([system md4c library not found or broken.]) ])
+
+ AC_CHECK_LIB([md4c-html], [md_html],
+ [ MD4C_LIBS="$MD4C_LIBS -lmd4c-html" ],
+ [ AC_MSG_ERROR([system md4c-html library not found or broken.]) ])
;;
""|no)