ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure.ac
(Generate patch)

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.142 by root, Thu May 10 22:42:03 2012 UTC vs.
Revision 1.143 by sf-exg, Sun Jun 10 13:07:56 2012 UTC

421 421
422AC_PATH_PROG(TIC, tic, :) 422AC_PATH_PROG(TIC, tic, :)
423 423
424AC_PATH_XTRA 424AC_PATH_XTRA
425 425
426image_lib=none
427
428PIXBUF_CFLAGS=
429PIXBUF_LIBS=
430
431if 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
449fi
450
451AC_SUBST(PIXBUF_CFLAGS)
452AC_SUBST(PIXBUF_LIBS)
453
454STARTUP_NOTIFICATION_CFLAGS= 426STARTUP_NOTIFICATION_CFLAGS=
455STARTUP_NOTIFICATION_LIBS= 427STARTUP_NOTIFICATION_LIBS=
456 428
457if test x$support_startup_notification = xyes; then 429if test x$support_startup_notification = xyes; then
458 support_startup_notification=no 430 support_startup_notification=no
586TTY_GROUP_CHECK 558TTY_GROUP_CHECK
587 559
588dnl# -------------------------------------------------------------------------- 560dnl# --------------------------------------------------------------------------
589dnl# now add and remove other stuff 561dnl# now add and remove other stuff
590dnl# -------------------------------------------------------------------------- 562dnl# --------------------------------------------------------------------------
563support_image=no
564if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then
565 support_image=yes
566fi
591if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then 567if 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
636fi 612fi
613
614image_lib=none
615
616PIXBUF_CFLAGS=
617PIXBUF_LIBS=
618
619if 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
646fi
647
648AC_SUBST(PIXBUF_CFLAGS)
649AC_SUBST(PIXBUF_LIBS)
650
637if test x$support_styles = xyes; then 651if 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)
639fi 653fi
640if test x$support_iso14755 = xyes; then 654if 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)
643if test x$support_8bitctrls = xyes; then 657if 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)
645fi 659fi
646if test x$support_fading = xyes; then 660if 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)
648fi
649if 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)
655fi 662fi
656if test x$support_keepscrolling = xno; then 663if 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)
658fi 665fi
659if test x$support_selectionscrolling = xyes; then 666if test x$support_selectionscrolling = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines