Ref the previous webcit build bug report, the problem was in the makefile -lmarkdown was too soon in the library list.
editing the makefile allowed proper completion, but the makefile got wiped out every dpkg-buildpackage. So a similar change in configure led to the correct makefile, whichgot wiped out every ./bootstrap. The lasting change was to configure.ac, and is:
--- webcit/configure.ac 2015-03-18 14:30:52.396576048 -0500
+++ patches/configure.ac 2015-03-18 14:32:02.863553320 -0500
@@ -238,7 +238,7 @@
AC_CHECK_LIB(markdown,
markdown,
[
- LDFLAGS="$LDFLAGS -lmarkdown"
+ LIBS="$LIBS -lmarkdown"
AC_DEFINE(HAVE_MARKDOWN,[],[whether we have markdown message rendering])
])
(make sure to run bootstrap after making this patch, and then dpkg-buildpackage)
Harry