diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-20 18:13:48 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-20 18:13:48 +0000 |
commit | e5786f530f9555469c01435f86039b06aa53feba (patch) | |
tree | c868e8d32282422d7d445b729db95c3fcdafb6d0 /Build/source/texk/web2c/configure | |
parent | ebaa1768b43c8606d923d2e861b5286b74207b3e (diff) |
new build system: build icu libs and xetex plus misc updates
git-svn-id: svn://tug.org/texlive/trunk@12759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-x | Build/source/texk/web2c/configure | 467 |
1 files changed, 418 insertions, 49 deletions
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index 7ab4b31d77e..3c59d28c423 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -801,6 +801,22 @@ OBSDCOMPAT_RULE OBSDCOMPAT_DEPEND OBSDCOMPAT_LIBS OBSDCOMPAT_INCLUDES +ICU_RULE +ICU_DEPEND +ICU_LIBS +ICU_INCLUDES +TECKIT_RULE +TECKIT_DEPEND +TECKIT_LIBS +TECKIT_INCLUDES +FREETYPE2_RULE +FREETYPE2_DEPEND +FREETYPE2_LIBS +FREETYPE2_INCLUDES +GRAPHITE_RULE +GRAPHITE_DEPEND +GRAPHITE_LIBS +GRAPHITE_INCLUDES XPDF_RULE XPDF_DEPEND XPDF_LIBS @@ -869,7 +885,14 @@ TEX_SYNCTEX_FALSE TEX_SYNCTEX_TRUE TEX_FALSE TEX_TRUE -socketlibs +XETEX_GRAPHITE_FALSE +XETEX_GRAPHITE_TRUE +XETEX_MACOSX_FALSE +XETEX_MACOSX_TRUE +FONTCONFIG_LIBS +FONTCONFIG_INCLUDES +ipc_socketlibs +lua_socketlibs MINGW32_FALSE MINGW32_TRUE WIN32_FALSE @@ -1031,6 +1054,7 @@ enable_tektronixwin enable_unitermwin enable_mp enable_web_progs +with_fontconfig with_x with_system_kpathsea with_kpathsea_includes @@ -1041,6 +1065,15 @@ with_zlib_libdir with_system_libpng with_libpng_includes with_libpng_libdir +with_system_graphite +with_graphite_includes +with_graphite_libdir +with_system_freetype2 +with_freetype2_includes +with_freetype2_libdir +with_system_teckit +with_teckit_includes +with_teckit_libdir ' ac_precious_vars='build_alias host_alias @@ -1707,22 +1740,22 @@ Optional Features: --disable-dump-share make fmt/base/mem files architecture-dependent --enable-fmtutil use fmtutil for build dumps --enable-ipc enable TeX's --ipc option, i.e., pipe to a program - --disable-tex do not compile and install TeX - --enable-etex compile and install e-TeX - --disable-aleph do not compile and install Aleph - --disable-pdftex do not compile and install pdfTeX - --disable-luatex do not compile and install luaTeX - --enable-xetex compile and install XeTeX + --disable-tex do not compile and install TeX + --enable-etex compile and install e-TeX + --disable-aleph do not compile and install Aleph + --disable-pdftex do not compile and install pdfTeX + --disable-luatex do not compile and install luaTeX + --disable-xetex do not compile and install XeTeX --disable-mf do not build METAFONT - --enable-mf-nowin build a separate non-windows-capable METAFONT - --enable-epsfwin include EPSF pseudo window support - --enable-hp2627win include HP 2627 window support - --enable-mftalkwin include mftalk (generic server) window support - --enable-nextwin include NeXT window support - --enable-regiswin include Regis window support - --enable-suntoolswin include old Suntools (not X) window support - --enable-tektronixwin include Tektronix window support - --enable-unitermwin include Uniterm window support + --enable-mf-nowin build a separate non-windows-capable METAFONT + --enable-epsfwin include EPSF pseudo window support + --enable-hp2627win include HP 2627 window support + --enable-mftalkwin include mftalk (generic server) window support + --enable-nextwin include NeXT window support + --enable-regiswin include Regis window support + --enable-suntoolswin include old Suntools (not X) window support + --enable-tektronixwin include Tektronix window support + --enable-unitermwin include Uniterm window support --disable-mp do not build METAPOST --disable-web-progs do not build WEB programs bibtex ... weave @@ -1734,6 +1767,7 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-editor=CMD invoke CMD from the `e' option [vi +%d %s] --with-mf-x-toolkit Use X toolkit for METAFONT + --with-fontconfig=DIR use fontconfig include/library files from DIR --with-x use the X Window System --with-system-kpathsea use installed kpathsea headers and library --with-kpathsea-includes=DIR @@ -1749,6 +1783,21 @@ Optional Packages: libpng headers installed in DIR --with-libpng-libdir=DIR libpng library installed in DIR + --with-system-graphite use installed graphite headers and library + --with-graphite-includes=DIR + graphite headers installed in DIR + --with-graphite-libdir=DIR + graphite library installed in DIR + --with-system-freetype2 use installed freetype2 headers and library + --with-freetype2-includes=DIR + freetype2 headers installed in DIR + --with-freetype2-libdir=DIR + freetype2 library installed in DIR + --with-system-teckit use installed teckit headers and library + --with-teckit-includes=DIR + teckit headers installed in DIR + --with-teckit-libdir=DIR + teckit library installed in DIR Some influential environment variables: CC C compiler command @@ -4357,13 +4406,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:4360: $ac_compile\"" >&5) + (eval echo "\"\$as_me:4409: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:4363: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:4412: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:4366: output\"" >&5) + (eval echo "\"\$as_me:4415: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -5569,7 +5618,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5572 "configure"' > conftest.$ac_ext + echo '#line 5621 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7616,11 +7665,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7619: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7668: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7623: \$? = $ac_status" >&5 + echo "$as_me:7672: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7955,11 +8004,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7958: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8007: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7962: \$? = $ac_status" >&5 + echo "$as_me:8011: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8060,11 +8109,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8063: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8112: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8067: \$? = $ac_status" >&5 + echo "$as_me:8116: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8115,11 +8164,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8118: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8167: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8122: \$? = $ac_status" >&5 + echo "$as_me:8171: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10915,7 +10964,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10918 "configure" +#line 10967 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11011,7 +11060,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11014 "configure" +#line 11063 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16027,11 +16076,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16030: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16079: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16034: \$? = $ac_status" >&5 + echo "$as_me:16083: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16126,11 +16175,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16129: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16178: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16133: \$? = $ac_status" >&5 + echo "$as_me:16182: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16178,11 +16227,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16181: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16230: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16185: \$? = $ac_status" >&5 + echo "$as_me:16234: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17149,7 +17198,6 @@ if test "${enable_cxx_runtime_hack+set}" = set; then fi -cpp_link_hack=false if test "x$GXX:$enable_cxx_runtime_hack" = xyes:yes; then ac_ext=cpp @@ -17404,7 +17452,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -if test "x$kpse_cv_cxx_flags" = xok; then +if test "x$kpse_cv_cxx_hack" = xok; then CXXLD='$(top_builddir)/CXXLD.sh' CXX_HACK_DEPS=$CXXLD CXX_HACK_LIBS=$kpse_cv_cxx_flags @@ -17424,7 +17472,7 @@ fi -## texk/web2c/ac/web2c.ac +## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ ## configure options for TeX and MF # Check whether --with-editor was given. @@ -17481,7 +17529,7 @@ case $enable_pdftex in *) enable_pdftex=yes ;; esac -test "x$enable_pdftex" = xno || { +test "x$enable_web2c:$enable_pdftex" = xyes:yes && { need_xpdf=yes need_libpng=yes need_obsdcompat=yes @@ -17495,7 +17543,7 @@ case $enable_luatex in *) enable_luatex=yes ;; esac -test "x$enable_luatex" = xno || { +test "x$enable_web2c:$enable_luatex" = xyes:yes && { need_xpdf=yes need_libpng=yes need_obsdcompat=yes @@ -17506,13 +17554,16 @@ if test "${enable_xetex+set}" = set; then fi case $enable_xetex in yes|no) : ;; - *) enable_xetex=no ;; + *) enable_xetex=yes ;; esac -test "x$enable_xetex" = xno || { +test "x$enable_web2c:$enable_xetex" = xyes:yes && { need_xpdf=yes need_libpng=yes need_freetype2=yes + need_icu=yes + need_teckit=yes + need_graphite=yes } ## configure options for MF # Check whether --enable-mf was given. @@ -17961,17 +18012,19 @@ fi fi -if test "x$enable_ipc:$enable_luatex" != xno:no; then +if test "x$enable_luatex:$enable_ipc" != xno:no; then case $ac_cv_search_connect in "none required") : ;; no) if test "x$enable_luatex" = xyes; then - { { $as_echo "$as_me:$LINENO: error: Sorry, no socket library: can not build luaTeX" >&5 -$as_echo "$as_me: error: Sorry, no socket library: can not build luaTeX" >&2;} - { (exit 1); exit 1; }; } -else + { $as_echo "$as_me:$LINENO: WARNING: Sorry, no socket library: can not build luaTeX" >&5 +$as_echo "$as_me: WARNING: Sorry, no socket library: can not build luaTeX" >&2;} + enable_luatex=no +fi + + if test "x$enable_ipc" = xyes; then { $as_echo "$as_me:$LINENO: WARNING: no socket library: disabling ipc" >&5 $as_echo "$as_me: WARNING: no socket library: disabling ipc" >&2;} - enable_ipc=no + enable_ipc=no fi ;; *) socketlibs="-l$ac_cv_search_connect" ;; @@ -17979,7 +18032,12 @@ esac fi +if test "x$enable_luatex" = xyes; then + lua_socketlibs=$socketlibs +fi + if test "x$enable_ipc" = xyes; then + ipc_socketlibs=$socketlibs cat >>confdefs.h <<\_ACEOF #define IPC 1 @@ -17989,6 +18047,176 @@ fi + +{ $as_echo "$as_me:$LINENO: checking for Mac OS X Carbon framework" >&5 +$as_echo_n "checking for Mac OS X Carbon framework... " >&6; } +if test "${kpse_cv_have_Carbon+set}" = set; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <Carbon/Carbon.h> +int +main () +{ +ATSUStyle style + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + kpse_cv_have_Carbon=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + kpse_cv_have_Carbon=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:$LINENO: result: $kpse_cv_have_Carbon" >&5 +$as_echo "$kpse_cv_have_Carbon" >&6; } +if test "x$kpse_cv_have_Carbon" = xyes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_CARBON 1 +_ACEOF + +fi + +if test "x$kpse_cv_have_Carbon" = xno; then + +# Check whether --with-fontconfig was given. +if test "${with_fontconfig+set}" = set; then + withval=$with_fontconfig; +fi +{ $as_echo "$as_me:$LINENO: checking for installed fontconfig headers and library" >&5 +$as_echo_n "checking for installed fontconfig headers and library... " >&6; } +if test "${kpse_cv_have_fontconfig+set}" = set; then + $as_echo_n "(cached) " >&6 +else + kpse_save_CPPFLAGS=$CPPFLAGS +kpse_save_LIBS=$LIBS +if test "x$with_fontconfig" != x && test -d "$with_fontconfig"; then + kpse_cv_fontconfig_includes="-I$with_fontconfig/include" + kpse_cv_fontconfig_libs="-L$with_fontconfig/lib -lfontconfig" +else + kpse_cv_fontconfig_includes= + kpse_cv_fontconfig_libs='-lfontconfig' +fi +CPPFLAGS="$with_fontconfig $CPPFLAGS" +LIBS="$kpse_cv_fontconfig_libs $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <fontconfig/fontconfig.h> +int +main () +{ +FcObjectSet *os; FcInit(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then + kpse_cv_have_fontconfig=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + kpse_cv_have_fontconfig=no +fi + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +CPPFLAGS=$kpse_save_CPPFLAGS +LIBS=$kpse_save_LIBS +fi +{ $as_echo "$as_me:$LINENO: result: $kpse_cv_have_fontconfig" >&5 +$as_echo "$kpse_cv_have_fontconfig" >&6; } +if test "x$kpse_cv_have_fontconfig" = xyes; then + FONTCONFIG_INCLUDES=$kpse_cv_fontconfig_includes + FONTCONFIG_LIBS=$kpse_cv_fontconfig_libs + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LIBFONTCONFIG 1 +_ACEOF + +fi + + + + if test "x$enable_xetex:$kpse_cv_have_fontconfig" = xyes:no; then + { $as_echo "$as_me:$LINENO: WARNING: Sorry, can not build XeTeX without fontconfig" >&5 +$as_echo "$as_me: WARNING: Sorry, can not build XeTeX without fontconfig" >&2;} + enable_xetex=no +fi + +fi + + if test "x$kpse_cv_have_Carbon" = xyes; then + XETEX_MACOSX_TRUE= + XETEX_MACOSX_FALSE='#' +else + XETEX_MACOSX_TRUE='#' + XETEX_MACOSX_FALSE= +fi + + if test "x$with_graphite" != xno; then + XETEX_GRAPHITE_TRUE= + XETEX_GRAPHITE_FALSE='#' +else + XETEX_GRAPHITE_TRUE='#' + XETEX_GRAPHITE_FALSE= +fi + + if test "x$enable_tex" = xyes; then TEX_TRUE= TEX_FALSE='#' @@ -23244,6 +23472,133 @@ $(XPDF_DEPEND): ${top_builddir}/../../libs/xpdf/xpdf/Stream.h ${top_builddir}/../../libs/xpdf/xpdf/Stream.h: cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS)' +## _KPSE_LIB_FLAGS: Setup graphite (-lgraphite) flags + +# Check whether --with-system-graphite was given. +if test "${with_system_graphite+set}" = set; then + withval=$with_system_graphite; +fi + +# Check whether --with-graphite-includes was given. +if test "${with_graphite_includes+set}" = set; then + withval=$with_graphite_includes; +fi + +# Check whether --with-graphite-libdir was given. +if test "${with_graphite_libdir+set}" = set; then + withval=$with_graphite_libdir; +fi +if test "x$with_system_graphite" = xyes; then + if test "x$with_graphite_includes" != x && test "x$with_graphite_includes" != xyes; then + GRAPHITE_INCLUDES="-I$with_graphite_includes" +fi +GRAPHITE_LIBS="-lgraphite" +if test "x$with_graphite_libdir" != x && test "x$with_graphite_libdir" != xyes; then + GRAPHITE_LIBS="-L$with_graphite_libdir $GRAPHITE_LIBS" +fi +else + GRAPHITE_INCLUDES=`echo '-ISRC/libs/graphite/include' | sed \ + -e "s,SRC/,$kpse_SRC/,g" \ + -e "s,BLD/,$kpse_BLD/,g"` + GRAPHITE_LIBS=`echo 'BLD/libs/graphite/libgraphite.a' | sed \ + -e "s,BLD/,$kpse_BLD/,g"` + GRAPHITE_DEPEND=`echo 'BLD/libs/graphite/libgraphite.a' | sed \ + -e 's,BLD/,${top_builddir}/../../,g'` + GRAPHITE_RULE='# Rebuild libgraphite +$(GRAPHITE_DEPEND): + cd ${top_builddir}/../../libs/graphite && $(MAKE) $(AM_MAKEFLAGS)' +fi + +## _KPSE_LIB_FLAGS: Setup freetype2 (-lfreetype) flags + +# Check whether --with-system-freetype2 was given. +if test "${with_system_freetype2+set}" = set; then + withval=$with_system_freetype2; +fi + +# Check whether --with-freetype2-includes was given. +if test "${with_freetype2_includes+set}" = set; then + withval=$with_freetype2_includes; +fi + +# Check whether --with-freetype2-libdir was given. +if test "${with_freetype2_libdir+set}" = set; then + withval=$with_freetype2_libdir; +fi +if test "x$with_system_freetype2" = xyes; then + if test "x$with_freetype2_includes" != x && test "x$with_freetype2_includes" != xyes; then + FREETYPE2_INCLUDES="-I$with_freetype2_includes/freetype2 -I$with_freetype2_includes" +fi +FREETYPE2_LIBS="-lfreetype" +if test "x$with_freetype2_libdir" != x && test "x$with_freetype2_libdir" != xyes; then + FREETYPE2_LIBS="-L$with_freetype2_libdir $FREETYPE2_LIBS" +fi +else + FREETYPE2_INCLUDES=`echo '-IBLD/libs/freetype2/freetype2 -IBLD/libs/freetype2' | sed \ + -e "s,SRC/,$kpse_SRC/,g" \ + -e "s,BLD/,$kpse_BLD/,g"` + FREETYPE2_LIBS=`echo 'BLD/libs/freetype2/libfreetype.a' | sed \ + -e "s,BLD/,$kpse_BLD/,g"` + FREETYPE2_DEPEND=`echo 'BLD/libs/freetype2/libfreetype.a' | sed \ + -e 's,BLD/,${top_builddir}/../../,g'` + FREETYPE2_RULE='# Rebuild libfreetype +$(FREETYPE2_DEPEND): ${top_builddir}/../../libs/freetype2/ft2build.h + cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) +${top_builddir}/../../libs/freetype2/ft2build.h: + cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS)' +fi + +## _KPSE_LIB_FLAGS: Setup teckit (-lTECkit) flags + +# Check whether --with-system-teckit was given. +if test "${with_system_teckit+set}" = set; then + withval=$with_system_teckit; +fi + +# Check whether --with-teckit-includes was given. +if test "${with_teckit_includes+set}" = set; then + withval=$with_teckit_includes; +fi + +# Check whether --with-teckit-libdir was given. +if test "${with_teckit_libdir+set}" = set; then + withval=$with_teckit_libdir; +fi +if test "x$with_system_teckit" = xyes; then + if test "x$with_teckit_includes" != x && test "x$with_teckit_includes" != xyes; then + TECKIT_INCLUDES="-I$with_teckit_includes" +fi +TECKIT_LIBS="-lTECkit" +if test "x$with_teckit_libdir" != x && test "x$with_teckit_libdir" != xyes; then + TECKIT_LIBS="-L$with_teckit_libdir $TECKIT_LIBS" +fi +else + TECKIT_INCLUDES=`echo '-ISRC/libs/teckit/source/Public-headers' | sed \ + -e "s,SRC/,$kpse_SRC/,g" \ + -e "s,BLD/,$kpse_BLD/,g"` + TECKIT_LIBS=`echo 'BLD/libs/teckit/libTECkit.a' | sed \ + -e "s,BLD/,$kpse_BLD/,g"` + TECKIT_DEPEND=`echo 'BLD/libs/teckit/libTECkit.a' | sed \ + -e 's,BLD/,${top_builddir}/../../,g'` + TECKIT_RULE='# Rebuild libTECkit +$(TECKIT_DEPEND): + cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS)' +fi + +## _KPSE_LIB_FLAGS: Setup icu (-lsicuxxx) flags + ICU_INCLUDES=`echo '-IBLD/libs/icu/icu-build/common -ISRC/libs/icu/icu-xetex/common -ISRC/libs/icu/icu-xetex/layout' | sed \ + -e "s,SRC/,$kpse_SRC/,g" \ + -e "s,BLD/,$kpse_BLD/,g"` + ICU_LIBS=`echo 'BLD/libs/icu/icu-build/lib/libsicuuc.a BLD/libs/icu/icu-build/lib/libsicule.a BLD/libs/icu/icu-build/lib/libsicudata.a' | sed \ + -e "s,BLD/,$kpse_BLD/,g"` + ICU_DEPEND=`echo 'BLD/libs/icu/icu-build/lib/libsicuuc.a BLD/libs/icu/icu-build/lib/libsicule.a BLD/libs/icu/icu-build/lib/libsicudata.a' | sed \ + -e 's,BLD/,${top_builddir}/../../,g'` + ICU_RULE='# Rebuild libsicuxxx +$(ICU_DEPEND): ${top_builddir}/../../libs/icu/icu-build/common/unicode/platform.h + cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) +${top_builddir}/../../libs/icu/icu-build/common/unicode/platform.h: + cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS)' + ## _KPSE_LIB_FLAGS: Setup obsdcompat (-lopenbsd-compat) flags OBSDCOMPAT_INCLUDES=`echo '-IBLD/libs/obsdcompat -ISRC/libs/obsdcompat' | sed \ -e "s,SRC/,$kpse_SRC/,g" \ @@ -23864,6 +24219,20 @@ $as_echo "$as_me: error: conditional \"MINGW32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${XETEX_MACOSX_TRUE}" && test -z "${XETEX_MACOSX_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"XETEX_MACOSX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"XETEX_MACOSX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${XETEX_GRAPHITE_TRUE}" && test -z "${XETEX_GRAPHITE_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"XETEX_GRAPHITE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"XETEX_GRAPHITE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${TEX_TRUE}" && test -z "${TEX_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"TEX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 |