From 7b9c543e7210c7da204871c31a160e79d3a949b6 Mon Sep 17 00:00:00 2001 From: Paul Bender Date: Thu, 12 Mar 2009 17:11:42 -0700 Subject: Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb X.Org bug #15664 Patch #16128 Signed-off-by: Alan Coopersmith --- configure.ac | 1 + x11.pc.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0076a8b8..afcf02a7 100644 --- a/configure.ac +++ b/configure.ac @@ -49,6 +49,7 @@ AC_SUBST(XPROTO_CFLAGS) case "$ac_cv_use_xcb" in no) X11_REQUIRES="xau xcmiscproto bigreqsproto" + X11_EXTRA_DEPS="xau xdmcp" PKG_CHECK_MODULES(XDMCP, xdmcp) AC_CHECK_LIB(Xdmcp, XdmcpWrap, [xdmauth="yes"], [xdmauth="no"], [$XDMCP_LIBS]) AC_DEFINE(USE_XCB, 0, [Use XCB for low-level protocol implementation]) diff --git a/x11.pc.in b/x11.pc.in index d10c6f10..25c7e7cd 100644 --- a/x11.pc.in +++ b/x11.pc.in @@ -9,7 +9,7 @@ Name: X11 Description: X Library Version: @PACKAGE_VERSION@ Requires: xproto @XKBPROTO_REQUIRES@ -Requires.private: xau xdmcp @X11_EXTRA_DEPS@ +Requires.private: @X11_EXTRA_DEPS@ Cflags: -I${includedir} @XTHREAD_CFLAGS@ Libs: -L${libdir} -lX11 Libs.private: @XTHREADLIB@ -- cgit v1.2.3