tclConfig.sh 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. TCL_DLL_FILE="tcl86.dll"
  12. # Tcl's version number.
  13. TCL_VERSION='8.6'
  14. TCL_MAJOR_VERSION='8'
  15. TCL_MINOR_VERSION='6'
  16. TCL_PATCH_LEVEL='.12'
  17. # C compiler to use for compilation.
  18. TCL_CC='gcc'
  19. # -D flags for use with the C compiler.
  20. TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -DMODULE_SCOPE=extern -DTCL_CFG_DO64BIT=1 -DHAVE_NO_SEH=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_ZLIB=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_INTRIN_H=1 -DHAVE_WSPIAPI_H=1 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1'
  21. # If TCL was built with debugging symbols, generated libraries contain
  22. # this string at the end of the library name (before the extension).
  23. TCL_DBGX=
  24. # Default flags used in an optimized and debuggable build, respectively.
  25. TCL_CFLAGS_DEBUG='-g'
  26. TCL_CFLAGS_OPTIMIZE='-O2 -fomit-frame-pointer'
  27. # Default linker flags used in an optimized and debuggable build, respectively.
  28. TCL_LDFLAGS_DEBUG=''
  29. TCL_LDFLAGS_OPTIMIZE=''
  30. # Flag, 1: we built a shared lib, 0 we didn't
  31. TCL_SHARED_BUILD=1
  32. # The name of the Tcl library (may be either a .a file or a shared library):
  33. TCL_LIB_FILE='libtcl86.dll.a'
  34. # Flag to indicate whether shared libraries need export files.
  35. TCL_NEEDS_EXP_FILE=
  36. # String that can be evaluated to generate the part of the export file
  37. # name that comes after the "libxxx" (includes version number, if any,
  38. # extension, and anything else needed). May depend on the variables
  39. # VERSION. On most UNIX systems this is ${VERSION}.exp.
  40. TCL_EXPORT_FILE_SUFFIX='${NODOT_VERSION}.a'
  41. # Additional libraries to use when linking Tcl.
  42. TCL_LIBS='-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32'
  43. # Top-level directory in which Tcl's platform-independent files are
  44. # installed.
  45. TCL_PREFIX='/mingw64'
  46. # Top-level directory in which Tcl's platform-specific files (e.g.
  47. # executables) are installed.
  48. TCL_EXEC_PREFIX='/mingw64'
  49. # Flags to pass to cc when compiling the components of a shared library:
  50. TCL_SHLIB_CFLAGS=''
  51. # Flags to pass to cc to get warning messages
  52. TCL_CFLAGS_WARNING='-Wall -Wpointer-arith -Wdeclaration-after-statement'
  53. # Extra flags to pass to cc:
  54. TCL_EXTRA_CFLAGS='-pipe'
  55. # Base command to use for combining object files into a shared library:
  56. TCL_SHLIB_LD='${CC} -shared'
  57. # Base command to use for combining object files into a static library:
  58. TCL_STLIB_LD='${AR} cr'
  59. # Either '$LIBS' (if dependent libraries should be included when linking
  60. # shared libraries) or an empty string. See Tcl's configure.in for more
  61. # explanation.
  62. TCL_SHLIB_LD_LIBS='${LIBS}'
  63. # Suffix to use for the name of a shared library.
  64. TCL_SHLIB_SUFFIX='.dll'
  65. # Library file(s) to include in tclsh and other base applications
  66. # in order to provide facilities needed by DLOBJ above.
  67. TCL_DL_LIBS=''
  68. # Flags to pass to the compiler when linking object files into
  69. # an executable tclsh or tcltest binary.
  70. TCL_LD_FLAGS='-pipe'
  71. # Flags to pass to cc/ld, such as "-R /usr/local/tcl/lib", that tell the
  72. # run-time dynamic linker where to look for shared libraries such as
  73. # libtcl.so. Used when linking applications. Only works if there
  74. # is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
  75. TCL_CC_SEARCH_FLAGS=''
  76. TCL_LD_SEARCH_FLAGS=''
  77. # Additional object files linked with Tcl to provide compatibility
  78. # with standard facilities from ANSI C or POSIX.
  79. TCL_COMPAT_OBJS=''
  80. # Name of the ranlib program to use.
  81. TCL_RANLIB='ranlib'
  82. # -l flag to pass to the linker to pick up the Tcl library
  83. TCL_LIB_FLAG=''
  84. # String to pass to linker to pick up the Tcl library from its
  85. # build directory.
  86. TCL_BUILD_LIB_SPEC='-Wl,/mingw64/lib/libtcl86.dll.a'
  87. # String to pass to linker to pick up the Tcl library from its
  88. # installed directory.
  89. TCL_LIB_SPEC='-L/mingw64/lib -ltcl86'
  90. # String to pass to the compiler so that an extension can
  91. # find installed Tcl headers.
  92. TCL_INCLUDE_SPEC='-I/mingw64/include/tcl8.6'
  93. # Indicates whether a version numbers should be used in -l switches
  94. # ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
  95. # use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
  96. # example.
  97. TCL_LIB_VERSIONS_OK=''
  98. # String that can be evaluated to generate the part of a shared library
  99. # name that comes after the "libxxx" (includes version number, if any,
  100. # extension, and anything else needed). May depend on the variables
  101. # VERSION and SHLIB_SUFFIX. On most UNIX systems this is
  102. # ${VERSION}${SHLIB_SUFFIX}.
  103. TCL_SHARED_LIB_SUFFIX='${NODOT_VERSION}.dll'
  104. # String that can be evaluated to generate the part of an unshared library
  105. # name that comes after the "libxxx" (includes version number, if any,
  106. # extension, and anything else needed). May depend on the variable
  107. # VERSION. On most UNIX systems this is ${VERSION}.a.
  108. TCL_UNSHARED_LIB_SUFFIX='${NODOT_VERSION}.a'
  109. # Location of the top-level source directory from which Tcl was built.
  110. # This is the directory that contains a README file as well as
  111. # subdirectories such as generic, unix, etc. If Tcl was compiled in a
  112. # different place than the directory containing the source files, this
  113. # points to the location of the sources, not the location where Tcl was
  114. # compiled.
  115. TCL_SRC_DIR='/mingw64/include/tcl8.6/tcl-private'
  116. # List of standard directories in which to look for packages during
  117. # "package require" commands. Contains the "prefix" directory plus also
  118. # the "exec_prefix" directory, if it is different.
  119. TCL_PACKAGE_PATH='{/mingw64/lib}'
  120. # Tcl supports stub.
  121. TCL_SUPPORTS_STUBS=1
  122. # The name of the Tcl stub library (.a):
  123. TCL_STUB_LIB_FILE='libtclstub86.a'
  124. # -l flag to pass to the linker to pick up the Tcl stub library
  125. TCL_STUB_LIB_FLAG='-ltclstub86'
  126. # String to pass to linker to pick up the Tcl stub library from its
  127. # build directory.
  128. TCL_BUILD_STUB_LIB_SPEC='-Wl,/mingw64/lib/libtclstub86.a'
  129. # String to pass to linker to pick up the Tcl stub library from its
  130. # installed directory.
  131. TCL_STUB_LIB_SPEC='-L/mingw64/lib -ltclstub86'
  132. # Path to the Tcl stub library in the build directory.
  133. TCL_BUILD_STUB_LIB_PATH='/mingw64/lib'
  134. # Path to the Tcl stub library in the install directory.
  135. TCL_STUB_LIB_PATH='/mingw64/lib/libtclstub86.a'
  136. # Flag, 1: we built Tcl with threads enabled, 0 we didn't
  137. TCL_THREADS=1