emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master d5d6772 1/2: Port to platforms with Xrender lib but


From: Paul Eggert
Subject: [Emacs-diffs] master d5d6772 1/2: Port to platforms with Xrender lib but not header
Date: Wed, 4 Sep 2019 14:17:53 -0400 (EDT)

branch: master
commit d5d6772dfb29a73a8da4c21576b4d23da5da2565
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Port to platforms with Xrender lib but not header
    
    * configure.ac (HAVE_XRENDER): Also require ‘#include
    <X11/extensions/Xrender.h>’ to work.  Problem found
    on gcc119 in GCC compile farm.
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e39a438..e822b0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3288,7 +3288,8 @@ fi
 # Check for XRender
 HAVE_XRENDER=no
 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
     XRENDER_LIBS="-lXrender"
     AC_SUBST(XRENDER_LIBS)



reply via email to

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