diff options
| author | Paul Eggert | 2019-09-04 11:07:14 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-09-04 11:17:48 -0700 |
| commit | d5d6772dfb29a73a8da4c21576b4d23da5da2565 (patch) | |
| tree | 534d8e743fb8d5100d168de76f2500e905172a89 | |
| parent | 2aee20fbf88322eff653405ea4932823fbb70fd5 (diff) | |
| download | emacs-d5d6772dfb29a73a8da4c21576b4d23da5da2565.tar.gz emacs-d5d6772dfb29a73a8da4c21576b4d23da5da2565.zip | |
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.
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e39a4380523..e822b0b7b0f 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3288,7 +3288,8 @@ fi | |||
| 3288 | # Check for XRender | 3288 | # Check for XRender |
| 3289 | HAVE_XRENDER=no | 3289 | HAVE_XRENDER=no |
| 3290 | if test "${HAVE_X11}" = "yes"; then | 3290 | if test "${HAVE_X11}" = "yes"; then |
| 3291 | AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes) | 3291 | AC_CHECK_HEADER([X11/extensions/Xrender.h], |
| 3292 | [AC_CHECK_LIB([Xrender], [XRenderQueryExtension], [HAVE_XRENDER=yes])]) | ||
| 3292 | if test $HAVE_XRENDER = yes; then | 3293 | if test $HAVE_XRENDER = yes; then |
| 3293 | XRENDER_LIBS="-lXrender" | 3294 | XRENDER_LIBS="-lXrender" |
| 3294 | AC_SUBST(XRENDER_LIBS) | 3295 | AC_SUBST(XRENDER_LIBS) |