[gdk-pixbuf] build: Sort libpng versions



commit 2c6404f7f50f1ccf305ad8b2008fe6fc8fecfe10
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Aug 1 16:44:33 2017 +0100

    build: Sort libpng versions
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786035

 configure.ac |    2 +-
 meson.build  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 719daf4..8b8c500 100644
--- a/configure.ac
+++ b/configure.ac
@@ -509,7 +509,7 @@ fi
 
 dnl Test for libpng
   if test x$with_libpng != xno && test -z "$LIBPNG"; then
-    for l in libpng16 libpng15 libpng14 libpng12 libpng13 libpng10; do
+    for l in libpng16 libpng15 libpng14 libpng13 libpng12 libpng10; do
       AC_MSG_CHECKING(for $l)
       if $PKG_CONFIG --exists $l ; then
         AC_MSG_RESULT(yes)
diff --git a/meson.build b/meson.build
index 8942bd4..92c4049 100644
--- a/meson.build
+++ b/meson.build
@@ -216,7 +216,7 @@ loaders_deps = []
 
 if get_option('enable_png')
   # We have a vast selection of libpng versions to choose from
-  foreach png: [ 'libpng16', 'libpng15', 'libpng14', 'libpng12', 'libpng13', 'libpng10' ]
+  foreach png: [ 'libpng16', 'libpng15', 'libpng14', 'libpng13', 'libpng12', 'libpng10' ]
     if not enabled_loaders.contains('png')
       png_dep = dependency(png, required: false)
       if png_dep.found()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]