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.117 by sf-exg, Fri Oct 8 18:57:04 2010 UTC vs.
Revision 1.120 by sf-exg, Sun Oct 31 08:28:01 2010 UTC

431 431
432AC_PATH_PROG(TIC, tic, :) 432AC_PATH_PROG(TIC, tic, :)
433 433
434AC_PATH_XTRA 434AC_PATH_XTRA
435 435
436image_lib=none
437
436PIXBUF_CFLAGS= 438PIXBUF_CFLAGS=
437PIXBUF_LIBS= 439PIXBUF_LIBS=
438 440
439if test x$support_pixbuf = xyes; then 441if test x$support_pixbuf = xyes; then
440 support_pixbuf=no 442 support_pixbuf=no
446 support_pixbuf=yes 448 support_pixbuf=yes
447 fi 449 fi
448 450
449 if test x$support_pixbuf = xyes; then 451 if test x$support_pixbuf = xyes; then
450 AC_MSG_RESULT(ok) 452 AC_MSG_RESULT(ok)
453 image_lib=gdk-pixbuf
451 support_afterimage=no 454 support_afterimage=no
452 AC_DEFINE(HAVE_PIXBUF, 1, Define if you want to use gdk-pixbuf for image processing) 455 AC_DEFINE(HAVE_PIXBUF, 1, Define if you want to use gdk-pixbuf for image processing)
453 AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.) 456 AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.)
454 else 457 else
455 AC_MSG_RESULT(no) 458 AC_MSG_RESULT(no)
486 fi 489 fi
487 fi 490 fi
488 fi 491 fi
489 if test "x$support_afterimage" = "xyes"; then 492 if test "x$support_afterimage" = "xyes"; then
490 AC_MSG_RESULT($AFTERIMAGE_LIBS) 493 AC_MSG_RESULT($AFTERIMAGE_LIBS)
494 image_lib=libafterimage
491 AC_DEFINE(HAVE_AFTERIMAGE, 1, Define if you want to use libAfterImage for image processing) 495 AC_DEFINE(HAVE_AFTERIMAGE, 1, Define if you want to use libAfterImage for image processing)
492 AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.) 496 AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.)
493 else 497 else
494 AC_MSG_RESULT(no) 498 AC_MSG_RESULT(no)
495 fi 499 fi
645 649
646 if test x$support_xft = xyes; then 650 if test x$support_xft = xyes; then
647 AC_DEFINE(XFT, 1, Define to enable xft support) 651 AC_DEFINE(XFT, 1, Define to enable xft support)
648 fi 652 fi
649fi 653fi
654if test x$support_inheritpixmap = xyes; then
655 support_xrender=yes
656 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
657 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
658 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS"
659 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`"
660
661 save_LIBS="$LIBS"
662 LIBS="$LIBS $X_LIBS"
663 AC_CHECK_HEADER(X11/extensions/Xrender.h,,[support_xrender=no])
664 AC_CHECK_FUNC(XRenderFindStandardFormat,,[support_xrender=no])
665 LIBS="$save_LIBS"
666 fi
667
668 if test x$support_xrender = xyes; then
669 LIBS="$LIBS -lm"
670 AC_DEFINE(XRENDER, 1, Define to enable xrender support)
671 fi
672fi
650if test x$support_styles = xyes; then 673if test x$support_styles = xyes; then
651 AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) 674 AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support)
652fi 675fi
653if test x$support_iso14755 = xyes; then 676if test x$support_iso14755 = xyes; then
654 AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) 677 AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support)
791if test x$RESFALLBACK != x; then 814if test x$RESFALLBACK != x; then
792 echo " resource class fallback: $RESFALLBACK" 815 echo " resource class fallback: $RESFALLBACK"
793fi 816fi
794echo 817echo
795echo " embedded perl: $support_perl" 818echo " embedded perl: $support_perl"
796echo " libafterimage: $support_afterimage" 819echo " image library: $image_lib"
797echo 820echo
798if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then 821if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then
799 echo ".----------------------------------------------------------------." 822 echo ".----------------------------------------------------------------."
800 echo ". WARNING: --enable-xim was specified however the locale support ." 823 echo ". WARNING: --enable-xim was specified however the locale support ."
801 echo ". functions could not be found. ." 824 echo ". functions could not be found. ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines