Bug 2298 - fontconfig shouldn't AC_MSG_ERROR on old freetype
Summary: fontconfig shouldn't AC_MSG_ERROR on old freetype
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-17 10:54 UTC by Owen Taylor
Modified: 2005-08-22 00:14 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch (2.46 KB, patch)
2005-08-18 16:30 UTC, Owen Taylor
Details | Splinter Review

Description Owen Taylor 2005-01-17 10:54:04 UTC
If fontconfig is found, then configure proceeds to checks
on freetype version. If a too old freetype is found, then
it calls AC_MSG_ERROR.

What it should do is along the lines of

  if test $VERSION_DEC -lt $MIN_VERSION_DEC; then
    AC_MSG_RESULT($FREETYPE_VERSION)
    AC_MSG_WARNING($FREETYPE_VERSION - version $FREETYPE_MIN_VERSION from
release $FREETYPE_MIN_RELEASE required)
    use_freetype=no
  fi

And the same for the test for the existance of freetype-config.
Some splitting up of the if test "x$use_freetype" = "xyes"; 
block will be needed.
Comment 1 Owen Taylor 2005-08-18 16:30:05 UTC
Created attachment 2921 [details] [review]
Proposed patch
Comment 2 Owen Taylor 2005-08-18 17:22:37 UTC
2005-08-18  Owen Taylor  <otaylor@redhat.com>

        Reviewed by: krh

        * configure.in: Fix tests to just disable FreeType if a too-old FreeType
        is found, rather than erroring out. (#2298)

Comment 3 Carl Worth 2005-08-22 17:14:56 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.


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.