Check-in [c16db35fe7]
Overview
Comment:Updated to provide an empty input file to AC_LINK_IFELSE. It seems to need this.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c16db35fe724237edd9db9b825909b84b8c37c16
User & Date: rkeene on 2010-09-26 04:39:11
Other Links: manifest | tags
Context
2010-09-26
04:39
Updated to check for 'buildsrc' directory before untarring. If found it is used. (Untested)

Updated to download sources to a temporary file and only rename on success check-in: 023de4a116 user: rkeene tags: trunk

04:39
Updated to provide an empty input file to AC_LINK_IFELSE. It seems to need this. check-in: c16db35fe7 user: rkeene tags: trunk
04:39
Installed all packages that come with Tcl

Removed demos from Tk check-in: 31d4e5f3a4 user: rkeene tags: trunk

Changes

Modified kitsh/buildsrc/kitsh-0.0/aclocal.m4 from [abd6ccb011] to [6f2999f5b1].

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
	AC_MSG_CHECKING([for how to statically link to libstdc++])

	SAVELIBS="${LIBS}"
	staticlibcxx=""
	for trylink in "-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" "-Wl,-Bstatic -lCstd -lCrun -Wl,-Bdynamic" "-lstdc++" "-lCstd -lCrun"; do
		LIBS="${SAVELIBS} ${trylink}"

		AC_LINK_IFELSE(, [
			staticlibcxx="${trylink}"

			break
		])
	done
	LIBS="${SAVELIBS} ${staticlibcxx}"








|







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
	AC_MSG_CHECKING([for how to statically link to libstdc++])

	SAVELIBS="${LIBS}"
	staticlibcxx=""
	for trylink in "-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" "-Wl,-Bstatic -lCstd -lCrun -Wl,-Bdynamic" "-lstdc++" "-lCstd -lCrun"; do
		LIBS="${SAVELIBS} ${trylink}"

		AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [
			staticlibcxx="${trylink}"

			break
		])
	done
	LIBS="${SAVELIBS} ${staticlibcxx}"