home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / lib / tclConfig.sh < prev    next >
Encoding:
Text File  |  2006-06-17  |  7.3 KB  |  181 lines

  1. # tclConfig.sh --
  2. # This shell script (for sh) is generated automatically by Tcl's
  3. # configure script.  It will create shell variables for most of
  4. # the configuration options discovered by the configure script.
  5. # This script is intended to be included by the configure scripts
  6. # for Tcl extensions so that they don't have to figure this all
  7. # out for themselves.
  8. #
  9. # The information in this file is specific to a single platform.
  10. #
  11. # RCS: @(#) $Id: tclConfig.sh.in,v 1.21 2005/05/10 18:35:27 kennykb Exp $
  12.  
  13. # Tcl's version number.
  14. TCL_VERSION='8.5'
  15. TCL_MAJOR_VERSION='8'
  16. TCL_MINOR_VERSION='5'
  17. TCL_PATCH_LEVEL='a4'
  18.  
  19. # C compiler to use for compilation.
  20. TCL_CC='gcc -pipe'
  21.  
  22. # -D flags for use with the C compiler.
  23. TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -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_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DPEEK_XCLOSEIM=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 '
  24.  
  25. # TCL_DBGX used to be used to distinguish debug vs. non-debug builds.
  26. # This was a righteous pain so the core doesn't do that any more.
  27. TCL_DBGX=
  28.  
  29. # Default flags used in an optimized and debuggable build, respectively.
  30. TCL_CFLAGS_DEBUG='-g'
  31. TCL_CFLAGS_OPTIMIZE='-O2'
  32.  
  33. # Default linker flags used in an optimized and debuggable build, respectively.
  34. TCL_LDFLAGS_DEBUG=''
  35. TCL_LDFLAGS_OPTIMIZE=''
  36.  
  37. # Flag, 1: we built a shared lib, 0 we didn't
  38. TCL_SHARED_BUILD=1
  39.  
  40. # The name of the Tcl library (may be either a .a file or a shared library):
  41. TCL_LIB_FILE='libtcl8.5.so'
  42.  
  43. # Flag to indicate whether shared libraries need export files.
  44. TCL_NEEDS_EXP_FILE=0
  45.  
  46. # String that can be evaluated to generate the part of the export file
  47. # name that comes after the "libxxx" (includes version number, if any,
  48. # extension, and anything else needed).  May depend on the variables
  49. # VERSION.  On most UNIX systems this is ${VERSION}.exp.
  50. TCL_EXPORT_FILE_SUFFIX=''
  51.  
  52. # Additional libraries to use when linking Tcl.
  53. TCL_LIBS='-ldl  -lieee -lm'
  54.  
  55. # Top-level directory in which Tcl's platform-independent files are
  56. # installed.
  57. TCL_PREFIX='/usr'
  58.  
  59. # Top-level directory in which Tcl's platform-specific files (e.g.
  60. # executables) are installed.
  61. TCL_EXEC_PREFIX='/usr'
  62.  
  63. # Flags to pass to cc when compiling the components of a shared library:
  64. TCL_SHLIB_CFLAGS='-fPIC'
  65.  
  66. # Flags to pass to cc to get warning messages
  67. TCL_CFLAGS_WARNING='-Wall -Wno-implicit-int'
  68.  
  69. # Extra flags to pass to cc:
  70. TCL_EXTRA_CFLAGS=''
  71.  
  72. # Base command to use for combining object files into a shared library:
  73. TCL_SHLIB_LD='gcc -pipe -shared'
  74.  
  75. # Base command to use for combining object files into a static library:
  76. TCL_STLIB_LD='${AR} cr'
  77.  
  78. # Either '$LIBS' (if dependent libraries should be included when linking
  79. # shared libraries) or an empty string.  See Tcl's configure.in for more
  80. # explanation.
  81. TCL_SHLIB_LD_LIBS='${LIBS}'
  82.  
  83. # Suffix to use for the name of a shared library.
  84. TCL_SHLIB_SUFFIX='.so'
  85.  
  86. # Library file(s) to include in tclsh and other base applications
  87. # in order to provide facilities needed by DLOBJ above.
  88. TCL_DL_LIBS='-ldl'
  89.  
  90. # Flags to pass to the compiler when linking object files into
  91. # an executable tclsh or tcltest binary.
  92. TCL_LD_FLAGS=' -Wl,--export-dynamic '
  93.  
  94. # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
  95. # run-time dynamic linker where to look for shared libraries such as
  96. # libtcl.so.  Used when linking applications.  Only works if there
  97. # is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
  98. TCL_CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
  99. TCL_LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
  100.  
  101. # Additional object files linked with Tcl to provide compatibility
  102. # with standard facilities from ANSI C or POSIX.
  103. TCL_COMPAT_OBJS=''
  104.  
  105. # Name of the ranlib program to use.
  106. TCL_RANLIB='ranlib'
  107.  
  108. # -l flag to pass to the linker to pick up the Tcl library
  109. TCL_LIB_FLAG='-ltcl8.5'
  110.  
  111. # String to pass to linker to pick up the Tcl library from its
  112. # build directory.
  113. TCL_BUILD_LIB_SPEC='-L/mnt/hda1/root/sources/sources029/tcl8.5a4/unix -ltcl8.5'
  114.  
  115. # String to pass to linker to pick up the Tcl library from its
  116. # installed directory.
  117. TCL_LIB_SPEC='-L/usr/lib -ltcl8.5'
  118.  
  119. # String to pass to the compiler so that an extension can
  120. # find installed Tcl headers.
  121. TCL_INCLUDE_SPEC='-I/usr/include'
  122.  
  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='ok'
  128.  
  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='${VERSION}.so'
  135.  
  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='${VERSION}.a'
  141.  
  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='/mnt/hda1/root/sources/sources029/tcl8.5a4'
  149.  
  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='/usr/lib'
  154.  
  155. # Tcl supports stub.
  156. TCL_SUPPORTS_STUBS=1
  157.  
  158. # The name of the Tcl stub library (.a):
  159. TCL_STUB_LIB_FILE='libtclstub8.5.a'
  160.  
  161. # -l flag to pass to the linker to pick up the Tcl stub library
  162. TCL_STUB_LIB_FLAG='-ltclstub8.5'
  163.  
  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/mnt/hda1/root/sources/sources029/tcl8.5a4/unix -ltclstub8.5'
  167.  
  168. # String to pass to linker to pick up the Tcl stub library from its
  169. # installed directory.
  170. TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.5'
  171.  
  172. # Path to the Tcl stub library in the build directory.
  173. TCL_BUILD_STUB_LIB_PATH='/mnt/hda1/root/sources/sources029/tcl8.5a4/unix/libtclstub8.5.a'
  174.  
  175. # Path to the Tcl stub library in the install directory.
  176. TCL_STUB_LIB_PATH='/usr/lib/libtclstub8.5.a'
  177.  
  178. # Flag, 1: we built Tcl with threads enables, 0 we didn't
  179. TCL_THREADS=0
  180.