… | |
… | |
635 | AC_DEFINE(XFT, 1, Define to enable xft support) |
635 | AC_DEFINE(XFT, 1, Define to enable xft support) |
636 | fi |
636 | fi |
637 | fi |
637 | fi |
638 | |
638 | |
639 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
639 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
640 | AC_MSG_CHECKING(for Render >= 0.11) |
|
|
641 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
|
642 | #include <X11/extensions/Xrender.h> |
|
|
643 | #if RENDER_MAJOR == 0 && RENDER_MINOR <= 10 |
|
|
644 | error |
|
|
645 | #endif |
|
|
646 | ]])],[],[support_image=no]) |
|
|
647 | if test x$support_image = xyes; then |
|
|
648 | AC_MSG_RESULT(ok) |
640 | LIBS="$LIBS -lm" |
649 | LIBS="$LIBS -lm" |
641 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
650 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
642 | |
651 | |
643 | if test x$support_inheritpixmap = xyes; then |
652 | if test x$support_inheritpixmap = xyes; then |
644 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
653 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
|
|
654 | fi |
|
|
655 | else |
|
|
656 | AC_MSG_RESULT(no) |
645 | fi |
657 | fi |
646 | fi |
658 | fi |
647 | |
659 | |
648 | if test x$support_styles = xyes; then |
660 | if test x$support_styles = xyes; then |
649 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
661 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |