[gcr] build: Add dependency on gtk+-x11-3.0



commit ce8d3fbd305c77efd820f147a8c5b06e1260e374
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Jan 19 19:33:19 2015 +0000

    build: Add dependency on gtk+-x11-3.0
    
    The prompter code uses gdk/gdkx.h, which is only provided by
    gtk+-x11-3.0. Make that dependency explicit.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743201

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bb1f0c3..653df14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,7 +116,7 @@ AC_ARG_WITH(gtk, [
 AM_CONDITIONAL(WITH_GTK, test "$with_gtk" != "no")
 
 if test "x$with_gtk" != "xno"; then
-       PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQ)
+       PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQ gtk+-x11-3.0 >= $GTK_REQ)
        AC_SUBST(GTK_CFLAGS)
        AC_SUBST(GTK_LIBS)
 fi


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