diff options
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e39a4380523..e822b0b7b0f 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3288,7 +3288,8 @@ fi | |||
| 3288 | # Check for XRender | 3288 | # Check for XRender |
| 3289 | HAVE_XRENDER=no | 3289 | HAVE_XRENDER=no |
| 3290 | if test "${HAVE_X11}" = "yes"; then | 3290 | if test "${HAVE_X11}" = "yes"; then |
| 3291 | AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes) | 3291 | AC_CHECK_HEADER([X11/extensions/Xrender.h], |
| 3292 | [AC_CHECK_LIB([Xrender], [XRenderQueryExtension], [HAVE_XRENDER=yes])]) | ||
| 3292 | if test $HAVE_XRENDER = yes; then | 3293 | if test $HAVE_XRENDER = yes; then |
| 3293 | XRENDER_LIBS="-lXrender" | 3294 | XRENDER_LIBS="-lXrender" |
| 3294 | AC_SUBST(XRENDER_LIBS) | 3295 | AC_SUBST(XRENDER_LIBS) |