summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/configure
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-06-03 15:24:50 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-06-03 15:24:50 +0000
commit0837c936f183c287dc3feefbcd852b9b285acf47 (patch)
treed24502eb8f8a1b876a6f43b8efad7fef8dd365e4 /Build/source/texk/web2c/configure
parent4bc90058ad7b1cf552cf77fcb48eaad0cbea32a5 (diff)
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
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-xBuild/source/texk/web2c/configure18
1 files changed, 18 insertions, 0 deletions
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