From 0837c936f183c287dc3feefbcd852b9b285acf47 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Tue, 3 Jun 2008 15:24:50 +0000 Subject: patch to support --without-graphite for building xetex with older compilers git-svn-id: svn://tug.org/texlive/trunk@8521 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/configure | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Build/source/texk/web2c/configure') diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index 3844d907ef7..ab2e1bbd774 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -754,6 +754,7 @@ FONTCONFIGLDFLAGS LDFONTCONFIG XETEX_MACOSX XETEX_GENERIC +XETEX_GRAPHITE ETEX XMKMF X_CFLAGS @@ -825,6 +826,7 @@ with_freetype2_libdir with_freetype2_include with_icu_libdir with_icu_include +with_graphite with_fontconfig with_x ' @@ -1528,6 +1530,7 @@ Optional Packages: Specify directory where the ICU library resides. --with-icu-include=DIR Specify the ICU header files location. + --without-graphite build xetex without graphite support --with-fontconfig=DIR Specify dir prefix where fontconfig is installed (e.g., /usr/X11R6). --with-fontconfig=DIR use fontconfig include/library files from DIR @@ -7227,6 +7230,13 @@ fi # we don't currently support use of an installed graphite lib + +# Check whether --with-graphite was given. +if test "${with_graphite+set}" = set; then + withval=$with_graphite; +fi + + if test "$needs_graphite" = no; then GRAPHITECPPFLAGS= LDGRAPHITE= @@ -9100,8 +9110,16 @@ fontconfig is installed. fi + + if test "x$with_graphite" = xno; then + XETEX_GRAPHITE='#! ' + else + XETEX_GRAPHITE= + fi + fi + # For e-TeX, three choices: no, yes, and tex. In the latter case, we # have to comment out the normal TeX build (TEX), as well as enable the # e-TeX build (ETEX) and the replacement of TeX with e-TeX in compatibilty -- cgit v1.2.3