cmark.m4: don't hardcode the pkg-config command

This commit is contained in:
Timo Gurr 2018-01-22 19:05:06 +01:00
parent a26be1f600
commit 8b229b399c

View File

@ -6,8 +6,8 @@ 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])
CMARK_CFLAGS="`pkg-config --cflags libcmark`"
CMARK_LIBS="`pkg-config --libs libcmark`"
CMARK_CFLAGS="`$PKG_CONFIG --cflags libcmark`"
CMARK_LIBS="`$PKG_CONFIG --libs libcmark`"
fi
if test x"$cmark_found" != xyes; then