Check-in [14f3e1be3d]
Overview
Comment:Updated Tcl sub-project to return in failure if it cannot be compiled
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:14f3e1be3dbf41389ab12cae17eaae919f4f3c90
User & Date: rkeene on 2010-09-26 04:45:40
Other Links: manifest | tags
Context
2010-09-26
04:45
Updated to better locate Tclkit under Linux (partially deals with <http://code.google.com/p/tclkit/issues/detail?id=1>) check-in: bcd030ea77 user: rkeene tags: trunk
04:45
Updated Tcl sub-project to return in failure if it cannot be compiled check-in: 14f3e1be3d user: rkeene tags: trunk
04:45
Updated to hide errors emitted from `find' check-in: cee8b007e2 user: rkeene tags: trunk
Changes

Modified tcl/build.sh from [9d05ff712f] to [d139769440].

    50     50   	if [ ! -d '../buildsrc' ]; then
    51     51   		gzip -dc "../${SRC}" | tar -xf -
    52     52   	else
    53     53   		cp -rp ../buildsrc/* './'
    54     54   	fi
    55     55   
    56     56   	cd "${BUILDDIR}" || exit 1
    57         -	for dir in unix win macosx; do
           57  +	for dir in unix win macosx __fail__; do
           58  +		if [ "${dir}" = "__fail__" ]; then
           59  +			# If we haven't figured out how to build it, reject.
           60  +
           61  +			exit 1
           62  +		fi
           63  +
    58     64   		# Remove previous directory's "tclConfig.sh" if found
    59     65   		rm -f 'tclConfig.sh'
    60     66   
    61     67   		cd "${BUILDDIR}/${dir}" || exit 1
    62     68   
    63     69   		./configure --disable-shared --with-encoding=utf-8 --prefix="${INSTDIR}" ${CONFIGUREEXTRA}
    64     70