… | |
… | |
421 | |
421 | |
422 | AC_PATH_PROG(TIC, tic, :) |
422 | AC_PATH_PROG(TIC, tic, :) |
423 | |
423 | |
424 | AC_PATH_XTRA |
424 | AC_PATH_XTRA |
425 | |
425 | |
426 | image_lib=none |
|
|
427 | |
|
|
428 | PIXBUF_CFLAGS= |
|
|
429 | PIXBUF_LIBS= |
|
|
430 | |
|
|
431 | if test x$support_pixbuf = xyes; then |
|
|
432 | support_pixbuf=no |
|
|
433 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
|
|
434 | AC_MSG_CHECKING(for gdk-pixbuf) |
|
|
435 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
|
|
436 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
|
|
437 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
|
|
438 | support_pixbuf=yes |
|
|
439 | fi |
|
|
440 | |
|
|
441 | if test x$support_pixbuf = xyes; then |
|
|
442 | AC_MSG_RESULT(ok) |
|
|
443 | image_lib=gdk-pixbuf |
|
|
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 |
|
|
447 | AC_MSG_RESULT(no) |
|
|
448 | fi |
|
|
449 | fi |
|
|
450 | |
|
|
451 | AC_SUBST(PIXBUF_CFLAGS) |
|
|
452 | AC_SUBST(PIXBUF_LIBS) |
|
|
453 | |
|
|
454 | STARTUP_NOTIFICATION_CFLAGS= |
426 | STARTUP_NOTIFICATION_CFLAGS= |
455 | STARTUP_NOTIFICATION_LIBS= |
427 | STARTUP_NOTIFICATION_LIBS= |
456 | |
428 | |
457 | if test x$support_startup_notification = xyes; then |
429 | if test x$support_startup_notification = xyes; then |
458 | support_startup_notification=no |
430 | support_startup_notification=no |
… | |
… | |
586 | TTY_GROUP_CHECK |
558 | TTY_GROUP_CHECK |
587 | |
559 | |
588 | dnl# -------------------------------------------------------------------------- |
560 | dnl# -------------------------------------------------------------------------- |
589 | dnl# now add and remove other stuff |
561 | dnl# now add and remove other stuff |
590 | dnl# -------------------------------------------------------------------------- |
562 | dnl# -------------------------------------------------------------------------- |
|
|
563 | support_image=no |
|
|
564 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
565 | support_image=yes |
|
|
566 | fi |
591 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
567 | if test x$support_xft = xyes || test x$support_image = xyes; then |
592 | rxvt_have_xrender=no |
568 | rxvt_have_xrender=no |
593 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
569 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
594 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
570 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
595 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
571 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
596 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
572 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
… | |
… | |
632 | |
608 | |
633 | if test x$support_xft = xyes; then |
609 | if test x$support_xft = xyes; then |
634 | AC_DEFINE(XFT, 1, Define to enable xft support) |
610 | AC_DEFINE(XFT, 1, Define to enable xft support) |
635 | fi |
611 | fi |
636 | fi |
612 | fi |
|
|
613 | |
|
|
614 | image_lib=none |
|
|
615 | |
|
|
616 | PIXBUF_CFLAGS= |
|
|
617 | PIXBUF_LIBS= |
|
|
618 | |
|
|
619 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
620 | LIBS="$LIBS -lm" |
|
|
621 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
|
|
622 | |
|
|
623 | if test x$support_inheritpixmap = xyes; then |
|
|
624 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
|
|
625 | fi |
|
|
626 | |
|
|
627 | if test x$support_pixbuf = xyes; then |
|
|
628 | support_pixbuf=no |
|
|
629 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
|
|
630 | AC_MSG_CHECKING(for gdk-pixbuf) |
|
|
631 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
|
|
632 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
|
|
633 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
|
|
634 | support_pixbuf=yes |
|
|
635 | fi |
|
|
636 | |
|
|
637 | if test x$support_pixbuf = xyes; then |
|
|
638 | AC_MSG_RESULT(ok) |
|
|
639 | image_lib=gdk-pixbuf |
|
|
640 | AC_DEFINE(HAVE_PIXBUF, 1, Define if you want to use gdk-pixbuf for image processing) |
|
|
641 | AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.) |
|
|
642 | else |
|
|
643 | AC_MSG_RESULT(no) |
|
|
644 | fi |
|
|
645 | fi |
|
|
646 | fi |
|
|
647 | |
|
|
648 | AC_SUBST(PIXBUF_CFLAGS) |
|
|
649 | AC_SUBST(PIXBUF_LIBS) |
|
|
650 | |
637 | if test x$support_styles = xyes; then |
651 | if test x$support_styles = xyes; then |
638 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
652 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
639 | fi |
653 | fi |
640 | if test x$support_iso14755 = xyes; then |
654 | if test x$support_iso14755 = xyes; then |
641 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
655 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
… | |
… | |
643 | if test x$support_8bitctrls = xyes; then |
657 | if test x$support_8bitctrls = xyes; then |
644 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
658 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
645 | fi |
659 | fi |
646 | if test x$support_fading = xyes; then |
660 | if test x$support_fading = xyes; then |
647 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
661 | 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 |
662 | fi |
656 | if test x$support_keepscrolling = xno; then |
663 | 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) |
664 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
658 | fi |
665 | fi |
659 | if test x$support_selectionscrolling = xyes; then |
666 | if test x$support_selectionscrolling = xyes; then |