summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2010-08-28 13:39:21 +0200
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-08-29 08:12:12 +0300
commit6eab5ee10c111cf87dcf62e3f639f44cfd1e5cf6 (patch)
treefad50d1836eec2c406dc7c576536f274c734939e /configure.ac
parent9f98ec6eb915204d59820cf57d32f347f9933517 (diff)
build: prefer libpng14 over older versions
Also move libpng to the front of the list, so that the default version of the system is first checked.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ce5afc191..beaad9d20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -279,7 +279,7 @@ CAIRO_ENABLE_FUNCTIONS(png, PNG, yes, [
AC_ARG_VAR([png_REQUIRES], [module name for libpng to search for using pkg-config])
if test "x$png_REQUIRES" = x; then
# libpng13 is GnuWin32's libpng-1.2.8 :-(
- for l in libpng12 libpng13 libpng10 libpng; do
+ for l in libpng libpng14 libpng12 libpng13 libpng10; do
if $PKG_CONFIG --exists $l ; then
png_REQUIRES=$l
use_png=yes