* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-

option-contents test.
This commit is contained in:
Hans-Peter Nilsson 2006-03-29 03:40:25 +00:00
parent db336ea9c9
commit ea696909f3
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-03-29 Hans-Peter Nilsson <hp@axis.com>
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
option-contents test.
2005-11-28 Mark Mitchell <mark@codesourcery.com>
* sim-signal.c (sim_signal_to_target): Fix typos.

View File

@ -593,9 +593,8 @@ else
# remove duplicates
sim_hw=""
sim_hw_objs="\$(SIM_COMMON_HW_OBJS)"
for i in x $hardware ; do
case " $f " in
x) ;;
for i in $hardware ; do
case " $sim_hw " in
*" $i "*) ;;
*) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-$i.o";;
esac