diff options
author | fluxgen <fluxgen> | 2003-04-16 15:01:59 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-16 15:01:59 (GMT) |
commit | 04865daa75a304797eec70918e7a21df00c6ee29 (patch) | |
tree | 50ee6ffe58651ba8922905459e4882f2981148ff | |
parent | 1bd91e89df5bfbafa736672abb58fbf5f49db862 (diff) | |
download | fluxbox_lack-04865daa75a304797eec70918e7a21df00c6ee29.zip fluxbox_lack-04865daa75a304797eec70918e7a21df00c6ee29.tar.bz2 |
test link with xft
-rw-r--r-- | configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in index beb5844..ff070bb 100644 --- a/configure.in +++ b/configure.in | |||
@@ -227,6 +227,11 @@ AM_PATH_XFT(yes, | |||
227 | ) | 227 | ) |
228 | 228 | ||
229 | if test "x$XFT" = "xtrue" ; then | 229 | if test "x$XFT" = "xtrue" ; then |
230 | AC_TRY_LINK([ | ||
231 | #include <X11/Xft/Xft.h> | ||
232 | ], [ XftCloseFont(0, 0); return 0; ], | ||
233 | AC_DEFINE(USE_XFT, 1, "antialias support"), | ||
234 | |||
230 | AC_DEFINE(USE_XFT, 1, "antialias support") | 235 | AC_DEFINE(USE_XFT, 1, "antialias support") |
231 | AC_MSG_CHECKING([Xft UTF-8 support]) | 236 | AC_MSG_CHECKING([Xft UTF-8 support]) |
232 | AC_TRY_LINK([ | 237 | AC_TRY_LINK([ |
@@ -235,7 +240,9 @@ if test "x$XFT" = "xtrue" ; then | |||
235 | AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support") | 240 | AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support") |
236 | AC_MSG_RESULT(yes), | 241 | AC_MSG_RESULT(yes), |
237 | AC_MSG_RESULT(no) | 242 | AC_MSG_RESULT(no) |
238 | XFT=false | 243 | ), |
244 | AC_MSG_RESULT([Could not link with Xft. Install Xft if you want support for it.]) | ||
245 | XFT=false | ||
239 | ) | 246 | ) |
240 | fi | 247 | fi |
241 | 248 | ||