aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--configure.in26
2 files changed, 24 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b3dcc3af64..b45615d4317 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
12011-03-13 Glenn Morris <rgm@gnu.org>
2
3 * configure.in (FREETYPE_LIBS): Actually set it to something.
4
52011-03-13 Miles Bader <miles@gnu.org>
6
7 * configure.in: Don't zero-out FONTCONFIG_CFLAGS and
8 FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as
9 Emacs directly uses fontconfig, and breaks building when using a
10 strict linker).
11
12011-03-07 Chong Yidong <cyd@stupidchicken.com> 122011-03-07 Chong Yidong <cyd@stupidchicken.com>
2 13
3 * Version 23.3 released. 14 * Version 23.3 released.
diff --git a/configure.in b/configure.in
index cfb2a2eb7dc..bc83bc6d703 100644
--- a/configure.in
+++ b/configure.in
@@ -2034,21 +2034,21 @@ if test "${HAVE_X11}" = "yes"; then
2034 fi # "$HAVE_XFT" != no 2034 fi # "$HAVE_XFT" != no
2035 fi # "x${with_xft}" != "xno" 2035 fi # "x${with_xft}" != "xno"
2036 2036
2037 dnl For the "Does Emacs use" message at the end.
2038 if test "$HAVE_XFT" != "yes"; then
2039 HAVE_XFT=no
2040 fi
2041
2042
2043 HAVE_FREETYPE=no
2044 ## We used to allow building with FreeType and without Xft. 2037 ## We used to allow building with FreeType and without Xft.
2045 ## However, the ftx font backend driver is not in good shape. 2038 ## However, the ftx font backend driver is not in good shape.
2046 if test "${HAVE_XFT}" = "yes"; then 2039 if test "$HAVE_XFT" != "yes"; then
2047 dnl As we use Xft, we anyway use freetype. 2040 dnl For the "Does Emacs use" message at the end.
2048 dnl There's no need for additional CFLAGS and LIBS. 2041 HAVE_XFT=no
2049 HAVE_FREETYPE=yes 2042 HAVE_FREETYPE=no
2050 FONTCONFIG_CFLAGS= 2043 else
2051 FONTCONFIG_LIBS= 2044 dnl Strict linkers fail with
2045 dnl ftfont.o: undefined reference to symbol 'FT_New_Face'
2046 dnl if -lfreetype is not specified.
2047 dnl The following is needed to set FREETYPE_LIBS.
2048 PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes,
2049 HAVE_FREETYPE=no)
2050
2051 test "$HAVE_FREETYPE" = "no" && AC_MSG_ERROR(libxft requires libfreetype)
2052 fi 2052 fi
2053 2053
2054 HAVE_LIBOTF=no 2054 HAVE_LIBOTF=no