summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/README.config133
-rw-r--r--Build/source/texk/web2c/Makefile.in7
-rw-r--r--Build/source/texk/web2c/xetexdir/am/xetex.am4
3 files changed, 138 insertions, 6 deletions
diff --git a/Build/source/README.config b/Build/source/README.config
new file mode 100644
index 00000000000..59447eedb6e
--- /dev/null
+++ b/Build/source/README.config
@@ -0,0 +1,133 @@
+Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+You may freely use, modify and/or distribute this file.
+
+ Configure options for the TeX Live (TL) build system
+ =====================================================
+
+The TL 2009 build system contains a collection of program packages, i.e.,
+subdirectories texk/Prog/ (where `Prog' is web2c, afm2pl, bibtex8, etc.) and
+utils/Util/ (where `Util' is dialog, pdfopen, etc.) as well as library
+packages, i.e., subdirectories texk/kpathsea/ and libs/Lib/ (where `Lib' is
+zlib, libpng, t1lib, etc.) for most of the libraries required by the program
+packages. Correspondingly there are plenty of configure options, most of
+them described below. See 'configure --help' (at the top-level) for an
+exhaustive list of all global options and a few important package specific
+ones or run, e.g., 'texk/lcdf-typetools/configure --help' to also see
+lcdf-typetools specific options not shown at the top-level.
+
+1. Global configure options
+===========================
+
+1.1. --disable-native-texlive-build
+-----------------------------------
+
+If enabled (by default) build for a TeX Live binary distribution such as
+the TL2009 DVD-Rom; this implies '--enable-multiplatform' and
+'--enable-cxx-runtime-hack' unless they are explicitly disabled.
+
+Building TL for a Linux or other distribution, this would be disabled and
+system versions of most libraries would be used (see below).
+
+1.2. --enable-multiplatform
+---------------------------
+
+If enabled, install executables and libraries in platform dependent
+subdirectories of EPREFIX/bin and EPREFIX/lib (unless '--bindir=DIR' or
+'--libdir=DIR' is specified). This option automatically propagates the
+values for bindir and libdir to all subdirectories to be configured, and
+thus need not be used explicitly in any program or library package.
+
+1.3. --enable-cxx-runtime-hack
+------------------------------
+
+If enabled and when using gcc, try to statically link with libstc++,
+somewhat improving portability.
+
+1.4. --disable-largefile
+------------------------
+
+Omit support for large files (>=2GB).
+
+2. Configure options for program packages
+=========================================
+
+2.1. --disable-Prog and --disable-Util
+--------------------------------------
+
+Do not build and install the program(s) of the package `Prog' or `Util'.
+
+2.2. --disable-all-pkgs
+-----------------------
+
+Do not build any program packages, except those explicitly enabled. Without
+this options all packages are built except those explicitly disabled (except
+for utils/xindy/ which is disabled by default due to its requirement for
+clisp and others).
+
+2.3. Configure options for texk/web2c/
+--------------------------------------
+
+2.3.1. --enable-auto-core
+
+This option causes TeX & MF to produce a core dump when a particular
+filename is encountered.
+
+2.3.2. --disable-dump-share
+
+Make the fmt/base/mem dump files architecture dependend (somewhat increasing
+performance on little-endian systems).
+
+2.3.3. --enable-ipc
+
+If enabled (by default) allow TeX's '--ipc' option.
+
+2.3.4. --disable-tex, --enable-etex, --disable-aleph, --disable-pdftex,
+ --disable-luatex, --disable-xetex, --disable-mf, --disable-mp
+
+Do or do not build the various TeX, METAFONT, and MetaPost engines.
+
+2.3.5. --with-mf-x-toolkit
+
+Use the X toolkit (libXt) for METAFONT (default is yes).
+
+2.3.6. --enable-*win
+
+Include various types of window support for METAFONT.
+
+2.3.7. --enable-mf-nowin
+
+Build a separate non-windows-capable METAFONT.
+
+2.3.8. --disable-web-progs
+
+Do not build the WEB programs bibtex ... weave, e.g., when you just have to
+rebuid some engines.
+
+2.4. Configure options for texk/xdvik/
+--------------------------------------
+
+2.4.1. --with-gs=PATH
+
+Hardwire the location of GhostScript (gs).
+
+2.4.2. --with-xdvi-x-toolkit=KIT
+
+Use toolkit KIT (motif/xaw/xaw3d/neXtaw) for xdvi, default: Motif if
+available, else Xaw.
+
+3. Configure options for libraries
+==================================
+
+3.1. --with-system-Lib
+----------------------
+
+Use an installed (system) version of the library `Lib'; this option exists
+for most but not all libraries.
+
+For many libraries there are in addition '--with-Lib-includes=DIR' and
+'--with-Lib-libdir=DIR' to indicate that the library is installed in an
+unusual location.
+
+When a system version of a required library is chosen, the top-level configure script
+performs a consistency check and bails out early if this fails.
+
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in
index 5d23eb1df2b..cb7729dbfb0 100644
--- a/Build/source/texk/web2c/Makefile.in
+++ b/Build/source/texk/web2c/Makefile.in
@@ -98,10 +98,9 @@ DIST_COMMON = README $(am__configure_deps) $(dist_check_SCRIPTS) \
@XETEX_TRUE@am__append_13 = xetex
@XETEX_MACOSX_TRUE@am__append_14 = -DXETEX_MAC
@XETEX_MACOSX_TRUE@am__append_15 = libxetexmm.a
-@XETEX_MACOSX_FALSE@am__append_16 = -DXETEX_OTHER \
-@XETEX_MACOSX_FALSE@ $(FONTCONFIG_INCLUDES) $(XPDF_INCLUDES) \
-@XETEX_MACOSX_FALSE@ $(LIBPNG_INCLUDES)
-@XETEX_MACOSX_FALSE@am__append_17 = $(FONTCONFIG_LIBS) $(XPDF_LIBS) $(LIBPNG_LIBS)
+@XETEX_MACOSX_FALSE@am__append_16 = -DXETEX_OTHER $(XPDF_INCLUDES) \
+@XETEX_MACOSX_FALSE@ $(LIBPNG_INCLUDES) $(FONTCONFIG_INCLUDES)
+@XETEX_MACOSX_FALSE@am__append_17 = $(XPDF_LIBS) $(LIBPNG_LIBS) $(FONTCONFIG_LIBS)
@XETEX_MACOSX_FALSE@am__append_18 = $(XPDF_DEPEND) $(LIBPNG_DEPEND)
@XETEX_GRAPHITE_TRUE@am__append_19 = -DXETEX_GRAPHITE $(GRAPHITE_INCLUDES)
@XETEX_GRAPHITE_TRUE@am__append_20 = $(GRAPHITE_LIBS)
diff --git a/Build/source/texk/web2c/xetexdir/am/xetex.am b/Build/source/texk/web2c/xetexdir/am/xetex.am
index 9cc78121d1a..97181592bec 100644
--- a/Build/source/texk/web2c/xetexdir/am/xetex.am
+++ b/Build/source/texk/web2c/xetexdir/am/xetex.am
@@ -32,8 +32,8 @@ libxetex += libxetexmm.a
else !XETEX_MACOSX
xetex_cppflags += -DXETEX_OTHER
-xetex_cppflags += $(FONTCONFIG_INCLUDES) $(XPDF_INCLUDES) $(LIBPNG_INCLUDES)
-xetex_ldadd += $(FONTCONFIG_LIBS) $(XPDF_LIBS) $(LIBPNG_LIBS)
+xetex_cppflags += $(XPDF_INCLUDES) $(LIBPNG_INCLUDES) $(FONTCONFIG_INCLUDES)
+xetex_ldadd += $(XPDF_LIBS) $(LIBPNG_LIBS) $(FONTCONFIG_LIBS)
xetex_dependencies += $(XPDF_DEPEND) $(LIBPNG_DEPEND)
endif !XETEX_MACOSX