comparison configure.in @ 112411:6178cf733e6f

Merge from mainline.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 21 Jan 2011 21:52:29 -0800
parents 7aa0a7abfb6d
children 16ddab338c43
comparison
equal deleted inserted replaced
112403:c81ff7082a9a 112411:6178cf733e6f
2250 dnl For the "Does Emacs use" message at the end. 2250 dnl For the "Does Emacs use" message at the end.
2251 if test "$HAVE_XFT" != "yes"; then 2251 if test "$HAVE_XFT" != "yes"; then
2252 HAVE_XFT=no 2252 HAVE_XFT=no
2253 fi 2253 fi
2254 2254
2255
2256 HAVE_FREETYPE=no
2257 ## We used to allow building with FreeType and without Xft. 2255 ## We used to allow building with FreeType and without Xft.
2258 ## However, the ftx font backend driver is not in good shape. 2256 ## However, the ftx font backend driver is not in good shape.
2259 if test "${HAVE_XFT}" = "yes"; then 2257 HAVE_FREETYPE=$HAVE_XFT
2260 dnl As we use Xft, we anyway use freetype.
2261 dnl There's no need for additional CFLAGS and LIBS.
2262 HAVE_FREETYPE=yes
2263 FONTCONFIG_CFLAGS=
2264 FONTCONFIG_LIBS=
2265 fi
2266 2258
2267 HAVE_LIBOTF=no 2259 HAVE_LIBOTF=no
2268 if test "${HAVE_FREETYPE}" = "yes"; then 2260 if test "${HAVE_FREETYPE}" = "yes"; then
2269 AC_DEFINE(HAVE_FREETYPE, 1, 2261 AC_DEFINE(HAVE_FREETYPE, 1,
2270 [Define to 1 if using the freetype and fontconfig libraries.]) 2262 [Define to 1 if using the freetype and fontconfig libraries.])