Commit 3657b6d5 authored by Alexandre Julliard's avatar Alexandre Julliard

Recent versions of libXrandr depend on libXrender.

parent bbc5242f
......@@ -7311,7 +7311,7 @@ if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
LIBS="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
......@@ -7365,7 +7365,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBXRANDR 1
_ACEOF
X_PRE_LIBS="$X_PRE_LIBS -lXrandr"
X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
fi
......
......@@ -257,9 +257,9 @@ then
then
AC_CHECK_LIB(Xrandr, XRRSetScreenConfigAndRate,
[ AC_DEFINE(HAVE_LIBXRANDR, 1, [Define if you have the Xrandr library])
X_PRE_LIBS="$X_PRE_LIBS -lXrandr"
X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
],,
$X_LIBS -lXext -lX11 $X_EXTRA_LIBS)
$X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS)
fi
dnl *** Check for XVideo extension supporting XvImages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment