Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/unix/tclConfig.sh.in @ 25

Last change on this file since 25 was 25, checked in by landauf, 16 years ago

added tcl to libs

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