diff options
| author | YAMAMOTO Mitsuharu | 2013-05-27 11:03:18 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2013-05-27 11:03:18 +0900 |
| commit | 2d8ac645c23cde0b8dbe093d56b2ea183609d6bc (patch) | |
| tree | c0354989b3950f709fb494a6c7a4e87b2ccf2a36 | |
| parent | 416f18027e1aa7a2af88d66a24b217fc84b7e2c7 (diff) | |
| download | emacs-2d8ac645c23cde0b8dbe093d56b2ea183609d6bc.tar.gz emacs-2d8ac645c23cde0b8dbe093d56b2ea183609d6bc.zip | |
* configure.ac (HAVE_XRANDR): Check availability of XRRGetScreenResources rather than that of XRRQueryExtension.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 2 |
2 files changed, 6 insertions, 1 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * configure.ac (HAVE_XRANDR): Check availability of | ||
| 4 | XRRGetScreenResources rather than that of XRRQueryExtension. | ||
| 5 | |||
| 1 | 2013-05-18 Eli Zaretskii <eliz@gnu.org> | 6 | 2013-05-18 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site, | 8 | * 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 | |||
| 2999 | if test $HAVE_XRANDR = no; then | 2999 | if test $HAVE_XRANDR = no; then |
| 3000 | # Test old way in case pkg-config doesn't have it (older machines). | 3000 | # Test old way in case pkg-config doesn't have it (older machines). |
| 3001 | AC_CHECK_HEADER(X11/extensions/Xrandr.h, | 3001 | AC_CHECK_HEADER(X11/extensions/Xrandr.h, |
| 3002 | [AC_CHECK_LIB(Xrandr, XRRQueryExtension, HAVE_XRANDR=yes)]) | 3002 | [AC_CHECK_LIB(Xrandr, XRRGetScreenResources, HAVE_XRANDR=yes)]) |
| 3003 | if test $HAVE_XRANDR = yes; then | 3003 | if test $HAVE_XRANDR = yes; then |
| 3004 | XRANDR_LIBS=-lXrandr | 3004 | XRANDR_LIBS=-lXrandr |
| 3005 | AC_SUBST(XRANDR_LIBS) | 3005 | AC_SUBST(XRANDR_LIBS) |