emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112738: * configure.ac (HAVE_XRANDR)


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112738: * configure.ac (HAVE_XRANDR): Check availability of XRRGetScreenResources rather than that of XRRQueryExtension.
Date: Mon, 27 May 2013 11:03:18 +0900
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112738
committer: YAMAMOTO Mitsuharu <address@hidden>
branch nick: trunk
timestamp: Mon 2013-05-27 11:03:18 +0900
message:
  * configure.ac (HAVE_XRANDR): Check availability of XRRGetScreenResources 
rather than that of XRRQueryExtension.
modified:
  ChangeLog
  configure.ac
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-05-18 12:04:40 +0000
+++ b/ChangeLog 2013-05-27 02:03:18 +0000
@@ -1,3 +1,8 @@
+2013-05-27  YAMAMOTO Mitsuharu  <address@hidden>
+
+       * configure.ac (HAVE_XRANDR): Check availability of
+       XRRGetScreenResources rather than that of XRRQueryExtension.
+
 2013-05-18  Eli Zaretskii  <address@hidden>
 
        * make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site,

=== modified file 'configure.ac'
--- a/configure.ac      2013-05-18 05:32:17 +0000
+++ b/configure.ac      2013-05-27 02:03:18 +0000
@@ -2999,7 +2999,7 @@
   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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]