diff options
author | rathnor <rathnor> | 2002-11-18 02:55:36 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-11-18 02:55:36 (GMT) |
commit | 271df70e9be94077c3a2ec764560ae7e3e1656e6 (patch) | |
tree | c4ed6ec7006bd81b57708e190377fd94872abc21 /configure.in | |
parent | 401f95cb2e91b2bbadb030939da5289134c3db74 (diff) | |
download | fluxbox-271df70e9be94077c3a2ec764560ae7e3e1656e6.zip fluxbox-271df70e9be94077c3a2ec764560ae7e3e1656e6.tar.bz2 |
missing HAVE_XFT_UTF8_STRING test if --enable-xft was given
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/configure.in b/configure.in index 66a13c4..ec59948 100644 --- a/configure.in +++ b/configure.in | |||
@@ -247,21 +247,25 @@ AC_ARG_ENABLE( | |||
247 | AC_MSG_RESULT([no]) | 247 | AC_MSG_RESULT([no]) |
248 | XFT=false | 248 | XFT=false |
249 | ) | 249 | ) |
250 | AC_CHECK_LIB(Xft, XftDrawStringUtf8, | ||
251 | LIBS="$LIBS -lXft" | ||
252 | AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), | ||
253 | ) | ||
250 | else | 254 | else |
251 | AC_MSG_RESULT([no]) | 255 | AC_MSG_RESULT([no]) |
252 | XFT=false | 256 | XFT=false |
253 | fi, | 257 | fi, |
254 | AC_CHECK_LIB(Xft, XftFontOpen, | 258 | AC_CHECK_LIB(Xft, XftFontOpen, |
255 | LIBS="$LIBS -lXft" | 259 | LIBS="$LIBS -lXft" |
256 | XFT=true | 260 | XFT=true |
257 | AC_DEFINE(USE_XFT, 1, "antialias support"), | 261 | AC_DEFINE(USE_XFT, 1, "antialias support"), |
258 | AC_MSG_RESULT([no]) | 262 | AC_MSG_RESULT([no]) |
259 | XFT=false | 263 | XFT=false |
260 | ) | 264 | ) |
261 | AC_CHECK_LIB(Xft, XftDrawStringUtf8, | 265 | AC_CHECK_LIB(Xft, XftDrawStringUtf8, |
262 | LIBS="$LIBS -lXft" | 266 | LIBS="$LIBS -lXft" |
263 | AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), | 267 | AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), |
264 | ) | 268 | ) |
265 | ) | 269 | ) |
266 | AM_CONDITIONAL(XFT, test x$XFT = xtrue) | 270 | AM_CONDITIONAL(XFT, test x$XFT = xtrue) |
267 | 271 | ||