diff options
| author | Chong Yidong | 2008-08-28 20:31:27 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-08-28 20:31:27 +0000 |
| commit | 3f3c27dd12cba2f3ab025444cf0ea474e3babae7 (patch) | |
| tree | 7a931031eccdb897d2a1b77546af089eac9564ef | |
| parent | cfe91a310cad7197d4a1fd2ad4f43e1c9b440cc8 (diff) | |
| download | emacs-3f3c27dd12cba2f3ab025444cf0ea474e3babae7.tar.gz emacs-3f3c27dd12cba2f3ab025444cf0ea474e3babae7.zip | |
Disable XFT and Freetype when without X.
| -rw-r--r-- | configure.in | 4 |
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'. |
| 1810 | HAVE_XFT=maybe | 1810 | HAVE_XFT=maybe |
| 1811 | if test "x${with_freetype}" = "xno"; then | 1811 | if test "x${with_freetype}" = "xno" || test "x${with_x}" = "xno"; then |
| 1812 | with_xft="no"; | 1812 | with_xft="no"; |
| 1813 | fi | 1813 | fi |
| 1814 | if test "x${with_xft}" != "xno"; then | 1814 | if 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 |
| 1851 | elif test "x${with_freetype}" != "xno"; then | 1851 | elif 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 |