1 |
578 |
markom |
# tclConfig.sh --
|
2 |
|
|
#
|
3 |
|
|
# This shell script (for sh) is generated automatically by Tcl's
|
4 |
|
|
# configure script. It will create shell variables for most of
|
5 |
|
|
# the configuration options discovered by the configure script.
|
6 |
|
|
# This script is intended to be included by the configure scripts
|
7 |
|
|
# for Tcl extensions so that they don't have to figure this all
|
8 |
|
|
# out for themselves.
|
9 |
|
|
#
|
10 |
|
|
# The information in this file is specific to a single platform.
|
11 |
|
|
#
|
12 |
|
|
# RCS: @(#) $Id: tclConfig.sh.in,v 1.1.1.1 2002-01-16 10:25:37 markom Exp $
|
13 |
|
|
|
14 |
|
|
# Tcl's version number.
|
15 |
|
|
TCL_VERSION='@TCL_VERSION@'
|
16 |
|
|
TCL_MAJOR_VERSION='@TCL_MAJOR_VERSION@'
|
17 |
|
|
TCL_MINOR_VERSION='@TCL_MINOR_VERSION@'
|
18 |
|
|
TCL_PATCH_LEVEL='@TCL_PATCH_LEVEL@'
|
19 |
|
|
|
20 |
|
|
# C compiler to use for compilation.
|
21 |
|
|
TCL_CC='@CC@'
|
22 |
|
|
|
23 |
|
|
# -D flags for use with the C compiler.
|
24 |
|
|
TCL_DEFS='@DEFS@'
|
25 |
|
|
|
26 |
|
|
# If TCL was built with debugging symbols, generated libraries contain
|
27 |
|
|
# this string at the end of the library name (before the extension).
|
28 |
|
|
TCL_DBGX=@TCL_DBGX@
|
29 |
|
|
|
30 |
|
|
# Default flags used in an optimized and debuggable build, respectively.
|
31 |
|
|
TCL_CFLAGS_DEBUG='@CFLAGS_DEBUG@'
|
32 |
|
|
TCL_CFLAGS_OPTIMIZE='@CFLAGS_OPTIMIZE@'
|
33 |
|
|
|
34 |
|
|
# Flag, 1: we built a shared lib, 0 we didn't
|
35 |
|
|
TCL_SHARED_BUILD=@TCL_SHARED_BUILD@
|
36 |
|
|
|
37 |
|
|
# The name of the Tcl library (may be either a .a file or a shared library):
|
38 |
|
|
TCL_LIB_FILE='@TCL_LIB_FILE@'
|
39 |
|
|
|
40 |
|
|
# The directory the Tcl binaries are being built to.
|
41 |
|
|
TCL_BIN_DIR='@TCL_BIN_DIR@'
|
42 |
|
|
|
43 |
|
|
# The fullpath of the Tcl library (used for dependency checking)
|
44 |
|
|
TCL_LIB_FULL_PATH='@TCL_LIB_FULL_PATH@'
|
45 |
|
|
|
46 |
|
|
# Additional libraries to use when linking Tcl.
|
47 |
|
|
TCL_LIBS='@DL_LIBS@ @LIBS@ @MATH_LIBS@'
|
48 |
|
|
|
49 |
|
|
# Top-level directory in which Tcl's platform-independent files are
|
50 |
|
|
# installed.
|
51 |
|
|
TCL_PREFIX='@prefix@'
|
52 |
|
|
|
53 |
|
|
# Top-level directory in which Tcl's platform-specific files (e.g.
|
54 |
|
|
# executables) are installed.
|
55 |
|
|
TCL_EXEC_PREFIX='@exec_prefix@'
|
56 |
|
|
|
57 |
|
|
# Flags to pass to cc when compiling the components of a shared library:
|
58 |
|
|
TCL_SHLIB_CFLAGS='@SHLIB_CFLAGS@'
|
59 |
|
|
|
60 |
|
|
# Extra flags to pass to cc:
|
61 |
|
|
TCL_EXTRA_CFLAGS='@EXTRA_CFLAGS@'
|
62 |
|
|
|
63 |
|
|
# Base command to use for combining object files into a shared library:
|
64 |
|
|
TCL_SHLIB_LD='@SHLIB_LD@'
|
65 |
|
|
|
66 |
|
|
# Either '$LIBS' (if dependent libraries should be included when linking
|
67 |
|
|
# shared libraries) or an empty string. See Tcl's configure.in for more
|
68 |
|
|
# explanation.
|
69 |
|
|
TCL_SHLIB_LD_LIBS='@SHLIB_LD_LIBS@'
|
70 |
|
|
|
71 |
|
|
# Suffix to use for the name of a shared library.
|
72 |
|
|
TCL_SHLIB_SUFFIX='@SHLIB_SUFFIX@'
|
73 |
|
|
|
74 |
|
|
# Library file(s) to include in tclsh and other base applications
|
75 |
|
|
# in order to provide facilities needed by DLOBJ above.
|
76 |
|
|
TCL_DL_LIBS='@DL_LIBS@'
|
77 |
|
|
|
78 |
|
|
# Flags to pass to the compiler when linking object files into
|
79 |
|
|
# an executable tclsh or tcltest binary.
|
80 |
|
|
TCL_LD_FLAGS='@LD_FLAGS@'
|
81 |
|
|
|
82 |
|
|
# Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
|
83 |
|
|
# run-time dynamic linker where to look for shared libraries such as
|
84 |
|
|
# libtcl.so. Used when linking applications. Only works if there
|
85 |
|
|
# is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
|
86 |
|
|
TCL_LD_SEARCH_FLAGS='@TCL_LD_SEARCH_FLAGS@'
|
87 |
|
|
|
88 |
|
|
# Additional object files linked with Tcl to provide compatibility
|
89 |
|
|
# with standard facilities from ANSI C or POSIX.
|
90 |
|
|
TCL_COMPAT_OBJS='@LIBOBJS@'
|
91 |
|
|
|
92 |
|
|
# Name of the ranlib program to use.
|
93 |
|
|
TCL_RANLIB='@RANLIB@'
|
94 |
|
|
|
95 |
|
|
# -l flag to pass to the linker to pick up the Tcl library
|
96 |
|
|
TCL_LIB_FLAG='@TCL_LIB_FLAG@'
|
97 |
|
|
|
98 |
|
|
# String to pass to linker to pick up the Tcl library from its
|
99 |
|
|
# build directory.
|
100 |
|
|
TCL_BUILD_LIB_SPEC='@TCL_BUILD_LIB_SPEC@'
|
101 |
|
|
|
102 |
|
|
# String to pass to linker to pick up the Tcl library from its
|
103 |
|
|
# installed directory.
|
104 |
|
|
TCL_LIB_SPEC='@TCL_LIB_SPEC@'
|
105 |
|
|
|
106 |
|
|
# Indicates whether a version numbers should be used in -l switches
|
107 |
|
|
# ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
|
108 |
|
|
# use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
|
109 |
|
|
# example.
|
110 |
|
|
TCL_LIB_VERSIONS_OK='@TCL_LIB_VERSIONS_OK@'
|
111 |
|
|
|
112 |
|
|
# String that can be evaluated to generate the part of a shared library
|
113 |
|
|
# name that comes after the "libxxx" (includes version number, if any,
|
114 |
|
|
# extension, and anything else needed). May depend on the variables
|
115 |
|
|
# VERSION and SHLIB_SUFFIX. On most UNIX systems this is
|
116 |
|
|
# ${VERSION}${SHLIB_SUFFIX}.
|
117 |
|
|
TCL_SHARED_LIB_SUFFIX='@TCL_SHARED_LIB_SUFFIX@'
|
118 |
|
|
|
119 |
|
|
# String that can be evaluated to generate the part of an unshared library
|
120 |
|
|
# name that comes after the "libxxx" (includes version number, if any,
|
121 |
|
|
# extension, and anything else needed). May depend on the variable
|
122 |
|
|
# VERSION. On most UNIX systems this is ${VERSION}.a.
|
123 |
|
|
TCL_UNSHARED_LIB_SUFFIX='@TCL_UNSHARED_LIB_SUFFIX@'
|
124 |
|
|
|
125 |
|
|
# Location of the top-level source directory from which Tcl was built.
|
126 |
|
|
# This is the directory that contains a README file as well as
|
127 |
|
|
# subdirectories such as generic, unix, etc. If Tcl was compiled in a
|
128 |
|
|
# different place than the directory containing the source files, this
|
129 |
|
|
# points to the location of the sources, not the location where Tcl was
|
130 |
|
|
# compiled.
|
131 |
|
|
TCL_SRC_DIR='@TCL_SRC_DIR@'
|
132 |
|
|
|
133 |
|
|
# List of standard directories in which to look for packages during
|
134 |
|
|
# "package require" commands. Contains the "prefix" directory plus also
|
135 |
|
|
# the "exec_prefix" directory, if it is different.
|
136 |
|
|
TCL_PACKAGE_PATH='@TCL_PACKAGE_PATH@'
|