Issue #2454: recent libwmf uses pkg-config.

This commit is contained in:
Massimo Valentini 2018-11-08 11:39:30 +01:00 committed by Jehan
parent baa8aadc83
commit df4e35a846
1 changed files with 4 additions and 1 deletions

View File

@ -1991,7 +1991,10 @@ if test "x$with_wmf" != xno; then
WMF_LIBS=`$WMF_CONFIG --libs`
WMF_CFLAGS=`$WMF_CONFIG --cflags`
else
have_libwmf="no (libwmf is too old)"
have_libwmf=yes
PKG_CHECK_MODULES(WMF, libwmf >= wmf_required_version,
FILE_WMF='file-wmf$(EXEEXT)',
have_libwmf="no (libwmf not found)")
fi
else
have_libwmf="no (libwmf not found)"