From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:38 +0000 (-0700) Subject: Check for gdk_pixbuf_xlib-2.0 in configure script X-Git-Tag: stable-10.2.0~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7397d21db121bb3b5498a44027f990381974e1f1;p=thirdparty%2Fopen-vm-tools.git Check for gdk_pixbuf_xlib-2.0 in configure script gdk_pixbuf_xlib-2.0 is no longer part of gdk-pixbuf2 in newer distributions (for example Fedora 26), so it's no longer pulled in as a dependency from the gtk devel packages. Therefore we need an extra check for it. --- diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac index 117cf9765..22c9380e2 100644 --- a/open-vm-tools/configure.ac +++ b/open-vm-tools/configure.ac @@ -716,6 +716,16 @@ else have_xcomposite="yes" fi + AC_VMW_CHECK_LIB([gdk_pixbuf_xlib-2.0], + [GDK_PIXBUF_XLIB2], + [gdk-pixbuf-xlib-2.0], + [], + [], + [gdk-pixbuf-xlib/gdk-pixbuf-xlib.h], + [], + [], + [AC_MSG_ERROR([gdk-pixbuf-xlib-2.0 not found. Please configure without X11 (using --without-x) or install the gdk-pixbuf-xlib-2.0 devel package.])]) + # Check whether we have gtk+ 3.0. if test "$with_gtk3" != "no"; then # gdk_display_get_default_group (added in gtk+ 2.4.0) is function currently