* configure.ac: Rewrite targetobjs duplicate removal code to use

only shell constructs.
	* configure: Rebuild.
This commit is contained in:
Ian Lance Taylor
2010-02-06 20:14:01 +00:00
parent cf846138ae
commit 9109c078e3
3 changed files with 22 additions and 2 deletions

9
gold/configure vendored
View File

@@ -3411,7 +3411,14 @@ fi
done
# Remove any duplicates.
targetobjs=`echo $targetobjs | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
to=""
for t in $targetobjs; do
case " $to " in
*" $t "*) ;;
*) to="$to $t" ;;
esac
done
targetobjs=$to
if test -n "$targ_32_little"; then