2018-01-01 13:31:36 +00:00
|
|
|
dnl
|
|
|
|
dnl Check for cmark
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x"$have_qt" = "xyes" ; then
|
|
|
|
PKG_CHECK_EXISTS([libcmark],[cmark_found=yes],[cmark_found=no])
|
|
|
|
if test x"$cmark_found" = xyes; then
|
|
|
|
PKG_CHECK_MODULES([libcmark],[libcmark],[cmark_found=yes])
|
2018-01-22 18:05:06 +00:00
|
|
|
CMARK_CFLAGS="`$PKG_CONFIG --cflags libcmark`"
|
|
|
|
CMARK_LIBS="`$PKG_CONFIG --libs libcmark`"
|
2018-01-01 13:31:36 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if test x"$cmark_found" != xyes; then
|
|
|
|
AC_MSG_ERROR([Could not find the cmark library])
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_DEFINE(HAVE_CMARK,,[define if building with cmark])
|
|
|
|
|
|
|
|
else
|
|
|
|
CMARK_CFLAGS=""
|
|
|
|
CMARK_LIBS=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(CMARK_CFLAGS)
|
|
|
|
AC_SUBST(CMARK_LIBS)
|