fix-xft.diff 738 B

12345678910111213141516
  1. --- /tmp/configure.in 2010-05-19 13:29:03.000000000 +0200
  2. +++ unix/configure.in 2010-05-19 13:42:05.000000000 +0200
  3. @@ -526,13 +526,9 @@
  4. found_xft="yes"
  5. dnl make sure package configurator (xft-config or pkg-config
  6. dnl says that xft is present.
  7. - XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
  8. - XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
  9. - if test "$found_xft" = "no" ; then
  10. found_xft=yes
  11. XFT_CFLAGS=`pkg-config --cflags xft fontconfig 2>/dev/null` || found_xft="no"
  12. XFT_LIBS=`pkg-config --libs xft fontconfig 2>/dev/null` || found_xft="no"
  13. - fi
  14. AC_MSG_RESULT([$found_xft])
  15. dnl make sure that compiling against Xft header file doesn't bomb
  16. if test "$found_xft" = "yes" ; then