From df4e35a846b2368d02aafe9e87f907456f9b6c28 Mon Sep 17 00:00:00 2001 From: Massimo Valentini Date: Thu, 8 Nov 2018 11:39:30 +0100 Subject: [PATCH] Issue #2454: recent libwmf uses pkg-config. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b39e20747c..7bfccdc972 100644 --- a/configure.ac +++ b/configure.ac @@ -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)"