~glmark2-dev/glmark2/scene-clear

Viewing all changes in revision 270.

  • Committer: Alexandros Frantzis
  • Author(s): Joe Konno
  • Date: 2013-05-05 16:23:53 UTC
  • Revision ID: alexandros.frantzis@canonical.com-20130505162353-1j9dcbzcph8vn3r8
Replace the logic used previously to check for libpng12. Check for supported
libpng versions -- as of writing, 1.2.x and 1.5.x. This logic assumes each
subsequent major release of libpng comes with a libpngXY .pc file. Stop
checking when a supported version is found.
      
More may be added to the "supp_png_pkgs" iterable as they are tested. Each
addition is a 2-tuple, the first element being the expected pkg-config file,
the second the minimum supported version of that major release.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: