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
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
for dir in unix win macosx; do
for dir in unix win macosx __fail__; do
if [ "${dir}" = "__fail__" ]; then
# If we haven't figured out how to build it, reject.
exit 1
fi
# Remove previous directory's "tclConfig.sh" if found
rm -f 'tclConfig.sh'
cd "${BUILDDIR}/${dir}" || exit 1
./configure --disable-shared --with-encoding=utf-8 --prefix="${INSTDIR}" ${CONFIGUREEXTRA}