+
+ # Only propagate duplicate -libraries to their latest
+ # possible position. Do not eliminate any other
+ # duplicates that might occur. They should be fixed
+ # in configure long before they get here.
+ # This started as a workaround for Mac -framework,
+ # but it seems like a better policy in general, which
+ # will let the more heinous bugs in configure shake out.
+ # We should maybe filter *.a here too, but not unless
+ # we have to.
+ if echo "$f" | grep ^-l > /dev/null 2>&1 ; then
+ _all_libs="$(remove_field $f $_all_libs) $f"
+ else
+ _all_libs="$_all_libs $f"
+ fi
+