mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
783229560f
This is in preparation of fixing #3137. The plan is not to use libfile's MIME type detection but Qt's. As both mkvmerge and the GUI need to auto-detect the MIME type, this means that the command line applications will have to be linked against Qt's core library (but not the GUI libraries).
26 lines
580 B
Plaintext
26 lines
580 B
Plaintext
dnl
|
|
dnl Check for cmark
|
|
dnl
|
|
|
|
if test x"$BUILD_GUI" = 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])
|
|
CMARK_CFLAGS="`$PKG_CONFIG --cflags libcmark`"
|
|
CMARK_LIBS="`$PKG_CONFIG --libs libcmark`"
|
|
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)
|