Diff

Differences From Artifact [b2dce588fe]:

To Artifact [2e7fd89fb9]:


15
16
17
18
19
20
21





22
23
24
25
26
27
28
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33







+
+
+
+
+







	mode="clean"
fi
if [ "$1" = "distclean" ]; then
	shift

	mode="distclean"
fi

if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
	# List all additional packages here so that they get cleaned up
	ADDPKGS="${ADDPKGS} thread"
fi

CONFIGUREEXTRA="$@"
export CONFIGUREEXTRA

# Add packages implied by the additional arguments
if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads' >/dev/null 2>/dev/null; then
	ADDPKGS="${ADDPKGS} thread"