sl@0: # tclConfig.sh -- sl@0: # sl@0: # This shell script (for sh) is generated automatically by Tcl's sl@0: # configure script. It will create shell variables for most of sl@0: # the configuration options discovered by the configure script. sl@0: # This script is intended to be included by the configure scripts sl@0: # for Tcl extensions so that they don't have to figure this all sl@0: # out for themselves. sl@0: # sl@0: # The information in this file is specific to a single platform. sl@0: # sl@0: # RCS: @(#) $Id: tclConfig.sh.in,v 1.17.2.1 2004/07/20 11:13:10 das Exp $ sl@0: sl@0: # Tcl's version number. sl@0: TCL_VERSION='@TCL_VERSION@' sl@0: TCL_MAJOR_VERSION='@TCL_MAJOR_VERSION@' sl@0: TCL_MINOR_VERSION='@TCL_MINOR_VERSION@' sl@0: TCL_PATCH_LEVEL='@TCL_PATCH_LEVEL@' sl@0: sl@0: # C compiler to use for compilation. sl@0: TCL_CC='@CC@' sl@0: sl@0: # -D flags for use with the C compiler. sl@0: TCL_DEFS='@DEFS@' sl@0: sl@0: # If TCL was built with debugging symbols, generated libraries contain sl@0: # this string at the end of the library name (before the extension). sl@0: TCL_DBGX=@TCL_DBGX@ sl@0: sl@0: # Default flags used in an optimized and debuggable build, respectively. sl@0: TCL_CFLAGS_DEBUG='@CFLAGS_DEBUG@' sl@0: TCL_CFLAGS_OPTIMIZE='@CFLAGS_OPTIMIZE@' sl@0: sl@0: # Default linker flags used in an optimized and debuggable build, respectively. sl@0: TCL_LDFLAGS_DEBUG='@LDFLAGS_DEBUG@' sl@0: TCL_LDFLAGS_OPTIMIZE='@LDFLAGS_OPTIMIZE@' sl@0: sl@0: # Flag, 1: we built a shared lib, 0 we didn't sl@0: TCL_SHARED_BUILD=@TCL_SHARED_BUILD@ sl@0: sl@0: # The name of the Tcl library (may be either a .a file or a shared library): sl@0: TCL_LIB_FILE='@TCL_LIB_FILE@' sl@0: sl@0: # Flag to indicate whether shared libraries need export files. sl@0: TCL_NEEDS_EXP_FILE=@TCL_NEEDS_EXP_FILE@ sl@0: sl@0: # String that can be evaluated to generate the part of the export file sl@0: # name that comes after the "libxxx" (includes version number, if any, sl@0: # extension, and anything else needed). May depend on the variables sl@0: # VERSION. On most UNIX systems this is ${VERSION}.exp. sl@0: TCL_EXPORT_FILE_SUFFIX='@CFG_TCL_EXPORT_FILE_SUFFIX@' sl@0: sl@0: # Additional libraries to use when linking Tcl. sl@0: TCL_LIBS='@DL_LIBS@ @LIBS@ @MATH_LIBS@' sl@0: sl@0: # Top-level directory in which Tcl's platform-independent files are sl@0: # installed. sl@0: TCL_PREFIX='@prefix@' sl@0: sl@0: # Top-level directory in which Tcl's platform-specific files (e.g. sl@0: # executables) are installed. sl@0: TCL_EXEC_PREFIX='@exec_prefix@' sl@0: sl@0: # Flags to pass to cc when compiling the components of a shared library: sl@0: TCL_SHLIB_CFLAGS='@SHLIB_CFLAGS@' sl@0: sl@0: # Flags to pass to cc to get warning messages sl@0: TCL_CFLAGS_WARNING='@CFLAGS_WARNING@' sl@0: sl@0: # Extra flags to pass to cc: sl@0: TCL_EXTRA_CFLAGS='@CFLAGS@' sl@0: sl@0: # Base command to use for combining object files into a shared library: sl@0: TCL_SHLIB_LD='@SHLIB_LD@' sl@0: sl@0: # Base command to use for combining object files into a static library: sl@0: TCL_STLIB_LD='@STLIB_LD@' sl@0: sl@0: # Either '$LIBS' (if dependent libraries should be included when linking sl@0: # shared libraries) or an empty string. See Tcl's configure.in for more sl@0: # explanation. sl@0: TCL_SHLIB_LD_LIBS='@SHLIB_LD_LIBS@' sl@0: sl@0: # Suffix to use for the name of a shared library. sl@0: TCL_SHLIB_SUFFIX='@SHLIB_SUFFIX@' sl@0: sl@0: # Library file(s) to include in tclsh and other base applications sl@0: # in order to provide facilities needed by DLOBJ above. sl@0: TCL_DL_LIBS='@DL_LIBS@' sl@0: sl@0: # Flags to pass to the compiler when linking object files into sl@0: # an executable tclsh or tcltest binary. sl@0: TCL_LD_FLAGS='@LDFLAGS@' sl@0: sl@0: # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the sl@0: # run-time dynamic linker where to look for shared libraries such as sl@0: # libtcl.so. Used when linking applications. Only works if there sl@0: # is a variable "LIB_RUNTIME_DIR" defined in the Makefile. sl@0: TCL_CC_SEARCH_FLAGS='@CC_SEARCH_FLAGS@' sl@0: TCL_LD_SEARCH_FLAGS='@LD_SEARCH_FLAGS@' sl@0: sl@0: # Additional object files linked with Tcl to provide compatibility sl@0: # with standard facilities from ANSI C or POSIX. sl@0: TCL_COMPAT_OBJS='@LIBOBJS@' sl@0: sl@0: # Name of the ranlib program to use. sl@0: TCL_RANLIB='@RANLIB@' sl@0: sl@0: # -l flag to pass to the linker to pick up the Tcl library sl@0: TCL_LIB_FLAG='@TCL_LIB_FLAG@' sl@0: sl@0: # String to pass to linker to pick up the Tcl library from its sl@0: # build directory. sl@0: TCL_BUILD_LIB_SPEC='@TCL_BUILD_LIB_SPEC@' sl@0: sl@0: # String to pass to linker to pick up the Tcl library from its sl@0: # installed directory. sl@0: TCL_LIB_SPEC='@TCL_LIB_SPEC@' sl@0: sl@0: # String to pass to the compiler so that an extension can sl@0: # find installed Tcl headers. sl@0: TCL_INCLUDE_SPEC='@TCL_INCLUDE_SPEC@' sl@0: sl@0: # Indicates whether a version numbers should be used in -l switches sl@0: # ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means sl@0: # use switches like -ltcl75). SunOS and FreeBSD require "nodots", for sl@0: # example. sl@0: TCL_LIB_VERSIONS_OK='@TCL_LIB_VERSIONS_OK@' sl@0: sl@0: # String that can be evaluated to generate the part of a shared library sl@0: # name that comes after the "libxxx" (includes version number, if any, sl@0: # extension, and anything else needed). May depend on the variables sl@0: # VERSION and SHLIB_SUFFIX. On most UNIX systems this is sl@0: # ${VERSION}${SHLIB_SUFFIX}. sl@0: TCL_SHARED_LIB_SUFFIX='@CFG_TCL_SHARED_LIB_SUFFIX@' sl@0: sl@0: # String that can be evaluated to generate the part of an unshared library sl@0: # name that comes after the "libxxx" (includes version number, if any, sl@0: # extension, and anything else needed). May depend on the variable sl@0: # VERSION. On most UNIX systems this is ${VERSION}.a. sl@0: TCL_UNSHARED_LIB_SUFFIX='@CFG_TCL_UNSHARED_LIB_SUFFIX@' sl@0: sl@0: # Location of the top-level source directory from which Tcl was built. sl@0: # This is the directory that contains a README file as well as sl@0: # subdirectories such as generic, unix, etc. If Tcl was compiled in a sl@0: # different place than the directory containing the source files, this sl@0: # points to the location of the sources, not the location where Tcl was sl@0: # compiled. sl@0: TCL_SRC_DIR='@TCL_SRC_DIR@' sl@0: sl@0: # List of standard directories in which to look for packages during sl@0: # "package require" commands. Contains the "prefix" directory plus also sl@0: # the "exec_prefix" directory, if it is different. sl@0: TCL_PACKAGE_PATH='@TCL_PACKAGE_PATH@' sl@0: sl@0: # Tcl supports stub. sl@0: TCL_SUPPORTS_STUBS=1 sl@0: sl@0: # The name of the Tcl stub library (.a): sl@0: TCL_STUB_LIB_FILE='@TCL_STUB_LIB_FILE@' sl@0: sl@0: # -l flag to pass to the linker to pick up the Tcl stub library sl@0: TCL_STUB_LIB_FLAG='@TCL_STUB_LIB_FLAG@' sl@0: sl@0: # String to pass to linker to pick up the Tcl stub library from its sl@0: # build directory. sl@0: TCL_BUILD_STUB_LIB_SPEC='@TCL_BUILD_STUB_LIB_SPEC@' sl@0: sl@0: # String to pass to linker to pick up the Tcl stub library from its sl@0: # installed directory. sl@0: TCL_STUB_LIB_SPEC='@TCL_STUB_LIB_SPEC@' sl@0: sl@0: # Path to the Tcl stub library in the build directory. sl@0: TCL_BUILD_STUB_LIB_PATH='@TCL_BUILD_STUB_LIB_PATH@' sl@0: sl@0: # Path to the Tcl stub library in the install directory. sl@0: TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@' sl@0: sl@0: # Flag, 1: we built Tcl with threads enables, 0 we didn't sl@0: TCL_THREADS=@TCL_THREADS@