commit f4c101dd53bec740681680d8859bd7037f66a909
Author: Frédéric Péters <fpeters@0d.be>
Date:   Thu Mar 10 17:40:53 2011 +0100

    Fix linking of libshortcuts against X
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644410

diff --git a/configure.ac b/configure.ac
index 9a98f5c..c7e813e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,7 @@ COMMON_MODULES="gtk+-3.0 >= $GTK_REQUIRED_VERSION
 
 PKG_CHECK_MODULES(LIBGNOME_CONTROL_CENTER, $COMMON_MODULES gconf-2.0)
 PKG_CHECK_MODULES(LIBLANGUAGE, $COMMON_MODULES gnome-desktop-3.0)
+PKG_CHECK_MODULES(LIBSHORTCUTS, $COMMON_MODULES x11)
 PKG_CHECK_MODULES(SHELL, $COMMON_MODULES libgnome-menu gio-unix-2.0)
 PKG_CHECK_MODULES(BACKGROUND_PANEL, $COMMON_MODULES libxml-2.0 gnome-desktop-3.0
                   gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED_VERSION)
diff --git a/panels/common/Makefile.am b/panels/common/Makefile.am
index e9fda23..eadb5c6 100644
--- a/panels/common/Makefile.am
+++ b/panels/common/Makefile.am
@@ -30,7 +30,8 @@ libshortcuts_la_SOURCES =		\
 	eggaccelerators.c
 
 libshortcuts_la_LIBADD =		\
-	$(PANEL_LIBS)
+	$(PANEL_LIBS)			\
+	$(LIBSHORTCUTS_LIBS)
 
 libshortcuts_la_LDFLAGS = $(PANEL_LDFLAGS)
 
