diff -urN gnome-games-2.28.0.orig/configure.in gnome-games-2.28.0/configure.in
--- gnome-games-2.28.0.orig/configure.in	2009-09-21 15:57:10.000000000 +0200
+++ gnome-games-2.28.0/configure.in	2009-10-18 16:34:03.000000000 +0200
@@ -842,6 +842,10 @@
   AC_GGZ_GCRYPT
   AC_GGZ_TLS
 
+  if test "$platform_win32" != "yes"; then
+    PKG_CHECK_MODULES([GGZ_GTK], [x11])
+  fi
+
   GGZ_GTK_INCLUDES="-I\$(top_srcdir)/dependencies/ggz-gtk"
   AC_SUBST(GGZ_GTK_INCLUDES)
   GGZ_GTK_LDFLAGS=""
diff -urN gnome-games-2.28.0.orig/dependencies/ggz-gtk/Makefile.am gnome-games-2.28.0/dependencies/ggz-gtk/Makefile.am
--- gnome-games-2.28.0.orig/dependencies/ggz-gtk/Makefile.am	2009-05-19 02:13:04.000000000 +0200
+++ gnome-games-2.28.0/dependencies/ggz-gtk/Makefile.am	2009-10-18 16:40:16.000000000 +0200
@@ -2,6 +2,7 @@
 libggz_gtk_la_CFLAGS = $(GTK_CFLAGS) \
 	$(GGZCORE_INCLUDES) \
 	$(LIBGGZ_INCLUDES) \
+	$(GGZ_GTK_CFLAGS) \
 	-DGGZGTKDATADIR=\"$(ggzgtkdatadir)\" \
 	$(AM_CFLAGS)
 
@@ -72,7 +73,7 @@
 			xtext-ggz.h
 
 libggz_gtk_la_LIBADD = $(GTK_LIBS) $(LDADD) $(LIBS) $(INTLLIBS) \
-			$(LIB_GGZCORE) $(LIB_GGZ)
+			$(LIB_GGZCORE) $(LIB_GGZ) $(GGZ_GTK_LIBS)
 libggz_gtk_la_LDFLAGS = $(GGZCORE_LDFLAGS) $(LIBGGZ_LDFLAGS)
 
 #if WIN32
