Check-in [98477d9f88]
Overview
Comment:Updated pkgIndex file to deal with static builds
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tls-1-7
Files: files | file ages | folders
SHA1: 98477d9f88b5c70265690919d3301cc5b0bac461
User & Date: rkeene on 2016-11-24 04:50:42
Other Links: branch diff | manifest | tags
Context
2016-11-24
05:03
Start of work for checking for TLS libraries check-in: 3e598ec287 user: rkeene tags: tls-1-7
04:50
Updated pkgIndex file to deal with static builds check-in: 98477d9f88 user: rkeene tags: tls-1-7
04:47
Added rules to the "install" target check-in: d6cf1c2b2c user: rkeene tags: tls-1-7
Changes
23
24
25
26
27
28
29

30
31
32
23
24
25
26
27
28
29
30
31
32
33







+



	EXTENSION_TARGET="tcltls.${SHOBJEXT}"
else
	AC_CHECK_TOOL([AR], [ar], [false])
	AC_CHECK_TOOL([RANLIB], [ranlib], [:])
	EXTENSION_TARGET="tcltls.a"
fi
AC_SUBST(EXTENSION_TARGET)
AC_SUBST(TCLEXT_BUILD)

dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl)
1



2


3
4
5
6
7
8
1
2
3
4

5
6
7
8
9
10
11
12

+
+
+
-
+
+






package ifneeded tls @PACKAGE_VERSION@ [list apply {{dir} {
	if {{@TCLEXT_BUILD@} eq "static"} {
		load {} Tls
	} else {
	load [file join $dir tcltls.@SHOBJEXT@] Tls
		load [file join $dir tcltls.@SHOBJEXT@] Tls
	}

	set tlsTclInitScript [file join $dir tls.tcl]
	if {[file exists $tlsTclInitScript]} {
		source $tlsTclInitScript
	}
}} $dir]