]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac (HAVE_XRANDR): Check availability of XRRGetScreenResources rather...
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 27 May 2013 02:03:18 +0000 (11:03 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 27 May 2013 02:03:18 +0000 (11:03 +0900)
ChangeLog
configure.ac

index c2e841781dc5b0d5e6f2c62b2d9f24e52d7df128..b07c8d702fa5b00afe48483264644fa0600dade4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * configure.ac (HAVE_XRANDR): Check availability of
+       XRRGetScreenResources rather than that of XRRQueryExtension.
+
 2013-05-18  Eli Zaretskii  <eliz@gnu.org>
 
        * make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site,
index 00c841e77b0c920172defecc469ab9ae3e648c80..c0aa8e78715b421a6f30ad2f8ce92adbc0f3447c 100644 (file)
@@ -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)