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:23 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 fullpath of the Tcl library (used for dependency checking)
|
41 |
|
|
TCL_LIB_FULL_PATH='@TCL_LIB_FULL_PATH@'
|
42 |
|
|
|
43 |
|
|
# Additional libraries to use when linking Tcl.
|
44 |
|
|
TCL_LIBS='@DL_LIBS@ @LIBS@ @MATH_LIBS@'
|
45 |
|
|
|
46 |
|
|
# Top-level directory in which Tcl's platform-independent files are
|
47 |
|
|
# installed.
|
48 |
|
|
TCL_PREFIX='@prefix@'
|
49 |
|
|
|
50 |
|
|
# Top-level directory in which Tcl's platform-specific files (e.g.
|
51 |
|
|
# executables) are installed.
|
52 |
|
|
TCL_EXEC_PREFIX='@exec_prefix@'
|
53 |
|
|
|
54 |
|
|
# Flags to pass to cc when compiling the components of a shared library:
|
55 |
|
|
TCL_SHLIB_CFLAGS='@SHLIB_CFLAGS@'
|
56 |
|
|
|
57 |
|
|
# Extra flags to pass to cc:
|
58 |
|
|
TCL_EXTRA_CFLAGS='@EXTRA_CFLAGS@'
|
59 |
|
|
|
60 |
|
|
# Base command to use for combining object files into a shared library:
|
61 |
|
|
TCL_SHLIB_LD='@SHLIB_LD@'
|
62 |
|
|
|
63 |
|
|
# Either '$LIBS' (if dependent libraries should be included when linking
|
64 |
|
|
# shared libraries) or an empty string. See Tcl's configure.in for more
|
65 |
|
|
# explanation.
|
66 |
|
|
TCL_SHLIB_LD_LIBS='@SHLIB_LD_LIBS@'
|
67 |
|
|
|
68 |
|
|
# Suffix to use for the name of a shared library.
|
69 |
|
|
TCL_SHLIB_SUFFIX='@SHLIB_SUFFIX@'
|
70 |
|
|
|
71 |
|
|
# Library file(s) to include in tclsh and other base applications
|
72 |
|
|
# in order to provide facilities needed by DLOBJ above.
|
73 |
|
|
TCL_DL_LIBS='@DL_LIBS@'
|
74 |
|
|
|
75 |
|
|
# Flags to pass to the compiler when linking object files into
|
76 |
|
|
# an executable tclsh or tcltest binary.
|
77 |
|
|
TCL_LD_FLAGS='@LD_FLAGS@'
|
78 |
|
|
|
79 |
|
|
# Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
|
80 |
|
|
# run-time dynamic linker where to look for shared libraries such as
|
81 |
|
|
# libtcl.so. Used when linking applications. Only works if there
|
82 |
|
|
# is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
|
83 |
|
|
TCL_LD_SEARCH_FLAGS='@TCL_LD_SEARCH_FLAGS@'
|
84 |
|
|
|
85 |
|
|
# Additional object files linked with Tcl to provide compatibility
|
86 |
|
|
# with standard facilities from ANSI C or POSIX.
|
87 |
|
|
TCL_COMPAT_OBJS='@LIBOBJS@'
|
88 |
|
|
|
89 |
|
|
# Name of the ranlib program to use.
|
90 |
|
|
TCL_RANLIB='@RANLIB@'
|
91 |
|
|
|
92 |
|
|
# -l flag to pass to the linker to pick up the Tcl library
|
93 |
|
|
TCL_LIB_FLAG='@TCL_LIB_FLAG@'
|
94 |
|
|
|
95 |
|
|
# String to pass to linker to pick up the Tcl library from its
|
96 |
|
|
# build directory.
|
97 |
|
|
TCL_BUILD_LIB_SPEC='@TCL_BUILD_LIB_SPEC@'
|
98 |
|
|
|
99 |
|
|
# String to pass to linker to pick up the Tcl library from its
|
100 |
|
|
# installed directory.
|
101 |
|
|
TCL_LIB_SPEC='@TCL_LIB_SPEC@'
|
102 |
|
|
|
103 |
|
|
# Indicates whether a version numbers should be used in -l switches
|
104 |
|
|
# ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
|
105 |
|
|
# use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
|
106 |
|
|
# example.
|
107 |
|
|
TCL_LIB_VERSIONS_OK='@TCL_LIB_VERSIONS_OK@'
|
108 |
|
|
|
109 |
|
|
# String that can be evaluated to generate the part of a shared library
|
110 |
|
|
# name that comes after the "libxxx" (includes version number, if any,
|
111 |
|
|
# extension, and anything else needed). May depend on the variables
|
112 |
|
|
# VERSION and SHLIB_SUFFIX. On most UNIX systems this is
|
113 |
|
|
# ${VERSION}${SHLIB_SUFFIX}.
|
114 |
|
|
TCL_SHARED_LIB_SUFFIX='@TCL_SHARED_LIB_SUFFIX@'
|
115 |
|
|
|
116 |
|
|
# String that can be evaluated to generate the part of an unshared library
|
117 |
|
|
# name that comes after the "libxxx" (includes version number, if any,
|
118 |
|
|
# extension, and anything else needed). May depend on the variable
|
119 |
|
|
# VERSION. On most UNIX systems this is ${VERSION}.a.
|
120 |
|
|
TCL_UNSHARED_LIB_SUFFIX='@TCL_UNSHARED_LIB_SUFFIX@'
|
121 |
|
|
|
122 |
|
|
# Location of the top-level source directory from which Tcl was built.
|
123 |
|
|
# This is the directory that contains a README file as well as
|
124 |
|
|
# subdirectories such as generic, unix, etc. If Tcl was compiled in a
|
125 |
|
|
# different place than the directory containing the source files, this
|
126 |
|
|
# points to the location of the sources, not the location where Tcl was
|
127 |
|
|
# compiled.
|
128 |
|
|
TCL_SRC_DIR='@TCL_SRC_DIR@'
|
129 |
|
|
|
130 |
|
|
# List of standard directories in which to look for packages during
|
131 |
|
|
# "package require" commands. Contains the "prefix" directory plus also
|
132 |
|
|
# the "exec_prefix" directory, if it is different.
|
133 |
|
|
TCL_PACKAGE_PATH='@TCL_PACKAGE_PATH@'
|