Diff

Differences From Artifact [b2dce588fe]:

To Artifact [2e7fd89fb9]:


    15     15   	mode="clean"
    16     16   fi
    17     17   if [ "$1" = "distclean" ]; then
    18     18   	shift
    19     19   
    20     20   	mode="distclean"
    21     21   fi
           22  +
           23  +if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
           24  +	# List all additional packages here so that they get cleaned up
           25  +	ADDPKGS="${ADDPKGS} thread"
           26  +fi
    22     27   
    23     28   CONFIGUREEXTRA="$@"
    24     29   export CONFIGUREEXTRA
    25     30   
    26     31   # Add packages implied by the additional arguments
    27     32   if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads' >/dev/null 2>/dev/null; then
    28     33   	ADDPKGS="${ADDPKGS} thread"