diff options
| -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 |