wayland: Pull gdk-pixbuf in a private dependency
authorRob Bradford <rob@linux.intel.com>
Wed, 11 Jan 2012 12:26:00 +0000 (12:26 +0000)
committerRob Bradford <rob@linux.intel.com>
Wed, 11 Jan 2012 12:26:00 +0000 (12:26 +0000)
This means it will get tested for explicitly as well as appearing in the
Requires.private section of the pkg-config file.

configure.ac

index 5269330..cc0bcbb 100644 (file)
@@ -313,8 +313,11 @@ AS_IF([test "x$enable_wayland" = "xyes"],
 
         SUPPORT_WAYLAND=1
 
-        PKG_CHECK_EXISTS([wayland-client xkbcommon],
-                         [BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon"],
+        PKG_CHECK_EXISTS([wayland-client xkbcommon gdk-pixbuf-2.0],
+                         [
+                            BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon",
+                            BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE gdk-pixbuf-2.0"
+                         ],
                          [])
 
         AC_DEFINE([HAVE_CLUTTER_WAYLAND], [1], [Have the Wayland client backend])