Posted to tcl by schelte at Fri May 02 09:31:25 GMT 2025view raw

  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.  
  12. # Tcl's version number.
  13. TCL_VERSION='8.6'
  14. TCL_MAJOR_VERSION='8'
  15. TCL_MINOR_VERSION='6'
  16. TCL_PATCH_LEVEL='.14'
  17.  
  18. # C compiler to use for compilation.
  19. TCL_CC='gcc'
  20.  
  21. # -D flags for use with the C compiler.
  22. 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 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=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_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_VFORK=1 -DHAVE_POSIX_SPAWNP=1 -DHAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1 -DHAVE_POSI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-DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1'
  23.  
  24. # TCL_DBGX used to be used to distinguish debug vs. non-debug builds.
  25. # This was a righteous pain so the core doesn't do that any more.
  26. TCL_DBGX=
  27.  
  28. # Default flags used in an optimized and debuggable build, respectively.
  29. TCL_CFLAGS_DEBUG='-g'
  30. TCL_CFLAGS_OPTIMIZE='-O2'
  31.  
  32. # Default linker flags used in an optimized and debuggable build, respectively.
  33. TCL_LDFLAGS_DEBUG=''
  34. TCL_LDFLAGS_OPTIMIZE=''
  35.  
  36. # Flag, 1: we built a shared lib, 0 we didn't
  37. TCL_SHARED_BUILD=1
  38.  
  39. # The name of the Tcl library (may be either a .a file or a shared library):
  40. TCL_LIB_FILE='libtcl8.6.so'
  41.  
  42. # Additional libraries to use when linking Tcl.
  43. TCL_LIBS='-ldl -lz -lpthread -lm'
  44.  
  45. # Top-level directory in which Tcl's platform-independent files are
  46. # installed.
  47. TCL_PREFIX='/usr'
  48.  
  49. # Top-level directory in which Tcl's platform-specific files (e.g.
  50. # executables) are installed.
  51. TCL_EXEC_PREFIX='/usr'
  52.  
  53. # Flags to pass to cc when compiling the components of a shared library:
  54. TCL_SHLIB_CFLAGS='-fPIC'
  55.  
  56. # Flags to pass to cc to get warning messages
  57. TCL_CFLAGS_WARNING='-Wall -Wpointer-arith'
  58.  
  59. # Extra flags to pass to cc:
  60. TCL_EXTRA_CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe '
  61.  
  62. # Base command to use for combining object files into a shared library:
  63. TCL_SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}'
  64.  
  65. # Base command to use for combining object files into a static library:
  66. TCL_STLIB_LD='${AR} cr'
  67.  
  68. # Either '$LIBS' (if dependent libraries should be included when linking
  69. # shared libraries) or an empty string. See Tcl's configure.in for more
  70. # explanation.
  71. TCL_SHLIB_LD_LIBS='${LIBS}'
  72.  
  73. # Suffix to use for the name of a shared library.
  74. TCL_SHLIB_SUFFIX='.so'
  75.  
  76. # Library file(s) to include in tclsh and other base applications
  77. # in order to provide facilities needed by DLOBJ above.
  78. TCL_DL_LIBS='-ldl'
  79.  
  80. # Flags to pass to the compiler when linking object files into
  81. # an executable tclsh or tcltest binary.
  82. TCL_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--export-dynamic '
  83.  
  84. # Flags to pass to cc/ld, such as "-R /usr/local/tcl/lib", that tell the
  85. # run-time dynamic linker where to look for shared libraries such as
  86. # libtcl.so. Used when linking applications. Only works if there
  87. # is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
  88. TCL_CC_SEARCH_FLAGS=''
  89. TCL_LD_SEARCH_FLAGS=''
  90.  
  91. # Additional object files linked with Tcl to provide compatibility
  92. # with standard facilities from ANSI C or POSIX.
  93. TCL_COMPAT_OBJS=''
  94.  
  95. # Name of the ranlib program to use.
  96. TCL_RANLIB='ranlib'
  97.  
  98. # -l flag to pass to the linker to pick up the Tcl library
  99. TCL_LIB_FLAG='-ltcl8.6'
  100.  
  101. # String to pass to linker to pick up the Tcl library from its
  102. # build directory.
  103. TCL_BUILD_LIB_SPEC='-L/usr/lib64 -ltcl8.6'
  104.  
  105. # String to pass to linker to pick up the Tcl library from its
  106. # installed directory.
  107. TCL_LIB_SPEC='-L/usr/lib64 -ltcl8.6'
  108.  
  109. # String to pass to the compiler so that an extension can
  110. # find installed Tcl headers.
  111. TCL_INCLUDE_SPEC='-I/usr/include'
  112.  
  113. # Indicates whether a version numbers should be used in -l switches
  114. # ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
  115. # use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
  116. # example.
  117. TCL_LIB_VERSIONS_OK='ok'
  118.  
  119. # String that can be evaluated to generate the part of a shared library
  120. # name that comes after the "libxxx" (includes version number, if any,
  121. # extension, and anything else needed). May depend on the variables
  122. # VERSION and SHLIB_SUFFIX. On most UNIX systems this is
  123. # ${VERSION}${SHLIB_SUFFIX}.
  124. TCL_SHARED_LIB_SUFFIX='${VERSION}.so'
  125.  
  126. # String that can be evaluated to generate the part of an unshared library
  127. # name that comes after the "libxxx" (includes version number, if any,
  128. # extension, and anything else needed). May depend on the variable
  129. # VERSION. On most UNIX systems this is ${VERSION}.a.
  130. TCL_UNSHARED_LIB_SUFFIX='${VERSION}.a'
  131.  
  132. # Location of the top-level source directory from which Tcl was built.
  133. # This is the directory that contains a README file as well as
  134. # subdirectories such as generic, unix, etc. If Tcl was compiled in a
  135. # different place than the directory containing the source files, this
  136. # points to the location of the sources, not the location where Tcl was
  137. # compiled.
  138. TCL_SRC_DIR='/usr/include/tcl-private'
  139.  
  140. # List of standard directories in which to look for packages during
  141. # "package require" commands. Contains the "prefix" directory plus also
  142. # the "exec_prefix" directory, if it is different.
  143. TCL_PACKAGE_PATH='/usr/lib64/tcl8.6 /usr/share/tcl8.6 /usr/lib64/tk8.6 /usr/share/tk8.6 '
  144.  
  145. # Tcl supports stub.
  146. TCL_SUPPORTS_STUBS=1
  147.  
  148. # The name of the Tcl stub library (.a):
  149. TCL_STUB_LIB_FILE='libtclstub8.6.a'
  150.  
  151. # -l flag to pass to the linker to pick up the Tcl stub library
  152. TCL_STUB_LIB_FLAG='-ltclstub8.6'
  153.  
  154. # String to pass to linker to pick up the Tcl stub library from its
  155. # build directory.
  156. TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib64 -ltclstub8.6'
  157.  
  158. # String to pass to linker to pick up the Tcl stub library from its
  159. # installed directory.
  160. TCL_STUB_LIB_SPEC='-L/usr/lib64 -ltclstub8.6'
  161.  
  162. # Path to the Tcl stub library in the build directory.
  163. TCL_BUILD_STUB_LIB_PATH='/usr/lib64/libtclstub8.6.a'
  164.  
  165. # Path to the Tcl stub library in the install directory.
  166. TCL_STUB_LIB_PATH='/usr/lib64/libtclstub8.6.a'
  167.  
  168. # Flag, 1: we built Tcl with threads enabled, 0 we didn't
  169. TCL_THREADS=1
  170.  

Add a comment

Please note that this site uses the meta tags nofollow,noindex for all pages that contain comments.
Items are closed for new comments after 1 week