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.145 by root, Tue Jun 19 20:50:05 2012 UTC vs.
Revision 1.146 by sf-exg, Fri Jun 29 19:36:11 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 else
446 AC_MSG_RESULT(no)
447 fi
448fi
449
450AC_SUBST(PIXBUF_CFLAGS)
451AC_SUBST(PIXBUF_LIBS)
452
426STARTUP_NOTIFICATION_CFLAGS= 453STARTUP_NOTIFICATION_CFLAGS=
427STARTUP_NOTIFICATION_LIBS= 454STARTUP_NOTIFICATION_LIBS=
428 455
429if test x$support_startup_notification = xyes; then 456if 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
612fi 639fi
613 640
614image_lib=none
615
616PIXBUF_CFLAGS=
617PIXBUF_LIBS=
618
619if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then 641if 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
646fi 652fi
647
648AC_SUBST(PIXBUF_CFLAGS)
649AC_SUBST(PIXBUF_LIBS)
650 653
651if test x$support_styles = xyes; then 654if 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)
653fi 656fi
654if test x$support_iso14755 = xyes; then 657if test x$support_iso14755 = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines