[PATCH:libXaw3d] Add xext to required modules for Shape extension calls

Alan Coopersmith alan.coopersmith at oracle.com
Sat Sep 3 11:34:35 PDT 2011

Without this, strict linkers like Solaris ld & gold would fail with:

Undefined                       first referenced
 symbol                             in file
XShapeQueryExtension                .libs/Command.o  (symbol belongs to implicit dependency libXext.so.0)

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

I'm assuming gold would give similar errors, based on past reports/patches
and http://wiki.debian.org/ToolChain/DSOLinking , but I didn't try it.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index c5e2f0b..c70959c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ fi
 # Checks for header files.
-PKG_CHECK_MODULES(X11, [x11 xt xmu])
+PKG_CHECK_MODULES(X11, [x11 xt xmu xext])
 AC_CHECK_HEADERS([wctype.h wchar.h widec.h])

More information about the xorg-devel mailing list