Check-in [91b460f024]
Overview
Comment:Fixed bug with zlib static linking
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 91b460f0248a2bbcf653148850c4ade29a0d4544
User & Date: rkeene on 2010-09-26 04:46:30
Other Links: manifest | tags
Context
2010-09-26
04:46
Cleaned up winMain

Updated main to return in failure if Tcl_Main() returns check-in: 5dc6b2220b user: rkeene tags: trunk

04:46
Fixed bug with zlib static linking check-in: 91b460f024 user: rkeene tags: trunk
04:46
Updated to support cross-compiling Tcl 8.5.9 check-in: cdb34a8a59 user: rkeene tags: trunk
Changes

Modified kitsh/buildsrc/kitsh-0.0/aclocal.m4 from [04ee15ac39] to [f592be87db].

89
90
91
92
93
94
95

96
97
98

99
100
101
102
103
104
105
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107







+



+







		NEWLIBS=""
		for lib in ${LIBS}; do
			if echo "${lib}" | grep '^-l' >/dev/null; then
				if echo " ${NEWLIBS} " | grep " ${lib} " >/dev/null; then
					continue
				fi
			fi

			NEWLIBS="${NEWLIBS} ${lib}"
		done
		LIBS="${NEWLIBS}"
		unset NEWLIBS
	fi

	AC_SUBST(CFLAGS)
	AC_SUBST(CPPFLAGS)
	AC_SUBST(LIBS)

	AC_MSG_RESULT([$tkconfigsh])
121
122
123
124
125
126
127
128

129
130
131
132
133
134
135
123
124
125
126
127
128
129

130
131
132
133
134
135
136
137







-
+







			found="1"

			break
		])
	done

	if test "${found}" = "1"; then
		SAVELIBS=`echo "$SAVELIBS" | sed 's@ $2 @@'`
		SAVELIBS=`echo "$SAVELIBS" | sed 's@ $2 @ @'`
		LIBS="${SAVELIBS} ${staticlib}"

		AC_MSG_RESULT([${staticlib}])

		AC_SUBST(LIBS)

		$3