aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-16 15:01:59 (GMT)
committerfluxgen <fluxgen>2003-04-16 15:01:59 (GMT)
commit04865daa75a304797eec70918e7a21df00c6ee29 (patch)
tree50ee6ffe58651ba8922905459e4882f2981148ff
parent1bd91e89df5bfbafa736672abb58fbf5f49db862 (diff)
downloadfluxbox_paul-04865daa75a304797eec70918e7a21df00c6ee29.zip
fluxbox_paul-04865daa75a304797eec70918e7a21df00c6ee29.tar.bz2
test link with xft
-rw-r--r--configure.in9
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
229if test "x$XFT" = "xtrue" ; then 229if 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 )
240fi 247fi
241 248