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