diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-03-29 03:40:25 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-03-29 03:40:25 +0000 |
commit | ea696909f349632e1a3ce3294047166b86af2a4a (patch) | |
tree | 00dc2f513f20cce4f07e4c18f83a046e8b45c458 /sim/common/aclocal.m4 | |
parent | db336ea9c9514f61596e10f8625a959e536ea056 (diff) | |
download | gdb-ea696909f349632e1a3ce3294047166b86af2a4a.zip gdb-ea696909f349632e1a3ce3294047166b86af2a4a.tar.gz gdb-ea696909f349632e1a3ce3294047166b86af2a4a.tar.bz2 |
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
option-contents test.
Diffstat (limited to 'sim/common/aclocal.m4')
-rw-r--r-- | sim/common/aclocal.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4 index 056beba..d94b1e6 100644 --- a/sim/common/aclocal.m4 +++ b/sim/common/aclocal.m4 @@ -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 |