summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/configure')
-rwxr-xr-xBuild/source/texk/configure33
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/source/texk/configure b/Build/source/texk/configure
index 03f65f9fad2..9739282d1a3 100755
--- a/Build/source/texk/configure
+++ b/Build/source/texk/configure
@@ -800,6 +800,7 @@ with_system_icu
with_system_teckit
with_teckit_includes
with_teckit_libdir
+with_system_graphite2
with_graphite
with_system_graphite
with_system_zziplib
@@ -1654,6 +1655,8 @@ Optional Packages:
teckit headers installed in DIR
--with-teckit-libdir=DIR
teckit library installed in DIR
+ --with-system-graphite2 use installed graphite2 headers and library
+ (requires pkg-config)
--without-graphite build XeTeX without graphite support
--with-system-graphite use installed silgraphite headers and library
(requires pkg-config)
@@ -4702,6 +4705,14 @@ $as_echo "$as_me: -> installed \`freetype2' headers and library" >&6;}
elif test "x$with_system_freetype2" != xyes; then
as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-freetype2'" "$LINENO" 5
fi
+ if test "x$with_system_graphite2" = x; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`graphite2' headers and library" >&5
+$as_echo "$as_me: -> installed \`graphite2' headers and library" >&6;}
+ with_system_graphite2=yes
+ ac_configure_args="$ac_configure_args '--with-system-graphite2'"
+ elif test "x$with_system_graphite2" != xyes; then
+ as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-graphite2'" "$LINENO" 5
+ fi
if test "x$with_system_icu" = x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`icu' headers and library" >&5
$as_echo "$as_me: -> installed \`icu' headers and library" >&6;}
@@ -4714,6 +4725,7 @@ fi
test "x$need_harfbuzz" = xyes && {
need_freetype2=yes
+ need_graphite2=yes
need_icu=yes
}
@@ -4784,6 +4796,27 @@ test "x$need_teckit" = xyes && {
}
+## libs/graphite2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite2/
+## configure options and TL libraries required for graphite2
+
+# Check whether --with-system-graphite2 was given.
+if test "${with_system_graphite2+set}" = set; then :
+ withval=$with_system_graphite2;
+fi
+if test "x$with_system_graphite2" = x; then
+ if test -f $srcdir/../libs/graphite2/configure; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`graphite2' headers and library from TL tree" >&5
+$as_echo "$as_me: Assuming \`graphite2' headers and library from TL tree" >&6;}
+ with_system_graphite2=no
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`graphite2' headers and library" >&5
+$as_echo "$as_me: Assuming installed \`graphite2' headers and library" >&6;}
+ with_system_graphite2=yes
+ fi
+ ac_configure_args="$ac_configure_args '--with-system-graphite2=$with_system_graphite2'"
+fi
+
+
## libs/graphite/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite/
## XeTeX can be built without graphite support