[gimp] configure.ac: remove the check for a "too new" gdk-pixbuf version



commit 94e28b3f5bacef8b9c126513e1a49eb6ff8c5c86
Author: Michael Natterer <mitch gimp org>
Date:   Tue Nov 1 18:27:59 2016 +0100

    configure.ac: remove the check for a "too new" gdk-pixbuf version
    
    We are way past the 2.31 that was in the check, and unfortunately we
    can't get rid of the deprecated inline pixbufs until GIMP 3.0, so just
    kill the useless check for good and never define
    -DGDK_PIXBUF_DISABLE_DEPRECATED.

 configure.ac |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c486394..f577ce1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -729,14 +729,6 @@ if test "x$GDK_PIXBUF_CSOURCE" = xno; then
                  [Could not find gdk-pixbuf-csource in your PATH.])
 fi
 
-AC_MSG_CHECKING([if GdkPixbuf is version 2.31.0 or newer])
-if $PKG_CONFIG --atleast-version=2.31.0 gdk-pixbuf-2.0; then
-  have_gdk_pixbuf_2_31=yes
-else
-  have_gdk_pixbuf_2_31=no
-fi
-AC_MSG_RESULT($have_gdk_pixbuf_2_31)
-
 PKG_CHECK_MODULES(CAIRO, cairo >= cairo_required_version,,
                   [add_deps_error([cairo >= cairo_required_version])])
 
@@ -2240,10 +2232,6 @@ if test "x$have_gtk_2_26" != "xyes"; then
   CPPFLAGS="${CPPFLAGS} -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
 fi
 
-if test "x$have_gdk_pixbuf_2_31" != "xyes"; then
-  CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED"
-fi
-
 if test "x$have_pango_1_32" != "xyes"; then
   CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED"
 fi


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