From 2d8ac645c23cde0b8dbe093d56b2ea183609d6bc Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 27 May 2013 11:03:18 +0900 Subject: [PATCH] * configure.ac (HAVE_XRANDR): Check availability of XRRGetScreenResources rather than that of XRRQueryExtension. --- ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c2e841781dc..b07c8d702fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-27 YAMAMOTO Mitsuharu + + * configure.ac (HAVE_XRANDR): Check availability of + XRRGetScreenResources rather than that of XRRQueryExtension. + 2013-05-18 Eli Zaretskii * make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site, diff --git a/configure.ac b/configure.ac index 00c841e77b0..c0aa8e78715 100644 --- a/configure.ac +++ b/configure.ac @@ -2999,7 +2999,7 @@ if test "${HAVE_X11}" = "yes"; then if test $HAVE_XRANDR = no; then # Test old way in case pkg-config doesn't have it (older machines). AC_CHECK_HEADER(X11/extensions/Xrandr.h, - [AC_CHECK_LIB(Xrandr, XRRQueryExtension, HAVE_XRANDR=yes)]) + [AC_CHECK_LIB(Xrandr, XRRGetScreenResources, HAVE_XRANDR=yes)]) if test $HAVE_XRANDR = yes; then XRANDR_LIBS=-lXrandr AC_SUBST(XRANDR_LIBS) -- 2.39.2