Check-in [4de28fdabf]
Overview
Comment:Updated to not attempt to build kit.res.o unless we are actually on Windows
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4de28fdabf843d0dbb9785c3d3afa7765499f92f
User & Date: rkeene on 2012-10-06 21:29:58
Other Links: manifest | tags
Context
2012-10-08
19:12
Updated to not require running "./configure" for pre.sh check-in: 2ba5f90d1b user: rkeene tags: trunk
2012-10-06
21:29
Updated to not attempt to build kit.res.o unless we are actually on Windows check-in: 4de28fdabf user: rkeene tags: trunk
2012-09-09
19:44
Updated to remove TclOO from minimal builds check-in: 833e605ae0 user: rkeene tags: trunk
Changes

Modified kitsh/buildsrc/kitsh-0.0/configure.ac from [f213e421dc] to [68bb20ca2d].

71
72
73
74
75
76
77

78
79
80
81

82
83
84
85
86
87
88

dnl Check for Windows Resource Compiler
AC_CHECK_TOOL([RC], [windres], [false])

dnl If we found the resource compiler, add "kit.res.o" to our list of objects to build
dnl (as long as the source for such an object exists)
AS_IF([test "$RC" != "false"], [

	AS_IF([test -f kit.rc], [
		EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
	])
])


dnl Check for Tcl features
SAVE_LIBS="${LIBS}"
LIBS="${ARCHS} ${LIBS}"

dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x)
AC_CHECK_FUNCS(Tcl_SetStartupScript TclSetStartupScriptPath)







>




>







71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

dnl Check for Windows Resource Compiler
AC_CHECK_TOOL([RC], [windres], [false])

dnl If we found the resource compiler, add "kit.res.o" to our list of objects to build
dnl (as long as the source for such an object exists)
AS_IF([test "$RC" != "false"], [
	AS_IF([test "$host_os" = "mingw32msvc" -o "$host_os" = "mingw32"], [
		AS_IF([test -f kit.rc], [
			EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
		])
	])
])

dnl Check for Tcl features
SAVE_LIBS="${LIBS}"
LIBS="${ARCHS} ${LIBS}"

dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x)
AC_CHECK_FUNCS(Tcl_SetStartupScript TclSetStartupScriptPath)