Differences From 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]
To Artifact [d269657dc4]:
- Executable file
mk4tcl/build.sh
— part of check-in
[44e0b4f94c]
at
2010-09-26 04:40:56
on branch trunk
— Added preliminary support for using a Tcl-based metakit reader (mk4tcl.tcl,
based off ReadKit) if Mk4tcl support not found
Updated mk4tcl to cleanup if build fails, to prevent false detection (user: rkeene, size: 2104) [annotate] [blame] [check-ins using]
66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
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
|
| | > > > > > |
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
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}" && \ ${MAKE:-make} tcllibdir="${INSTDIR}/lib" AR="${AR:-ar}" RANLIB="${RANLIB:-ranlib}" install || ( rm -rf "${INSTDIR}" mkdir "${INSTDIR}" exit 1 ) || exit 1 exit 0 ) || exit 1 exit 0 |