Diff

Differences From Artifact [2e7fd89fb9]:

To Artifact [fd4b02e79e]:


     3      3   TCLVERS="8.4.19"
     4      4   if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | grep '^cvs_' >/dev/null; then
     5      5   	TCLVERS="$1"
     6      6   
     7      7   	shift
     8      8   fi
     9      9   export TCLVERS
           10  +
           11  +# Add packages implied by the additional arguments
           12  +if [ -z "${KITCREATOR_PKGS}" ]; then
           13  +	KITCREATOR_PKGS="tk itcl mk4tcl"
           14  +fi
    10     15   
    11     16   mode="build"
    12     17   if [ "$1" = "clean" ]; then
    13     18   	shift
    14     19   
    15     20   	mode="clean"
    16     21   fi
................................................................................
    18     23   	shift
    19     24   
    20     25   	mode="distclean"
    21     26   fi
    22     27   
    23     28   if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
    24     29   	# List all additional packages here so that they get cleaned up
    25         -	ADDPKGS="${ADDPKGS} thread"
           30  +	KITCREATOR_PKGS="${KITCREATOR_PKGS} thread"
    26     31   fi
    27     32   
    28     33   CONFIGUREEXTRA="$@"
    29     34   export CONFIGUREEXTRA
    30     35   
    31         -# Add packages implied by the additional arguments
    32     36   if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads' >/dev/null 2>/dev/null; then
    33         -	ADDPKGS="${ADDPKGS} thread"
           37  +	KITCREATOR_PKGS="${KITCREATOR_PKGS} thread"
    34     38   fi
    35     39   
    36     40   failedpkgs=""
    37     41   buildfailed="0"
    38         -for pkg in tcl tk itcl mk4tcl tclvfs zlib ${ADDPKGS} kitsh; do
           42  +for pkg in tcl tclvfs zlib ${KITCREATOR_PKGS} kitsh; do
    39     43   	if [ "${mode}" = "distclean" ]; then
    40     44   		rm -rf "${pkg}/src"
    41     45   	fi
    42     46   
    43     47   	if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
    44     48   		rm -f "${pkg}/build.log"
    45     49   		rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"