<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Sat, 2011-09-24 at 21:09 -0700, Jeremy Huddleston wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<A HREF="https://bugs.freedesktop.org/show_bug.cgi?id=5425">https://bugs.freedesktop.org/show_bug.cgi?id=5425</A>

Signed-off-by: Jeremy Huddleston &lt;<A HREF="mailto:jeremyhu@apple.com">jeremyhu@apple.com</A>&gt;
---
 configure.ac |   31 +------------------------------
 1 files changed, 1 insertions(+), 30 deletions(-)

diff --git a/configure.ac b/configure.ac
index 54d960f..3847e49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,36 +64,7 @@ AC_SUBST([XFT_LT_VERSION])
 #
 # Check for Xrender
 #
-PKG_CHECK_MODULES(XRENDER, xrender &gt;= 0.8.2, [xrender_found_with_pkgconfig=yes],
-                  [xrender_found_with_pkgconfig=no])
-case &quot;$xrender_found_with_pkgconfig&quot; in
-no)
-        PKG_CHECK_MODULES(XRENDER, xrender &gt;= 0, [old_xrender_found_with_pkgconfig=yes],
-                          [old_xrender_found_with_pkgconfig=no])
-        case &quot;$old_xrender_found_with_pkgconfig&quot; in
-        yes)
-                XRENDER_LIBS=&quot;$XRENDER_LIBS -lXext -lX11&quot;
-                ;
-        *)
-                # checks for X
-                AC_PATH_X
-
-                XRENDER_CFLAGS=&quot;-I$x_includes&quot;
-                XRENDER_LIBS=&quot;-L$x_libraries -lXrender -lXext -lX11&quot;
-
-                saved_CPPFLAGS=&quot;$CPPFLAGS&quot;
-                CPPFLAGS=&quot;$CPPFLAGS $XRENDER_CFLAGS&quot;
-                AC_CHECK_HEADERS([X11/extensions/Xrender.h], [], [AC_MSG_ERROR([Xrender.h not found.])])
-                CPPFLAGS=&quot;$saved_CPPFLAGS&quot;
-
-                saved_LIBS=&quot;$LIBS&quot;
-                LIBS=&quot;$LIBS $XRENDER_LIBS&quot;
-                AC_CHECK_FUNCS([XRenderFindStandardFormat], [], [AC_MSG_ERROR([libXrender not found or too old.])])
-                LIBS=&quot;$saved_LIBS&quot;
-                ;
-        esac
-        ;;
-esac
+PKG_CHECK_MODULES(XRENDER, xrender &gt;= 0.8.2 xext x11)
 
 # Check freetype configuration
 AC_ARG_WITH(freetype-config, [&nbsp; --with-freetype-config=PROG&nbsp;&nbsp; Use FreeType configuration program PROG], freetype_config=$withval, freetype_config=auto)
</PRE>
</BLOCKQUOTE>
<BR>
Reviewed-by: Gaetan Nadon &lt;memsize@videotron.ca&gt;<BR>
<BR>
Perhaps the subject of another patch, ldd -r -u reports:
<BLOCKQUOTE>
<PRE>
Unused direct dependencies:
        
        /home/nadon/xorg/src/inst/lib/libXext.so.6
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
</BODY>
</HTML>