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