… | |
… | |
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 | else |
|
|
446 | AC_MSG_RESULT(no) |
|
|
447 | fi |
|
|
448 | fi |
|
|
449 | |
|
|
450 | AC_SUBST(PIXBUF_CFLAGS) |
|
|
451 | AC_SUBST(PIXBUF_LIBS) |
|
|
452 | |
426 | STARTUP_NOTIFICATION_CFLAGS= |
453 | STARTUP_NOTIFICATION_CFLAGS= |
427 | STARTUP_NOTIFICATION_LIBS= |
454 | STARTUP_NOTIFICATION_LIBS= |
428 | |
455 | |
429 | if test x$support_startup_notification = xyes; then |
456 | if test x$support_startup_notification = xyes; then |
430 | support_startup_notification=no |
457 | support_startup_notification=no |
… | |
… | |
609 | if test x$support_xft = xyes; then |
636 | if test x$support_xft = xyes; then |
610 | AC_DEFINE(XFT, 1, Define to enable xft support) |
637 | AC_DEFINE(XFT, 1, Define to enable xft support) |
611 | fi |
638 | fi |
612 | fi |
639 | fi |
613 | |
640 | |
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 |
641 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
620 | LIBS="$LIBS -lm" |
642 | LIBS="$LIBS -lm" |
621 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
643 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
622 | |
644 | |
623 | if test x$support_inheritpixmap = xyes; then |
645 | 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) |
646 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
625 | fi |
647 | fi |
626 | |
648 | |
627 | if test x$support_pixbuf = xyes; then |
649 | 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.) |
650 | 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 |
651 | fi |
645 | fi |
|
|
646 | fi |
652 | fi |
647 | |
|
|
648 | AC_SUBST(PIXBUF_CFLAGS) |
|
|
649 | AC_SUBST(PIXBUF_LIBS) |
|
|
650 | |
653 | |
651 | if test x$support_styles = xyes; then |
654 | if test x$support_styles = xyes; then |
652 | 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) |
653 | fi |
656 | fi |
654 | if test x$support_iso14755 = xyes; then |
657 | if test x$support_iso14755 = xyes; then |