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 ...@@ -7311,7 +7311,7 @@ if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS 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 cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
/* confdefs.h. */ /* confdefs.h. */
...@@ -7365,7 +7365,7 @@ cat >>confdefs.h <<\_ACEOF ...@@ -7365,7 +7365,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBXRANDR 1 #define HAVE_LIBXRANDR 1
_ACEOF _ACEOF
X_PRE_LIBS="$X_PRE_LIBS -lXrandr" X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
fi fi
......
...@@ -257,9 +257,9 @@ then ...@@ -257,9 +257,9 @@ then
then then
AC_CHECK_LIB(Xrandr, XRRSetScreenConfigAndRate, AC_CHECK_LIB(Xrandr, XRRSetScreenConfigAndRate,
[ AC_DEFINE(HAVE_LIBXRANDR, 1, [Define if you have the Xrandr library]) [ 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 fi
dnl *** Check for XVideo extension supporting XvImages 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