diff options
| -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) |