tclConfig.sh 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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's version number.
  12. TCL_VERSION='8.6'
  13. TCL_MAJOR_VERSION='8'
  14. TCL_MINOR_VERSION='6'
  15. TCL_PATCH_LEVEL='.12'
  16. # C compiler to use for compilation.
  17. TCL_CC='/opt/conda/conda-bld/tk_1654088763175/_build_env/bin/x86_64-conda-linux-gnu-cc'
  18. # -D flags for use with the C compiler.
  19. TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDE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R=1 -DHAVE_LANGINFO=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 '
  20. # TCL_DBGX used to be used to distinguish debug vs. non-debug builds.
  21. # This was a righteous pain so the core doesn't do that any more.
  22. TCL_DBGX=
  23. # Default flags used in an optimized and debuggable build, respectively.
  24. TCL_CFLAGS_DEBUG='-g'
  25. TCL_CFLAGS_OPTIMIZE='-O2'
  26. # Default linker flags used in an optimized and debuggable build, respectively.
  27. TCL_LDFLAGS_DEBUG=''
  28. TCL_LDFLAGS_OPTIMIZE=''
  29. # Flag, 1: we built a shared lib, 0 we didn't
  30. TCL_SHARED_BUILD=1
  31. # The name of the Tcl library (may be either a .a file or a shared library):
  32. TCL_LIB_FILE='libtcl8.6.so'
  33. # Additional libraries to use when linking Tcl.
  34. TCL_LIBS='-ldl -lz -lpthread -lm'
  35. # Top-level directory in which Tcl's platform-independent files are
  36. # installed.
  37. TCL_PREFIX='/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_'
  38. # Top-level directory in which Tcl's platform-specific files (e.g.
  39. # executables) are installed.
  40. TCL_EXEC_PREFIX='/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_'
  41. # Flags to pass to cc when compiling the components of a shared library:
  42. TCL_SHLIB_CFLAGS='-fPIC'
  43. # Flags to pass to cc to get warning messages
  44. TCL_CFLAGS_WARNING='-Wall -Wpointer-arith'
  45. # Extra flags to pass to cc:
  46. TCL_EXTRA_CFLAGS='-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/opt/conda/conda-bld/tk_1654088763175/work=/usr/local/src/conda/tk-8.6.12 -fdebug-prefix-map=/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix -pipe -m64 -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include'
  47. # Base command to use for combining object files into a shared library:
  48. TCL_SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
  49. # Base command to use for combining object files into a static library:
  50. TCL_STLIB_LD='${AR} cr'
  51. # Either '$LIBS' (if dependent libraries should be included when linking
  52. # shared libraries) or an empty string. See Tcl's configure.in for more
  53. # explanation.
  54. TCL_SHLIB_LD_LIBS='${LIBS}'
  55. # Suffix to use for the name of a shared library.
  56. TCL_SHLIB_SUFFIX='.so'
  57. # Library file(s) to include in tclsh and other base applications
  58. # in order to provide facilities needed by DLOBJ above.
  59. TCL_DL_LIBS='-ldl'
  60. # Flags to pass to the compiler when linking object files into
  61. # an executable tclsh or tcltest binary.
  62. TCL_LD_FLAGS='-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -Wl,-rpath-link,/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -L/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -Wl,--export-dynamic '
  63. # Flags to pass to cc/ld, such as "-R /usr/local/tcl/lib", that tell the
  64. # run-time dynamic linker where to look for shared libraries such as
  65. # libtcl.so. Used when linking applications. Only works if there
  66. # is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
  67. TCL_CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
  68. TCL_LD_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
  69. # Additional object files linked with Tcl to provide compatibility
  70. # with standard facilities from ANSI C or POSIX.
  71. TCL_COMPAT_OBJS=''
  72. # Name of the ranlib program to use.
  73. TCL_RANLIB='/opt/conda/conda-bld/tk_1654088763175/_build_env/bin/x86_64-conda-linux-gnu-ranlib'
  74. # -l flag to pass to the linker to pick up the Tcl library
  75. TCL_LIB_FLAG='-ltcl8.6'
  76. # String to pass to linker to pick up the Tcl library from its
  77. # build directory.
  78. TCL_BUILD_LIB_SPEC='-L/opt/conda/conda-bld/tk_1654088763175/work/tcl8.6.12/unix -ltcl8.6'
  79. # String to pass to linker to pick up the Tcl library from its
  80. # installed directory.
  81. TCL_LIB_SPEC='-L/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -ltcl8.6'
  82. # String to pass to the compiler so that an extension can
  83. # find installed Tcl headers.
  84. TCL_INCLUDE_SPEC='-I/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include'
  85. # Indicates whether a version numbers should be used in -l switches
  86. # ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
  87. # use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
  88. # example.
  89. TCL_LIB_VERSIONS_OK='ok'
  90. # String that can be evaluated to generate the part of a shared library
  91. # name that comes after the "libxxx" (includes version number, if any,
  92. # extension, and anything else needed). May depend on the variables
  93. # VERSION and SHLIB_SUFFIX. On most UNIX systems this is
  94. # ${VERSION}${SHLIB_SUFFIX}.
  95. TCL_SHARED_LIB_SUFFIX='${VERSION}.so'
  96. # String that can be evaluated to generate the part of an unshared library
  97. # name that comes after the "libxxx" (includes version number, if any,
  98. # extension, and anything else needed). May depend on the variable
  99. # VERSION. On most UNIX systems this is ${VERSION}.a.
  100. TCL_UNSHARED_LIB_SUFFIX='${VERSION}.a'
  101. # Location of the top-level source directory from which Tcl was built.
  102. # This is the directory that contains a README file as well as
  103. # subdirectories such as generic, unix, etc. If Tcl was compiled in a
  104. # different place than the directory containing the source files, this
  105. # points to the location of the sources, not the location where Tcl was
  106. # compiled.
  107. TCL_SRC_DIR='/opt/conda/conda-bld/tk_1654088763175/work/tcl8.6.12'
  108. # List of standard directories in which to look for packages during
  109. # "package require" commands. Contains the "prefix" directory plus also
  110. # the "exec_prefix" directory, if it is different.
  111. TCL_PACKAGE_PATH='{/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib} '
  112. # Tcl supports stub.
  113. TCL_SUPPORTS_STUBS=1
  114. # The name of the Tcl stub library (.a):
  115. TCL_STUB_LIB_FILE='libtclstub8.6.a'
  116. # -l flag to pass to the linker to pick up the Tcl stub library
  117. TCL_STUB_LIB_FLAG='-ltclstub8.6'
  118. # String to pass to linker to pick up the Tcl stub library from its
  119. # build directory.
  120. TCL_BUILD_STUB_LIB_SPEC='-L/opt/conda/conda-bld/tk_1654088763175/work/tcl8.6.12/unix -ltclstub8.6'
  121. # String to pass to linker to pick up the Tcl stub library from its
  122. # installed directory.
  123. TCL_STUB_LIB_SPEC='-L/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -ltclstub8.6'
  124. # Path to the Tcl stub library in the build directory.
  125. TCL_BUILD_STUB_LIB_PATH='/opt/conda/conda-bld/tk_1654088763175/work/tcl8.6.12/unix/libtclstub8.6.a'
  126. # Path to the Tcl stub library in the install directory.
  127. TCL_STUB_LIB_PATH='/opt/conda/conda-bld/tk_1654088763175/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/libtclstub8.6.a'
  128. # Flag, 1: we built Tcl with threads enabled, 0 we didn't
  129. TCL_THREADS=1