… | |
… | |
625 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
625 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
626 | fi |
626 | fi |
627 | |
627 | |
628 | save_LIBS="$LIBS" |
628 | save_LIBS="$LIBS" |
629 | LIBS="$LIBS $X_LIBS" |
629 | LIBS="$LIBS $X_LIBS" |
630 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
|
|
631 | AC_CHECK_LIB(Xft,XftDrawString32,:,[support_xft=no]) |
|
|
632 | AC_CHECK_HEADERS(fontconfig/fontconfig.h,,[support_xft=no]) |
630 | AC_CHECK_HEADERS(X11/Xft/Xft.h fontconfig/fontconfig.h,,[support_xft=no]) |
633 | AC_CHECK_LIB(fontconfig,FcPatternGet,:,[support_xft=no]) |
631 | AC_CHECK_FUNCS(XftDrawString32 FcPatternGet,,[support_xft=no]) |
634 | LIBS="$save_LIBS" |
632 | LIBS="$save_LIBS" |
635 | |
633 | |
636 | if test x$support_xft = xyes; then |
634 | if test x$support_xft = xyes; then |
637 | AC_DEFINE(XFT, 1, Define to enable xft support) |
635 | AC_DEFINE(XFT, 1, Define to enable xft support) |
638 | fi |
636 | fi |
… | |
… | |
642 | LIBS="$LIBS -lm" |
640 | LIBS="$LIBS -lm" |
643 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
641 | AC_DEFINE(XRENDER, 1, Define to enable xrender support) |
644 | |
642 | |
645 | if test x$support_inheritpixmap = xyes; then |
643 | if test x$support_inheritpixmap = xyes; then |
646 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
644 | AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) |
647 | fi |
|
|
648 | |
|
|
649 | if test x$support_pixbuf = xyes; then |
|
|
650 | AC_DEFINE(BG_IMAGE_FROM_FILE, 1, Define if you want to have sexy-looking background pixmaps.) |
|
|
651 | fi |
645 | fi |
652 | fi |
646 | fi |
653 | |
647 | |
654 | if test x$support_styles = xyes; then |
648 | if test x$support_styles = xyes; then |
655 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
649 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |