summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2006-04-27 01:06:46 -0700
committerJosh Triplett <josh@freedesktop.org>2006-04-27 01:06:46 -0700
commitc6e2da5ed7d81a8b67f3d38393e10b112a2caf85 (patch)
tree04d499b35c157b3a9c79493543c5e36525777bcf
parenta20729144675a519486baed2cdae8e3cb9a446a4 (diff)
Fix xcb-util library dependencies, including both the new dependency libXCBImage needs on libXCBShm, as well as many other issues discovered in the process. These include using automake variables appropriately in order to actually link shared libraries against each other and ensure libraries have NEEDED entries for the libraries they depend on, consequently needing to reorder the top-level SUBDIRS to build property before icccm, adding dependencies to .pc.in files, fixing .pc.in files to not all use the name and description for XCBImage, and adding appropriate library dependencies to test programs.
-rw-r--r--configure.ac1
-rw-r--r--keysyms/Makefile.am4
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4f5bbd7..90d75e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ pkgconfigdir='${libdir}/pkgconfig'
AC_SUBST(pkgconfigdir)
PKG_CHECK_MODULES(XCB, xcb)
+PKG_CHECK_MODULES(XCB_SHM, xcb-shm)
AC_OUTPUT([Makefile
convenient/Makefile convenient/xcb-aux.pc
diff --git a/keysyms/Makefile.am b/keysyms/Makefile.am
index 1d602f3..6765333 100644
--- a/keysyms/Makefile.am
+++ b/keysyms/Makefile.am
@@ -6,10 +6,10 @@ lib_LTLIBRARIES = libXCBKeysyms.la
xcbinclude_HEADERS = xcb_keysyms.h
AM_CFLAGS = -Wall
-INCLUDES = $(XCB_CFLAGS)
-LDADD = $(XCB_LIBS)
libXCBKeysyms_la_SOURCES = keysyms.c
+libXCBKeysyms_la_CFLAGS = $(XCB_CFLAGS)
+libXCBKeysyms_la_LIBADD = $(XCB_LIBS)
pkgconfig_DATA = xcb-keysyms.pc