diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-02-12 22:23:40 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-02-12 22:23:40 +0000 |
commit | 6125bdbebc6c6bafe79e3dc9f0c59b1cf8e43978 (patch) | |
tree | 8ff6b924470ff9a22016dcacd00ccabd740b720d /configure.in | |
parent | 8131eed8524fe466d8a6cc440455791ea4083cf0 (diff) | |
download | pango-6125bdbebc6c6bafe79e3dc9f0c59b1cf8e43978.tar.gz |
If --without-x is specified, don't try to build Xft backend either.
Wed Feb 12 17:17:12 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: If --without-x is specified, don't
try to build Xft backend either. (#105210, patch
from Akira Tagoh)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index cda482d6..c7e18bd8 100644 --- a/configure.in +++ b/configure.in @@ -180,7 +180,9 @@ AM_CONDITIONAL(HAVE_FREETYPE, $have_freetype && $have_fontconfig) # have_xft=false -PKG_CHECK_MODULES(XFT, xft >= 2.0.0, have_xft=true, :) +if test "x$have_x" != "xfalse" ; then + PKG_CHECK_MODULES(XFT, xft >= 2.0.0, have_xft=true, :) +fi AC_SUBST(XFT_LIBS) AC_SUBST(XFT_CFLAGS) |