Hex Artifact Content

Artifact 838a666715c3529f55697abce87b771d0d95ee33070b4c2f8ee4fd6ada1f819b:


0000: 23 20 74 6c 73 43 6f 6e 66 69 67 2e 73 68 20 2d  # tlsConfig.sh -
0010: 2d 0a 23 0a 23 20 54 68 69 73 20 73 68 65 6c 6c  -.#.# This shell
0020: 20 73 63 72 69 70 74 20 28 66 6f 72 20 73 68 29   script (for sh)
0030: 20 69 73 20 67 65 6e 65 72 61 74 65 64 20 61 75   is generated au
0040: 74 6f 6d 61 74 69 63 61 6c 6c 79 20 62 79 20 54  tomatically by T
0050: 63 6c 54 4c 53 27 73 0a 23 20 63 6f 6e 66 69 67  clTLS's.# config
0060: 75 72 65 20 73 63 72 69 70 74 2e 20 20 49 74 20  ure script.  It 
0070: 77 69 6c 6c 20 63 72 65 61 74 65 20 73 68 65 6c  will create shel
0080: 6c 20 76 61 72 69 61 62 6c 65 73 20 66 6f 72 20  l variables for 
0090: 73 6f 6d 65 20 6f 66 20 74 68 65 0a 23 20 63 6f  some of the.# co
00a0: 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 70 74 69  nfiguration opti
00b0: 6f 6e 73 20 64 69 73 63 6f 76 65 72 65 64 20 62  ons discovered b
00c0: 79 20 74 68 65 20 63 6f 6e 66 69 67 75 72 65 20  y the configure 
00d0: 73 63 72 69 70 74 2e 20 54 68 69 73 0a 23 20 73  script. This.# s
00e0: 63 72 69 70 74 20 69 73 20 69 6e 74 65 6e 64 65  cript is intende
00f0: 64 20 74 6f 20 62 65 20 69 6e 63 6c 75 64 65 64  d to be included
0100: 20 62 79 20 74 68 65 20 63 6f 6e 66 69 67 75 72   by the configur
0110: 65 20 73 63 72 69 70 74 73 20 66 6f 72 0a 23 20  e scripts for.# 
0120: 54 63 6c 54 4c 53 20 65 78 74 65 6e 73 69 6f 6e  TclTLS extension
0130: 73 20 73 6f 20 74 68 61 74 20 74 68 65 79 20 64  s so that they d
0140: 6f 6e 27 74 20 68 61 76 65 20 74 6f 20 66 69 67  on't have to fig
0150: 75 72 65 20 74 68 69 73 20 61 6c 6c 0a 23 20 6f  ure this all.# o
0160: 75 74 20 66 6f 72 20 74 68 65 6d 73 65 6c 76 65  ut for themselve
0170: 73 2e 20 20 54 68 69 73 20 66 69 6c 65 20 64 6f  s.  This file do
0180: 65 73 20 6e 6f 74 20 64 75 70 6c 69 63 61 74 65  es not duplicate
0190: 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 23 20 61   information.# a
01a0: 6c 72 65 61 64 79 20 70 72 6f 76 69 64 65 64 20  lready provided 
01b0: 62 79 20 74 63 6c 43 6f 6e 66 69 67 2e 73 68 20  by tclConfig.sh 
01c0: 61 6e 64 20 74 6b 43 6f 6e 66 69 67 2e 73 68 2c  and tkConfig.sh,
01d0: 20 73 6f 20 79 6f 75 20 6d 61 79 20 6e 65 65 64   so you may need
01e0: 0a 23 20 74 6f 20 75 73 65 20 74 68 65 6d 20 69  .# to use them i
01f0: 6e 20 61 64 64 69 74 69 6f 6e 20 74 6f 20 74 68  n addition to th
0200: 69 73 20 6f 6e 65 2e 0a 23 0a 23 20 54 68 65 20  is one..#.# The 
0210: 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 6e 20 74  information in t
0220: 68 69 73 20 66 69 6c 65 20 69 73 20 73 70 65 63  his file is spec
0230: 69 66 69 63 20 74 6f 20 61 20 73 69 6e 67 6c 65  ific to a single
0240: 20 70 6c 61 74 66 6f 72 6d 2e 0a 23 0a 0a 23 0a   platform..#..#.
0250: 23 20 54 63 6c 54 4c 53 20 76 65 72 73 69 6f 6e  # TclTLS version
0260: 20 6e 75 6d 62 65 72 2e 0a 23 0a 74 6c 73 5f 56   number..#.tls_V
0270: 45 52 53 49 4f 4e 3d 27 40 50 41 43 4b 41 47 45  ERSION='@PACKAGE
0280: 5f 56 45 52 53 49 4f 4e 40 27 0a 0a 23 20 54 68  _VERSION@'..# Th
0290: 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 54 63  e name of the Tc
02a0: 6c 54 4c 53 20 6c 69 62 72 61 72 79 20 28 6d 61  lTLS library (ma
02b0: 79 20 62 65 20 65 69 74 68 65 72 20 61 20 2e 61  y be either a .a
02c0: 20 66 69 6c 65 20 6f 72 20 61 20 73 68 61 72 65   file or a share
02d0: 64 20 6c 69 62 72 61 72 79 29 3a 0a 74 6c 73 5f  d library):.tls_
02e0: 4c 49 42 5f 46 49 4c 45 3d 40 50 4b 47 5f 4c 49  LIB_FILE=@PKG_LI
02f0: 42 5f 46 49 4c 45 40 0a 0a 23 0a 23 20 53 74 72  B_FILE@..#.# Str
0300: 69 6e 67 20 74 6f 20 70 61 73 73 20 74 6f 20 6c  ing to pass to l
0310: 69 6e 6b 65 72 20 74 6f 20 70 69 63 6b 20 75 70  inker to pick up
0320: 20 74 68 65 20 54 63 6c 54 4c 53 20 6c 69 62 72   the TclTLS libr
0330: 61 72 79 20 66 72 6f 6d 20 69 74 73 0a 23 20 62  ary from its.# b
0340: 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 2e 0a  uild directory..
0350: 23 0a 74 6c 73 5f 42 55 49 4c 44 5f 4c 49 42 5f  #.tls_BUILD_LIB_
0360: 53 50 45 43 3d 27 40 74 6c 73 5f 42 55 49 4c 44  SPEC='@tls_BUILD
0370: 5f 4c 49 42 5f 53 50 45 43 40 27 0a 0a 23 0a 23  _LIB_SPEC@'..#.#
0380: 20 53 74 72 69 6e 67 20 74 6f 20 70 61 73 73 20   String to pass 
0390: 74 6f 20 6c 69 6e 6b 65 72 20 74 6f 20 70 69 63  to linker to pic
03a0: 6b 20 75 70 20 74 68 65 20 54 63 6c 54 4c 53 20  k up the TclTLS 
03b0: 6c 69 62 72 61 72 79 20 66 72 6f 6d 20 69 74 73  library from its
03c0: 0a 23 20 69 6e 73 74 61 6c 6c 65 64 20 64 69 72  .# installed dir
03d0: 65 63 74 6f 72 79 2e 0a 23 0a 74 6c 73 5f 4c 49  ectory..#.tls_LI
03e0: 42 5f 53 50 45 43 3d 27 40 74 6c 73 5f 4c 49 42  B_SPEC='@tls_LIB
03f0: 5f 53 50 45 43 40 27 0a 0a 23 0a 23 20 54 68 65  _SPEC@'..#.# The
0400: 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 54 63 6c   name of the Tcl
0410: 54 4c 53 20 73 74 75 62 20 6c 69 62 72 61 72 79  TLS stub library
0420: 20 28 61 20 2e 61 20 66 69 6c 65 29 3a 0a 23 0a   (a .a file):.#.
0430: 74 6c 73 5f 53 54 55 42 5f 4c 49 42 5f 46 49 4c  tls_STUB_LIB_FIL
0440: 45 3d 40 50 4b 47 5f 53 54 55 42 5f 4c 49 42 5f  E=@PKG_STUB_LIB_
0450: 46 49 4c 45 40 0a 0a 23 0a 23 20 53 74 72 69 6e  FILE@..#.# Strin
0460: 67 20 74 6f 20 70 61 73 73 20 74 6f 20 6c 69 6e  g to pass to lin
0470: 6b 65 72 20 74 6f 20 70 69 63 6b 20 75 70 20 74  ker to pick up t
0480: 68 65 20 54 63 6c 54 4c 53 20 73 74 75 62 20 6c  he TclTLS stub l
0490: 69 62 72 61 72 79 20 66 72 6f 6d 20 69 74 73 0a  ibrary from its.
04a0: 23 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72  # build director
04b0: 79 2e 0a 23 0a 74 6c 73 5f 42 55 49 4c 44 5f 53  y..#.tls_BUILD_S
04c0: 54 55 42 5f 4c 49 42 5f 53 50 45 43 3d 27 40 74  TUB_LIB_SPEC='@t
04d0: 6c 73 5f 42 55 49 4c 44 5f 53 54 55 42 5f 4c 49  ls_BUILD_STUB_LI
04e0: 42 5f 53 50 45 43 40 27 0a 0a 23 0a 23 20 53 74  B_SPEC@'..#.# St
04f0: 72 69 6e 67 20 74 6f 20 70 61 73 73 20 74 6f 20  ring to pass to 
0500: 6c 69 6e 6b 65 72 20 74 6f 20 70 69 63 6b 20 75  linker to pick u
0510: 70 20 74 68 65 20 54 63 6c 54 4c 53 20 73 74 75  p the TclTLS stu
0520: 62 20 6c 69 62 72 61 72 79 20 66 72 6f 6d 20 69  b library from i
0530: 74 73 0a 23 20 69 6e 73 74 61 6c 6c 65 64 20 64  ts.# installed d
0540: 69 72 65 63 74 6f 72 79 2e 0a 23 0a 74 6c 73 5f  irectory..#.tls_
0550: 53 54 55 42 5f 4c 49 42 5f 53 50 45 43 3d 27 40  STUB_LIB_SPEC='@
0560: 74 6c 73 5f 53 54 55 42 5f 4c 49 42 5f 53 50 45  tls_STUB_LIB_SPE
0570: 43 40 27 0a 0a 23 0a 23 20 53 74 72 69 6e 67 20  C@'..#.# String 
0580: 74 6f 20 70 61 73 73 20 74 6f 20 6c 69 6e 6b 65  to pass to linke
0590: 72 20 74 6f 20 70 69 63 6b 20 75 70 20 74 68 65  r to pick up the
05a0: 20 54 63 6c 54 4c 53 20 73 74 75 62 20 6c 69 62   TclTLS stub lib
05b0: 72 61 72 79 20 66 72 6f 6d 20 69 74 73 0a 23 20  rary from its.# 
05c0: 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 2e  build directory.
05d0: 0a 23 0a 74 6c 73 5f 42 55 49 4c 44 5f 53 54 55  .#.tls_BUILD_STU
05e0: 42 5f 4c 49 42 5f 50 41 54 48 3d 27 40 74 6c 73  B_LIB_PATH='@tls
05f0: 5f 42 55 49 4c 44 5f 53 54 55 42 5f 4c 49 42 5f  _BUILD_STUB_LIB_
0600: 50 41 54 48 40 27 0a 0a 23 0a 23 20 53 74 72 69  PATH@'..#.# Stri
0610: 6e 67 20 74 6f 20 70 61 73 73 20 74 6f 20 6c 69  ng to pass to li
0620: 6e 6b 65 72 20 74 6f 20 70 69 63 6b 20 75 70 20  nker to pick up 
0630: 74 68 65 20 54 63 6c 54 4c 53 20 73 74 75 62 20  the TclTLS stub 
0640: 6c 69 62 72 61 72 79 20 66 72 6f 6d 20 69 74 73  library from its
0650: 0a 23 20 69 6e 73 74 61 6c 6c 65 64 20 64 69 72  .# installed dir
0660: 65 63 74 6f 72 79 2e 0a 23 0a 74 6c 73 5f 53 54  ectory..#.tls_ST
0670: 55 42 5f 4c 49 42 5f 50 41 54 48 3d 27 40 74 6c  UB_LIB_PATH='@tl
0680: 73 5f 53 54 55 42 5f 4c 49 42 5f 50 41 54 48 40  s_STUB_LIB_PATH@
0690: 27 0a 0a 23 0a 23 20 4c 6f 63 61 74 69 6f 6e 20  '..#.# Location 
06a0: 6f 66 20 74 68 65 20 74 6f 70 2d 6c 65 76 65 6c  of the top-level
06b0: 20 73 6f 75 72 63 65 20 64 69 72 65 63 74 6f 72   source director
06c0: 69 65 73 20 66 72 6f 6d 20 77 68 69 63 68 20 54  ies from which T
06d0: 63 6c 54 4c 53 0a 23 20 77 61 73 20 62 75 69 6c  clTLS.# was buil
06e0: 74 2e 20 20 54 68 69 73 20 69 73 20 74 68 65 20  t.  This is the 
06f0: 64 69 72 65 63 74 6f 72 79 20 74 68 61 74 20 63  directory that c
0700: 6f 6e 74 61 69 6e 73 20 67 65 6e 65 72 69 63 2c  ontains generic,
0710: 20 75 6e 69 78 2c 0a 23 20 77 69 6e 20 65 74 63   unix,.# win etc
0720: 2e 20 49 66 20 54 63 6c 54 4c 53 20 77 61 73 20  . If TclTLS was 
0730: 63 6f 6d 70 69 6c 65 64 20 69 6e 20 61 20 64 69  compiled in a di
0740: 66 66 65 72 65 6e 74 20 70 6c 61 63 65 20 74 68  fferent place th
0750: 61 6e 20 74 68 65 20 0a 23 20 64 69 72 65 63 74  an the .# direct
0760: 6f 72 79 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74  ory containing t
0770: 68 65 20 73 6f 75 72 63 65 20 66 69 6c 65 73 2c  he source files,
0780: 20 74 68 69 73 20 70 6f 69 6e 74 73 20 74 6f 20   this points to 
0790: 74 68 65 20 0a 23 20 6c 6f 63 61 74 69 6f 6e 20  the .# location 
07a0: 6f 66 20 74 68 65 20 73 6f 75 72 63 65 73 2c 20  of the sources, 
07b0: 6e 6f 74 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e  not the location
07c0: 20 77 68 65 72 65 20 54 63 6c 54 4c 53 20 77 61   where TclTLS wa
07d0: 73 20 63 6f 6d 70 69 6c 65 64 2e 0a 23 0a 74 6c  s compiled..#.tl
07e0: 73 5f 53 52 43 5f 44 49 52 3d 27 40 73 72 63 64  s_SRC_DIR='@srcd
07f0: 69 72 40 27 0a 0a 23 20 45 4f 46 0a              ir@'..# EOF.