Bug 9820

Summary: fontconfig configure check
Product: poppler Reporter: Marijn Kruisselbrink <m.kruisselbrink>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium CC: bradh
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Marijn Kruisselbrink 2007-01-30 17:37:57 UTC
The configure check for fontconfig does not check if a new enough version of fontconfig is present, resulting in a compile error when only fontconfig 1 is installed.
Comment 1 Brad Hards 2007-11-04 01:09:38 UTC
diff --git a/configure.ac b/configure.ac
index af1d25a..547d6f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,7 +154,7 @@ fi
 AC_SUBST(FREETYPE_CFLAGS)
 AC_SUBST(FREETYPE_LIBS)

-PKG_CHECK_MODULES(FONTCONFIG, fontconfig)
+PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.0.0)

 AC_ARG_ENABLE(splash-output,
               AC_HELP_STRING([--disable-splash-output],
Comment 2 Albert Astals Cid 2007-11-04 04:28:37 UTC
Commited

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.