[RFC PATCH:xserver 1/15] shadowfb calls GetGlyphs() so list libXfont as a dependency

Alan Coopersmith alan.coopersmith at oracle.com
Fri May 25 08:02:05 PDT 2012


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 configure.ac                    |    5 +++--
 hw/xfree86/shadowfb/Makefile.am |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7440156..7296fee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -813,9 +813,10 @@ LIBSELINUX="libselinux >= 2.0.86"
 LIBDBUS="dbus-1 >= 1.0"
 LIBPIXMAN="pixman-1 >= 0.21.8"
 
-dnl Pixman is always required, but we separate it out so we can link
-dnl specific modules against it
+dnl Pixman & libXfont are always required, but we separate them out so we can
+dnl link specific modules against them
 PKG_CHECK_MODULES(PIXMAN, $LIBPIXMAN)
+PKG_CHECK_MODULES(XFONT, $LIBXFONT)
 REQUIRED_LIBS="$REQUIRED_LIBS $LIBPIXMAN $LIBXFONT xau"
 
 dnl Core modules for most extensions, et al.
diff --git a/hw/xfree86/shadowfb/Makefile.am b/hw/xfree86/shadowfb/Makefile.am
index 5756fca..4a2cbff 100644
--- a/hw/xfree86/shadowfb/Makefile.am
+++ b/hw/xfree86/shadowfb/Makefile.am
@@ -1,7 +1,7 @@
 module_LTLIBRARIES = libshadowfb.la
 libshadowfb_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
 libshadowfb_la_SOURCES = sfbmodule.c shadow.c
-libshadowfb_la_LIBADD = $(PIXMAN_LIBS)
+libshadowfb_la_LIBADD = $(PIXMAN_LIBS) $(XFONT_LIBS)
 
 sdk_HEADERS = shadowfb.h
 
-- 
1.7.9.2



More information about the xorg-devel mailing list