mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
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.
This commit is contained in:
parent
2aee20fbf8
commit
d5d6772dfb
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue