Commit d5d6772d authored by Paul Eggert's avatar Paul Eggert
Browse files

Port to platforms with Xrender lib but not header

* (HAVE_XRENDER): Also require ‘#include
<X11/extensions/Xrender.h>’ to work.  Problem found
on gcc119 in GCC compile farm.
parent 2aee20fb
...@@ -3288,7 +3288,8 @@ fi ...@@ -3288,7 +3288,8 @@ fi
# Check for XRender # Check for XRender
if test "${HAVE_X11}" = "yes"; then if test "${HAVE_X11}" = "yes"; then
AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes) AC_CHECK_HEADER([X11/extensions/Xrender.h],
[AC_CHECK_LIB([Xrender], [XRenderQueryExtension], [HAVE_XRENDER=yes])])
if test $HAVE_XRENDER = yes; then if test $HAVE_XRENDER = yes; then
XRENDER_LIBS="-lXrender" XRENDER_LIBS="-lXrender"
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