aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-08-28 20:31:27 +0000
committerChong Yidong2008-08-28 20:31:27 +0000
commit3f3c27dd12cba2f3ab025444cf0ea474e3babae7 (patch)
tree7a931031eccdb897d2a1b77546af089eac9564ef
parentcfe91a310cad7197d4a1fd2ad4f43e1c9b440cc8 (diff)
downloademacs-3f3c27dd12cba2f3ab025444cf0ea474e3babae7.tar.gz
emacs-3f3c27dd12cba2f3ab025444cf0ea474e3babae7.zip
Disable XFT and Freetype when without X.
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 16ec618af56..b1fccfde9df 100644
--- a/configure.in
+++ b/configure.in
@@ -1808,7 +1808,7 @@ fi
1808 1808
1809## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'. 1809## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'.
1810HAVE_XFT=maybe 1810HAVE_XFT=maybe
1811if test "x${with_freetype}" = "xno"; then 1811if test "x${with_freetype}" = "xno" || test "x${with_x}" = "xno"; then
1812 with_xft="no"; 1812 with_xft="no";
1813fi 1813fi
1814if test "x${with_xft}" != "xno"; then 1814if test "x${with_xft}" != "xno"; then
@@ -1848,7 +1848,7 @@ if test "${HAVE_XFT}" = "yes"; then
1848 dnl As we use Xft, we anyway use freetype. 1848 dnl As we use Xft, we anyway use freetype.
1849 dnl In this case, there's no need of additional CFLAGS and LIBS. 1849 dnl In this case, there's no need of additional CFLAGS and LIBS.
1850 HAVE_FREETYPE=yes 1850 HAVE_FREETYPE=yes
1851elif test "x${with_freetype}" != "xno"; then 1851elif test "x${with_freetype}" != "xno" && test "x${with_x}" != "xno"; then
1852 1852
1853 PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes, HAVE_FREETYPE=no) 1853 PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes, HAVE_FREETYPE=no)
1854 if test "${HAVE_FREETYPE}" = "yes"; then 1854 if test "${HAVE_FREETYPE}" = "yes"; then