Diff

Differences From Artifact [00afc10ef6]:

To Artifact [d8510101cc]:


    63     63   if [ -z "${KITCREATOR_PKGS}" ]; then
    64     64   	KITCREATOR_PKGS="tk itcl mk4tcl"
    65     65   fi
    66     66   
    67     67   CONFIGUREEXTRA="$@"
    68     68   export CONFIGUREEXTRA
    69     69   
    70         -if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads' >/dev/null 2>/dev/null; then
    71         -	KITCREATOR_ADD_ENABLE_THREADS='0'
           70  +if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads ' >/dev/null 2>/dev/null; then
           71  +	KITCREATOR_ADD_ENABLE_THREADS='1'
    72     72   	KITCREATOR_PKGS="${KITCREATOR_PKGS} thread"
    73         -elif echo " ${CONFIGUREEXTRA} " | grep ' --disable-threads' >/dev/null 2>/dev/null; then
           73  +elif echo " ${CONFIGUREEXTRA} " | grep ' --disable-threads ' >/dev/null 2>/dev/null; then
    74     74   	KITCREATOR_ADD_ENABLE_THREADS='0'
    75     75   fi
    76     76   
    77     77   # Determine cross-compile status
    78     78   host_os="$(echo " ${CONFIGUREEXTRA} " | sed 's@^.* --host=\([^ ]*\) .*$@\1@
    79     79   t x
    80     80   d