1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
#!/bin/sh
#
# This is a small collection of example settings you can use to
# compile tdom on different platforms. Just uncomment the line(s)
# you need and run this script with "sh CONFIG".
#
# For typical use it's best, to leave the tDOM specific configuration
# options alone (that is: use the defaults, do nothing).
#
# --enable-tdomalloc
# Default: off
# With this option on, a special memory allocator is used, which is
# optimized for low memory allocation overhead. This allocator works
# only on 32-bit plattforms. If you build for a 64-bit OS, you _must_
# disable this (and it's disabled by default).
#
# --enable-dtd
# Default: on
# With this option on, the underlying XML parser expat will be build
# with parsing support of XML DTDs. Leave this option at default. If
# you disable this option, then all the SAX handlers related to DTD
# events won't work any more. It also affects the DOM interface:
# without DTD support, the fetching of external entities with the
# -externalentitycommand won't work. With this option off, the test
# suite will report a lot of failure because of missing features.
#
# --enable-ns
# Default: on
# With this option on, the underlying XML parser expat will be build
# with parsing support of XML namespaces. This affects only the SAX
# interface; the DOM interface always uses a non XML namespace expat
# parser behind the scene and does the XML namespace handling by
# its own.
#
# --enable-unknown
# Default: off
# With this option on, tDOM replaces the standard unknown command with
# its own version. This allows a special shortcut syntax together with
# the deprecated XPointer methods. It's there for backward
# compatibility reasons. It is known, that it cause trouble together
# with itcl.
#
# --with-aolserver
# If building tDOM as module for AOLserver, this points to the
# directory with the AOLserver source distribution. See below
# for examples.
#
# --with-tdom
# Useful (and available) only for building extensions to tDOM (as
# tnc). Use it to point to the tdomConfig.sh file.
#
#
#
# Comment-out next line if building with GCC compiler.
# CC=gcc; export CC
#
#
# Tcl 8.1+ on Unix. Uses public Tcl library
# -------------------------------------------
# ../configure
#
#
# AOLserver 3.X. It delivers its own patched Tcl lib.
# Also, this one builds tdom as AOLserver module.
# Please do not use "make install" after doing "make".
# You have to manually adjust AOLserver config file
# to load tdom module. See README.AOL for more info.
# Also, you need to modify the "aolsrc" to point to
# the directory with AOLserver source distribution.
# ----------------------------------------------------
# aolsrc="/usr/src/aolserver-3.4"
# ../configure --enable-threads --disable-tdomalloc \
# --with-aolserver=$aolsrc \
# --with-tcl=$aolsrc/tcl8.3.4/unix
#
#
# AOLserver 4.X. It uses public Tcl library.
# Builds the package as a regular Tcl module
# but installs it in the AOLserver tree.
# Just do "make" and "make install". You might
# want to change the default AOLserver install
# directory (/usr/local/aolserver).
# ----------------------------------------------------
# ../configure --enable-threads --disable-tdomalloc \
# --prefix=/usr/local/aolserver
#
# AOLserver 4.X. It uses public Tcl library.
# Builds the package as a AOLserver module.
# You will have to manually trim your AOLserver
# startup script to load it.
# Just do "make" and "make install". You might
# want to change the default AOLserver install
# directory (/usr/local/aolserver).
# ----------------------------------------------------
# ../configure --enable-threads --disable-tdomalloc \
# --with-aolserver=/usr/local/aolserver \
# --prefix=/usr/local/aolserver
#
#
# Mac OS X. Uses public Tcl library.
# --------------------------------------------
# ../configure \
# --mandir=/usr/local/share/man \
# --libdir=/Library/Tcl \
# --with-tcl=/Library/Frameworks/Tcl.framework \
# --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers
#
# EOF
|