Recent versions of libXrandr depend on libXrender.

This commit is contained in:
Alexandre Julliard 2003-10-16 05:16:05 +00:00
parent bbc5242fbc
commit 3657b6d569
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -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

View File

@ -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