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