[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 f212fe5: Handle case where Xft is found but not X
From: |
Robert Pluim |
Subject: |
[Emacs-diffs] emacs-26 f212fe5: Handle case where Xft is found but not XRender |
Date: |
Tue, 29 May 2018 14:34:34 -0400 (EDT) |
branch: emacs-26
commit f212fe512c3b1757310e875882e3d76b7e8fba23
Author: Robert Pluim <address@hidden>
Commit: Robert Pluim <address@hidden>
Handle case where Xft is found but not XRender
* configure.ac (XFT_LIBS): Ensure that HAVE_XFT is no if
XRender is not found. (Bug#31634)
---
configure.ac | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index c66c80a..c6101d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3210,8 +3210,8 @@ if test "${HAVE_X11}" = "yes"; then
if test "x${with_xft}" != "xno"; then
EMACS_CHECK_MODULES([XFT], [xft >= 0.13.0], [], [HAVE_XFT=no])
- ## Because xftfont.c uses XRenderQueryExtension, we also
- ## need to link to -lXrender.
+ ## Because xterm.c uses XRenderQueryExtension when XFT is
+ ## enabled, we also need to link to -lXrender.
HAVE_XRENDER=no
AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes)
if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
@@ -3234,6 +3234,9 @@ if test "${HAVE_X11}" = "yes"; then
CPPFLAGS=$OLD_CPPFLAGS
CFLAGS=$OLD_CFLAGS
LIBS=$OLD_LIBS
+ else
+ # Make sure XFT is disabled if we found XFT but not XRender
+ HAVE_XFT=no
fi # "$HAVE_XFT" != no
fi # "x${with_xft}" != "xno"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 f212fe5: Handle case where Xft is found but not XRender,
Robert Pluim <=