[devilspie/libwnck3: 1/6] build: Require x11



commit e4004eb3e994f27fdd3de28b7bd4b85193293c2c
Author: Christian Persch <chpe gnome org>
Date:   Thu May 31 18:13:01 2012 +0200

    build: Require x11
    
    Otherwise linking fails with:
    /usr/bin/ld: xutils.o: undefined reference to symbol 'XGetWindowAttributes'
    /usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO /lib/libX11.so.6 so try adding it to the linker command line

 configure.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 1be4d6d..5ae76ac 100644
--- a/configure.in
+++ b/configure.in
@@ -26,6 +26,8 @@ AM_GLIB_GNU_GETTEXT
 PKG_CHECK_MODULES(WNCK,
         glib-2.0 >= 2.9.1
         gdk-2.0
+        gdk-x11-2.0
+        x11
         libwnck-1.0 >= 0.17)
 AC_SUBST(WNCK_CFLAGS)
 AC_SUBST(WNCK_LIBS)



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