diff options
| author | Miles Bader | 2011-01-22 11:45:57 +0900 |
|---|---|---|
| committer | Miles Bader | 2011-01-22 11:45:57 +0900 |
| commit | 48dcd48260a2e6c3dc3b02ff71df9b62d7830600 (patch) | |
| tree | cf48986ec777c4983ce54b0137b5fb4548e49bff | |
| parent | 6b072b27ee12c944142e310c984df028118713da (diff) | |
| download | emacs-48dcd48260a2e6c3dc3b02ff71df9b62d7830600.tar.gz emacs-48dcd48260a2e6c3dc3b02ff71df9b62d7830600.zip | |
configure.in: Don't zero-out FONTCONFIG_CFLAGS and FONTCONFIG_LIBS
when building with XFT (doing so is incorrect, as Emacs directly uses
fontconfig, and breaks building when using a strict linker).
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | configure.in | 10 |
2 files changed, 8 insertions, 9 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-01-22 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * configure.in: Don't zero-out FONTCONFIG_CFLAGS and | ||
| 4 | FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as | ||
| 5 | Emacs directly uses fontconfig, and breaks building when using a | ||
| 6 | strict linker). | ||
| 7 | |||
| 1 | 2011-01-21 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2011-01-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | src/config.in: shrink slightly | 10 | src/config.in: shrink slightly |
diff --git a/configure.in b/configure.in index bd1133319ba..161ba74f944 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2252,17 +2252,9 @@ if test "${HAVE_X11}" = "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 |