Differences From Artifact [2ffb8472f5]:
- Executable file
mk4tcl/build.sh
— part of check-in
[023de4a116]
at
2010-09-26 04:39:15
on branch trunk
— 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 (user: rkeene, size: 1662) [annotate] [blame] [check-ins using]
To Artifact [354ba5de6f]:
- Executable file
mk4tcl/build.sh
— part of check-in
[9bdee0a947]
at
2010-09-26 04:40:04
on branch trunk
— Added support for i586-mingw32msvc compilation
Added patch to allow use of AR/RANLIB environment variables (user: rkeene, size: 2038) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
54 55 56 57 58 59 60 61 62 63 | fi echo "Applying: ${patch}" ${PATCH:-patch} -p1 < "${patch}" done cd "${BUILDDIR}/unix" || exit 1 # Build static libraries for linking against Tclkit ./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA} | > > > > > > > > > | | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | fi echo "Applying: ${patch}" ${PATCH:-patch} -p1 < "${patch}" done cd "${BUILDDIR}/unix" || exit 1 # If we are building for Win32, we need to define "BUILD_tcl" so that # TCL_STORAGE_CLASS gets defined as DLLEXPORT, to make static linking # work BUILDTYPE="$(basename "${TCLCONFIGDIR}")" if [ "${BUILDTYPE}" = "win" ]; then CPPFLAGS="${CPPFLAGS} -DBUILD_tcl=1" export CPPFLAGS fi # Build static libraries for linking against Tclkit ./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA} ${MAKE:-make} tcllibdir="${INSTDIR}/lib" AR="${AR:-ar}" RANLIB="${RANLIB:-ranlib}" || exit 1 ${MAKE:-make} tcllibdir="${INSTDIR}/lib" AR="${AR:-ar}" RANLIB="${RANLIB:-ranlib}" install exit 0 ) || exit 1 exit 0 |