summaryrefslogtreecommitdiff
path: root/Build/source/utils/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/configure')
-rwxr-xr-xBuild/source/utils/configure33
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/source/utils/configure b/Build/source/utils/configure
index 191c990c78f..91a47265f65 100755
--- a/Build/source/utils/configure
+++ b/Build/source/utils/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
@@ -1630,6 +1631,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)
@@ -4678,6 +4681,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;}
@@ -4690,6 +4701,7 @@ fi
test "x$need_harfbuzz" = xyes && {
need_freetype2=yes
+ need_graphite2=yes
need_icu=yes
}
@@ -4760,6 +4772,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