Update tcl to version 8.5.13
[msysgit/kirr.git] / mingw / lib / tclConfig.sh
blob2fc77991cb0e72a7b3ded3270d2588bf522002eb
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.
10 # The information in this file is specific to a single platform.
12 TCL_DLL_FILE="tcl85.dll"
14 # Tcl's version number.
15 TCL_VERSION='8.5'
16 TCL_MAJOR_VERSION='8'
17 TCL_MINOR_VERSION='5'
18 TCL_PATCH_LEVEL='.13'
20 # C compiler to use for compilation.
21 TCL_CC='gcc'
23 # -D flags for use with the C compiler.
24 TCL_DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 '
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=
30 # Default flags used in an optimized and debuggable build, respectively.
31 TCL_CFLAGS_DEBUG='-g'
32 TCL_CFLAGS_OPTIMIZE='-O2 -fomit-frame-pointer'
34 # Default linker flags used in an optimized and debuggable build, respectively.
35 TCL_LDFLAGS_DEBUG=''
36 TCL_LDFLAGS_OPTIMIZE=''
38 # Flag, 1: we built a shared lib, 0 we didn't
39 TCL_SHARED_BUILD=1
41 # The name of the Tcl library (may be either a .a file or a shared library):
42 TCL_LIB_FILE='libtcl85.a'
44 # Flag to indicate whether shared libraries need export files.
45 TCL_NEEDS_EXP_FILE=
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.
51 TCL_EXPORT_FILE_SUFFIX='${NODOT_VERSION}${DBGX}.a'
53 # Additional libraries to use when linking Tcl.
54 TCL_LIBS='-lws2_32'
56 # Top-level directory in which Tcl's platform-independent files are
57 # installed.
58 TCL_PREFIX='/mingw'
60 # Top-level directory in which Tcl's platform-specific files (e.g.
61 # executables) are installed.
62 TCL_EXEC_PREFIX='/mingw'
64 # Flags to pass to cc when compiling the components of a shared library:
65 TCL_SHLIB_CFLAGS=''
67 # Flags to pass to cc to get warning messages
68 TCL_CFLAGS_WARNING='-Wall'
70 # Extra flags to pass to cc:
71 TCL_EXTRA_CFLAGS='-pipe'
73 # Base command to use for combining object files into a shared library:
74 TCL_SHLIB_LD='${CC} -shared ${CFLAGS}'
76 # Base command to use for combining object files into a static library:
77 TCL_STLIB_LD='${AR} cr'
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.
82 TCL_SHLIB_LD_LIBS='${LIBS}'
84 # Suffix to use for the name of a shared library.
85 TCL_SHLIB_SUFFIX='.dll'
87 # Library file(s) to include in tclsh and other base applications
88 # in order to provide facilities needed by DLOBJ above.
89 TCL_DL_LIBS=''
91 # Flags to pass to the compiler when linking object files into
92 # an executable tclsh or tcltest binary.
93 TCL_LD_FLAGS=''
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.
99 TCL_LD_SEARCH_FLAGS=''
101 # Additional object files linked with Tcl to provide compatibility
102 # with standard facilities from ANSI C or POSIX.
103 TCL_COMPAT_OBJS=''
105 # Name of the ranlib program to use.
106 TCL_RANLIB='ranlib'
108 # -l flag to pass to the linker to pick up the Tcl library
109 TCL_LIB_FLAG='-ltcl85'
111 # String to pass to linker to pick up the Tcl library from its
112 # build directory.
113 TCL_BUILD_LIB_SPEC='-L/src/tcltk/tcl8.5.13/win -ltcl85'
115 # String to pass to linker to pick up the Tcl library from its
116 # installed directory.
117 TCL_LIB_SPEC='-L/mingw/lib -ltcl85'
119 # String to pass to the compiler so that an extension can
120 # find installed Tcl headers.
121 TCL_INCLUDE_SPEC='-I/mingw/include'
123 # Indicates whether a version numbers should be used in -l switches
124 # ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
125 # use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
126 # example.
127 TCL_LIB_VERSIONS_OK=''
129 # String that can be evaluated to generate the part of a shared library
130 # name that comes after the "libxxx" (includes version number, if any,
131 # extension, and anything else needed). May depend on the variables
132 # VERSION and SHLIB_SUFFIX. On most UNIX systems this is
133 # ${VERSION}${SHLIB_SUFFIX}.
134 TCL_SHARED_LIB_SUFFIX='${NODOT_VERSION}${DBGX}.dll'
136 # String that can be evaluated to generate the part of an unshared library
137 # name that comes after the "libxxx" (includes version number, if any,
138 # extension, and anything else needed). May depend on the variable
139 # VERSION. On most UNIX systems this is ${VERSION}.a.
140 TCL_UNSHARED_LIB_SUFFIX='${NODOT_VERSION}${DBGX}.a'
142 # Location of the top-level source directory from which Tcl was built.
143 # This is the directory that contains a README file as well as
144 # subdirectories such as generic, unix, etc. If Tcl was compiled in a
145 # different place than the directory containing the source files, this
146 # points to the location of the sources, not the location where Tcl was
147 # compiled.
148 TCL_SRC_DIR='/src/tcltk/tcl8.5.13'
150 # List of standard directories in which to look for packages during
151 # "package require" commands. Contains the "prefix" directory plus also
152 # the "exec_prefix" directory, if it is different.
153 TCL_PACKAGE_PATH='/mingw/lib'
155 # Tcl supports stub.
156 TCL_SUPPORTS_STUBS=1
158 # The name of the Tcl stub library (.a):
159 TCL_STUB_LIB_FILE='libtclstub85.a'
161 # -l flag to pass to the linker to pick up the Tcl stub library
162 TCL_STUB_LIB_FLAG='-ltclstub85'
164 # String to pass to linker to pick up the Tcl stub library from its
165 # build directory.
166 TCL_BUILD_STUB_LIB_SPEC='-L/src/tcltk/tcl8.5.13/win -ltclstub85'
168 # String to pass to linker to pick up the Tcl stub library from its
169 # installed directory.
170 TCL_STUB_LIB_SPEC='-L/mingw/lib -ltclstub85'
172 # Path to the Tcl stub library in the build directory.
173 TCL_BUILD_STUB_LIB_PATH='/src/tcltk/tcl8.5.13/win/libtclstub85.a'
175 # Path to the Tcl stub library in the install directory.
176 TCL_STUB_LIB_PATH='/mingw/lib/libtclstub85.a'
178 # Flag, 1: we built Tcl with threads enables, 0 we didn't
179 TCL_THREADS=0