diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-11-30 10:42:45 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-11-30 10:42:45 +0000 |
commit | cdae43322cc315a65b9bee9f62b2e28934fefa6a (patch) | |
tree | 18a8ae660cb1dc7d1136962b4e8dcbccad5b873d /Build/source/texk/configure | |
parent | 156b1ea47fd003feee19afbb34c0e85e596b54dc (diff) |
libs/harfbuzz: Added for future XeTeX
git-svn-id: svn://tug.org/texlive/trunk@28390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/configure')
-rwxr-xr-x | Build/source/texk/configure | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Build/source/texk/configure b/Build/source/texk/configure index dd45dbf89c0..4aaae7f9eaf 100755 --- a/Build/source/texk/configure +++ b/Build/source/texk/configure @@ -795,6 +795,7 @@ with_xdvi_x_toolkit enable_xdvipdfmx enable_tetex enable_texlive +with_system_harfbuzz with_system_icu with_system_teckit with_teckit_includes @@ -1644,6 +1645,8 @@ Optional Packages: --with-xdvi-x-toolkit=KIT Use toolkit KIT (motif/xaw/xaw3d/neXtaw) for xdvi [default: Motif if available, else Xaw] + --with-system-harfbuzz use installed harfbuzz headers and library (requires + pkg-config) --with-system-icu use installed ICU headers and libraries (requires icu-config, not for XeTeX) --with-system-teckit use installed teckit headers and library @@ -4671,6 +4674,50 @@ esac +## libs/harfbuzz/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/harfbuzz/ +## configure options and TL libraries required for harfbuzz + +# Check whether --with-system-harfbuzz was given. +if test "${with_system_harfbuzz+set}" = set; then : + withval=$with_system_harfbuzz; +fi +if test "x$with_system_harfbuzz" = x; then + if test -f $srcdir/../libs/harfbuzz/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`harfbuzz' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`harfbuzz' headers and library from TL tree" >&6;} + with_system_harfbuzz=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`harfbuzz' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`harfbuzz' headers and library" >&6;} + with_system_harfbuzz=yes + fi + ac_configure_args="$ac_configure_args '--with-system-harfbuzz=$with_system_harfbuzz'" +fi +if test "x$with_system_harfbuzz" = xyes; then + if test "x$with_system_freetyp2" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`freetyp2' headers and library" >&5 +$as_echo "$as_me: -> installed \`freetyp2' headers and library" >&6;} + with_system_freetyp2=yes + ac_configure_args="$ac_configure_args '--with-system-freetyp2'" + elif test "x$with_system_freetyp2" != xyes; then + as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-freetyp2'" "$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;} + with_system_icu=yes + ac_configure_args="$ac_configure_args '--with-system-icu'" + elif test "x$with_system_icu" != xyes; then + as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-icu'" "$LINENO" 5 + fi +fi + +test "x$need_harfbuzz" = xyes && { + need_freetyp2=yes + need_icu=yes +} + + ## libs/icu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/ ## configure options and TL libraries required for icu (modified for XeTeX) |