Recent versions of libXrandr depend on libXrender.
This commit is contained in:
parent
bbc5242fbc
commit
3657b6d569
|
@ -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
|
||||||
#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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue