Git for Windows Git-1.6.5.1-preview20100112-with-cheetah
[msysgit.git] / mingw / lib / tclConfig.sh
blob9413c4210402cf9a456bc0295e6e2b98a84ea1d1
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 # RCS: @(#) $Id: tclConfig.sh.in,v 1.8 2001/11/08 03:07:22 mdejong Exp $
14 TCL_DLL_FILE="tcl85.dll"
16 # Tcl's version number.
17 TCL_VERSION='8.5'
18 TCL_MAJOR_VERSION='8'
19 TCL_MINOR_VERSION='5'
20 TCL_PATCH_LEVEL='.7'
22 # C compiler to use for compilation.
23 TCL_CC='gcc'
25 # -D flags for use with the C compiler.
26 TCL_DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_ALLOCA_GCC_INLINE=1 -DHAVE_CAST_TO_UNION=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 -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 '
28 # If TCL was built with debugging symbols, generated libraries contain
29 # this string at the end of the library name (before the extension).
30 TCL_DBGX=
32 # Default flags used in an optimized and debuggable build, respectively.
33 TCL_CFLAGS_DEBUG='-g'
34 TCL_CFLAGS_OPTIMIZE='-O2 -fomit-frame-pointer'
36 # Default linker flags used in an optimized and debuggable build, respectively.
37 TCL_LDFLAGS_DEBUG=''
38 TCL_LDFLAGS_OPTIMIZE=''
40 # Flag, 1: we built a shared lib, 0 we didn't
41 TCL_SHARED_BUILD=1
43 # The name of the Tcl library (may be either a .a file or a shared library):
44 TCL_LIB_FILE='libtcl85.a'
46 # Flag to indicate whether shared libraries need export files.
47 TCL_NEEDS_EXP_FILE=
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.
53 TCL_EXPORT_FILE_SUFFIX='${NODOT_VERSION}${DBGX}.a'
55 # Additional libraries to use when linking Tcl.
56 TCL_LIBS='-lws2_32'
58 # Top-level directory in which Tcl's platform-independent files are
59 # installed.
60 TCL_PREFIX='/mingw'
62 # Top-level directory in which Tcl's platform-specific files (e.g.
63 # executables) are installed.
64 TCL_EXEC_PREFIX='/mingw'
66 # Flags to pass to cc when compiling the components of a shared library:
67 TCL_SHLIB_CFLAGS=''
69 # Flags to pass to cc to get warning messages
70 TCL_CFLAGS_WARNING='-Wall'
72 # Extra flags to pass to cc:
73 TCL_EXTRA_CFLAGS=''
75 # Base command to use for combining object files into a shared library:
76 TCL_SHLIB_LD='${CC} -shared ${CFLAGS}'
78 # Base command to use for combining object files into a static library:
79 TCL_STLIB_LD='${AR} cr'
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.
84 TCL_SHLIB_LD_LIBS='${LIBS}'
86 # Suffix to use for the name of a shared library.
87 TCL_SHLIB_SUFFIX='.dll'
89 # Library file(s) to include in tclsh and other base applications
90 # in order to provide facilities needed by DLOBJ above.
91 TCL_DL_LIBS=''
93 # Flags to pass to the compiler when linking object files into
94 # an executable tclsh or tcltest binary.
95 TCL_LD_FLAGS=''
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.
101 TCL_LD_SEARCH_FLAGS=''
103 # Additional object files linked with Tcl to provide compatibility
104 # with standard facilities from ANSI C or POSIX.
105 TCL_COMPAT_OBJS=''
107 # Name of the ranlib program to use.
108 TCL_RANLIB='ranlib'
110 # -l flag to pass to the linker to pick up the Tcl library
111 TCL_LIB_FLAG='-ltcl85'
113 # String to pass to linker to pick up the Tcl library from its
114 # build directory.
115 TCL_BUILD_LIB_SPEC='-L/src/tcltk/tcl8.5.7/win -ltcl85'
117 # String to pass to linker to pick up the Tcl library from its
118 # installed directory.
119 TCL_LIB_SPEC='-L/mingw/lib -ltcl85'
121 # String to pass to the compiler so that an extension can
122 # find installed Tcl headers.
123 TCL_INCLUDE_SPEC='-I/mingw/include'
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.
129 TCL_LIB_VERSIONS_OK=''
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}.
136 TCL_SHARED_LIB_SUFFIX='${NODOT_VERSION}${DBGX}.dll'
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.
142 TCL_UNSHARED_LIB_SUFFIX='${NODOT_VERSION}${DBGX}.a'
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.
150 TCL_SRC_DIR='/src/tcltk/tcl8.5.7'
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.
155 TCL_PACKAGE_PATH='/mingw/lib'
157 # Tcl supports stub.
158 TCL_SUPPORTS_STUBS=1
160 # The name of the Tcl stub library (.a):
161 TCL_STUB_LIB_FILE='libtclstub85.a'
163 # -l flag to pass to the linker to pick up the Tcl stub library
164 TCL_STUB_LIB_FLAG='-ltclstub85'
166 # String to pass to linker to pick up the Tcl stub library from its
167 # build directory.
168 TCL_BUILD_STUB_LIB_SPEC='-L/src/tcltk/tcl8.5.7/win -ltclstub85'
170 # String to pass to linker to pick up the Tcl stub library from its
171 # installed directory.
172 TCL_STUB_LIB_SPEC='-L/mingw/lib -ltclstub85'
174 # Path to the Tcl stub library in the build directory.
175 TCL_BUILD_STUB_LIB_PATH='/src/tcltk/tcl8.5.7/win/libtclstub85.a'
177 # Path to the Tcl stub library in the install directory.
178 TCL_STUB_LIB_PATH='/mingw/lib/libtclstub85.a'
180 # Flag, 1: we built Tcl with threads enables, 0 we didn't
181 TCL_THREADS=0