… | |
… | |
649 | |
649 | |
650 | if test x$support_xft = xyes; then |
650 | if test x$support_xft = xyes; then |
651 | AC_DEFINE(XFT, 1, Define to enable xft support) |
651 | AC_DEFINE(XFT, 1, Define to enable xft support) |
652 | fi |
652 | fi |
653 | fi |
653 | fi |
|
|
654 | if 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 |
|
|
672 | fi |
654 | if test x$support_styles = xyes; then |
673 | if test x$support_styles = xyes; then |
655 | 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) |
656 | fi |
675 | fi |
657 | if test x$support_iso14755 = xyes; then |
676 | if test x$support_iso14755 = xyes; then |
658 | 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) |
… | |
… | |
663 | if test x$support_fading = xyes; then |
682 | if test x$support_fading = xyes; then |
664 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
683 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
665 | fi |
684 | fi |
666 | if test x$support_inheritpixmap = xyes; then |
685 | if test x$support_inheritpixmap = xyes; then |
667 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
686 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
668 | test x$support_xft = xyes && LIBS="$LIBS -lm" |
|
|
669 | fi |
687 | fi |
670 | if test x$support_keepscrolling = xno; then |
688 | if test x$support_keepscrolling = xno; then |
671 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
689 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
672 | fi |
690 | fi |
673 | if test x$support_selectionscrolling = xyes; then |
691 | if test x$support_selectionscrolling = xyes; then |