Commit d311e8d0 authored by Glenn Morris's avatar Glenn Morris
Browse files

* Silence warning with some old Xrandr.h.

Fixes: debbugs:18465
parent 10501882
2014-10-04 Glenn Morris <>
* Silence warning with some old Xrandr.h. (Bug#18465)
2014-10-03 Paul Eggert <>
* Port to strict POSIX shells on non-MinGW (Bug#18612).
......@@ -3377,8 +3377,12 @@ 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).
# Include Xrender.h by hand to work around bug in older Xrandr.h
# (e.g. RHEL5) and silence (harmless) configure warning (bug#18465).
[AC_CHECK_LIB(Xrandr, XRRGetScreenResources, HAVE_XRANDR=yes)])
[AC_CHECK_LIB(Xrandr, XRRGetScreenResources, HAVE_XRANDR=yes)],
#include <X11/extensions/Xrender.h>])
if test $HAVE_XRANDR = yes; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment