Artifact
dea08c7bd12ea7a656cbe75f349699c6c0aaf359b22f8e1241e7860e4a132b65:
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 20 55 73 65 20 74 _SPEC@'..# Use t
0400: 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 77 69 74 he following wit
0410: 68 20 54 45 41 5f 41 44 44 5f 53 54 55 42 5f 53 h TEA_ADD_STUB_S
0420: 4f 55 52 43 45 53 0a 0a 23 0a 23 20 54 68 65 20 OURCES..#.# The
0430: 6e 61 6d 65 20 6f 66 20 74 68 65 20 54 63 6c 54 name of the TclT
0440: 4c 53 20 73 74 75 62 20 6c 69 62 72 61 72 79 20 LS stub library
0450: 28 61 20 2e 61 20 66 69 6c 65 29 3a 0a 23 0a 23 (a .a file):.#.#
0460: 74 6c 73 5f 53 54 55 42 5f 4c 49 42 5f 46 49 4c tls_STUB_LIB_FIL
0470: 45 3d 40 50 4b 47 5f 53 54 55 42 5f 4c 49 42 5f E=@PKG_STUB_LIB_
0480: 46 49 4c 45 40 0a 0a 23 0a 23 20 53 74 72 69 6e FILE@..#.# Strin
0490: 67 20 74 6f 20 70 61 73 73 20 74 6f 20 6c 69 6e g to pass to lin
04a0: 6b 65 72 20 74 6f 20 70 69 63 6b 20 75 70 20 74 ker to pick up t
04b0: 68 65 20 54 63 6c 54 4c 53 20 73 74 75 62 20 6c he TclTLS stub l
04c0: 69 62 72 61 72 79 20 66 72 6f 6d 20 69 74 73 0a ibrary from its.
04d0: 23 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 # build director
04e0: 79 2e 0a 23 0a 23 74 6c 73 5f 42 55 49 4c 44 5f y..#.#tls_BUILD_
04f0: 53 54 55 42 5f 4c 49 42 5f 53 50 45 43 3d 27 40 STUB_LIB_SPEC='@
0500: 74 6c 73 5f 42 55 49 4c 44 5f 53 54 55 42 5f 4c tls_BUILD_STUB_L
0510: 49 42 5f 53 50 45 43 40 27 0a 0a 23 0a 23 20 53 IB_SPEC@'..#.# S
0520: 74 72 69 6e 67 20 74 6f 20 70 61 73 73 20 74 6f tring to pass to
0530: 20 6c 69 6e 6b 65 72 20 74 6f 20 70 69 63 6b 20 linker to pick
0540: 75 70 20 74 68 65 20 54 63 6c 54 4c 53 20 73 74 up the TclTLS st
0550: 75 62 20 6c 69 62 72 61 72 79 20 66 72 6f 6d 20 ub library from
0560: 69 74 73 0a 23 20 69 6e 73 74 61 6c 6c 65 64 20 its.# installed
0570: 64 69 72 65 63 74 6f 72 79 2e 0a 23 0a 23 74 6c directory..#.#tl
0580: 73 5f 53 54 55 42 5f 4c 49 42 5f 53 50 45 43 3d s_STUB_LIB_SPEC=
0590: 27 40 74 6c 73 5f 53 54 55 42 5f 4c 49 42 5f 53 '@tls_STUB_LIB_S
05a0: 50 45 43 40 27 0a 0a 23 0a 23 20 53 74 72 69 6e PEC@'..#.# Strin
05b0: 67 20 74 6f 20 70 61 73 73 20 74 6f 20 6c 69 6e g to pass to lin
05c0: 6b 65 72 20 74 6f 20 70 69 63 6b 20 75 70 20 74 ker to pick up t
05d0: 68 65 20 54 63 6c 54 4c 53 20 73 74 75 62 20 6c he TclTLS stub l
05e0: 69 62 72 61 72 79 20 66 72 6f 6d 20 69 74 73 0a ibrary from its.
05f0: 23 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 # build director
0600: 79 2e 0a 23 0a 23 74 6c 73 5f 42 55 49 4c 44 5f y..#.#tls_BUILD_
0610: 53 54 55 42 5f 4c 49 42 5f 50 41 54 48 3d 27 40 STUB_LIB_PATH='@
0620: 74 6c 73 5f 42 55 49 4c 44 5f 53 54 55 42 5f 4c tls_BUILD_STUB_L
0630: 49 42 5f 50 41 54 48 40 27 0a 0a 23 0a 23 20 53 IB_PATH@'..#.# S
0640: 74 72 69 6e 67 20 74 6f 20 70 61 73 73 20 74 6f tring to pass to
0650: 20 6c 69 6e 6b 65 72 20 74 6f 20 70 69 63 6b 20 linker to pick
0660: 75 70 20 74 68 65 20 54 63 6c 54 4c 53 20 73 74 up the TclTLS st
0670: 75 62 20 6c 69 62 72 61 72 79 20 66 72 6f 6d 20 ub library from
0680: 69 74 73 0a 23 20 69 6e 73 74 61 6c 6c 65 64 20 its.# installed
0690: 64 69 72 65 63 74 6f 72 79 2e 0a 23 0a 23 74 6c directory..#.#tl
06a0: 73 5f 53 54 55 42 5f 4c 49 42 5f 50 41 54 48 3d s_STUB_LIB_PATH=
06b0: 27 40 74 6c 73 5f 53 54 55 42 5f 4c 49 42 5f 50 '@tls_STUB_LIB_P
06c0: 41 54 48 40 27 0a 0a 0a 23 0a 23 20 4c 6f 63 61 ATH@'...#.# Loca
06d0: 74 69 6f 6e 20 6f 66 20 74 68 65 20 74 6f 70 2d tion of the top-
06e0: 6c 65 76 65 6c 20 73 6f 75 72 63 65 20 64 69 72 level source dir
06f0: 65 63 74 6f 72 69 65 73 20 66 72 6f 6d 20 77 68 ectories from wh
0700: 69 63 68 20 54 63 6c 54 4c 53 0a 23 20 77 61 73 ich TclTLS.# was
0710: 20 62 75 69 6c 74 2e 20 20 54 68 69 73 20 69 73 built. This is
0720: 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 74 the directory t
0730: 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 67 65 6e hat contains gen
0740: 65 72 69 63 2c 20 75 6e 69 78 2c 0a 23 20 77 69 eric, unix,.# wi
0750: 6e 20 65 74 63 2e 20 49 66 20 54 63 6c 54 4c 53 n etc. If TclTLS
0760: 20 77 61 73 20 63 6f 6d 70 69 6c 65 64 20 69 6e was compiled in
0770: 20 61 20 64 69 66 66 65 72 65 6e 74 20 70 6c 61 a different pla
0780: 63 65 20 74 68 61 6e 20 74 68 65 20 0a 23 20 64 ce than the .# d
0790: 69 72 65 63 74 6f 72 79 20 63 6f 6e 74 61 69 6e irectory contain
07a0: 69 6e 67 20 74 68 65 20 73 6f 75 72 63 65 20 66 ing the source f
07b0: 69 6c 65 73 2c 20 74 68 69 73 20 70 6f 69 6e 74 iles, this point
07c0: 73 20 74 6f 20 74 68 65 20 0a 23 20 6c 6f 63 61 s to the .# loca
07d0: 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 6f 75 72 tion of the sour
07e0: 63 65 73 2c 20 6e 6f 74 20 74 68 65 20 6c 6f 63 ces, not the loc
07f0: 61 74 69 6f 6e 20 77 68 65 72 65 20 54 63 6c 54 ation where TclT
0800: 4c 53 20 77 61 73 20 63 6f 6d 70 69 6c 65 64 2e LS was compiled.
0810: 0a 23 0a 74 6c 73 5f 53 52 43 5f 44 49 52 3d 27 .#.tls_SRC_DIR='
0820: 40 73 72 63 64 69 72 40 27 0a 0a 23 20 45 4f 46 @srcdir@'..# EOF
0830: 0a .