… | |
… | |
440 | |
440 | |
441 | if test x$support_pixbuf = xyes; then |
441 | if test x$support_pixbuf = xyes; then |
442 | AC_MSG_RESULT(ok) |
442 | AC_MSG_RESULT(ok) |
443 | image_lib=gdk-pixbuf |
443 | image_lib=gdk-pixbuf |
444 | AC_DEFINE(HAVE_PIXBUF, 1, Define if you want to use gdk-pixbuf for image processing) |
444 | AC_DEFINE(HAVE_PIXBUF, 1, Define if you want to use gdk-pixbuf for image processing) |
445 | AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.) |
|
|
446 | else |
445 | else |
447 | AC_MSG_RESULT(no) |
446 | AC_MSG_RESULT(no) |
448 | fi |
447 | fi |
449 | fi |
448 | fi |
450 | |
449 | |
… | |
… | |
586 | TTY_GROUP_CHECK |
585 | TTY_GROUP_CHECK |
587 | |
586 | |
588 | dnl# -------------------------------------------------------------------------- |
587 | dnl# -------------------------------------------------------------------------- |
589 | dnl# now add and remove other stuff |
588 | dnl# now add and remove other stuff |
590 | dnl# -------------------------------------------------------------------------- |
589 | dnl# -------------------------------------------------------------------------- |
|
|
590 | support_image=no |
|
|
591 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
592 | support_image=yes |
|
|
593 | fi |
591 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
594 | if test x$support_xft = xyes || test x$support_image = xyes; then |
592 | rxvt_have_xrender=no |
595 | rxvt_have_xrender=no |
593 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
596 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
594 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
597 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
595 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
598 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
596 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
599 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
… | |
… | |
632 | |
635 | |
633 | if test x$support_xft = xyes; then |
636 | if test x$support_xft = xyes; then |
634 | AC_DEFINE(XFT, 1, Define to enable xft support) |
637 | AC_DEFINE(XFT, 1, Define to enable xft support) |
635 | fi |
638 | fi |
636 | fi |
639 | fi |
|
|
640 | |
|
|
641 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
642 | LIBS="$LIBS -lm" |
|
|
643 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
|
|
644 | |
|
|
645 | if test x$support_inheritpixmap = xyes; then |
|
|
646 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
|
|
647 | fi |
|
|
648 | |
|
|
649 | if test x$support_pixbuf = xyes; then |
|
|
650 | AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.) |
|
|
651 | fi |
|
|
652 | fi |
|
|
653 | |
637 | if test x$support_styles = xyes; then |
654 | if test x$support_styles = xyes; then |
638 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
655 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
639 | fi |
656 | fi |
640 | if test x$support_iso14755 = xyes; then |
657 | if test x$support_iso14755 = xyes; then |
641 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
658 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
… | |
… | |
643 | if test x$support_8bitctrls = xyes; then |
660 | if test x$support_8bitctrls = xyes; then |
644 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
661 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
645 | fi |
662 | fi |
646 | if test x$support_fading = xyes; then |
663 | if test x$support_fading = xyes; then |
647 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
664 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
648 | fi |
|
|
649 | if test x$support_inheritpixmap = xyes; then |
|
|
650 | if test x$rxvt_have_xrender = xyes; then |
|
|
651 | LIBS="$LIBS -lm" |
|
|
652 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
|
|
653 | fi |
|
|
654 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
|
|
655 | fi |
665 | fi |
656 | if test x$support_keepscrolling = xno; then |
666 | if test x$support_keepscrolling = xno; then |
657 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
667 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
658 | fi |
668 | fi |
659 | if test x$support_selectionscrolling = xyes; then |
669 | if test x$support_selectionscrolling = xyes; then |