diff options
author | Richard Henderson <rth@redhat.com> | 1999-06-20 17:43:44 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-06-20 17:43:44 +0000 |
commit | ba2be5816c514a743f8c6abd6fe346b915a8fb8f (patch) | |
tree | 4b3d34d9fdf2d9dfe2b593306dfcb7f8001d063b /ld/configure | |
parent | 0bde07d41af5c67daa9291f64b6cf87909df245c (diff) | |
download | gdb-ba2be5816c514a743f8c6abd6fe346b915a8fb8f.zip gdb-ba2be5816c514a743f8c6abd6fe346b915a8fb8f.tar.gz gdb-ba2be5816c514a743f8c6abd6fe346b915a8fb8f.tar.bz2 |
H.J. Lu <hjl@gnu.org>
* configure.in (all_libpath): Accumulate across all enabled targets.
Diffstat (limited to 'ld/configure')
-rwxr-xr-x | ld/configure | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ld/configure b/ld/configure index 6f159df..3077236 100755 --- a/ld/configure +++ b/ld/configure @@ -4723,6 +4723,7 @@ all_targets= EMUL= all_emuls= all_emul_extras= +all_libpath= rm -f tdirs @@ -4757,12 +4758,15 @@ do esac done - all_libpath=$targ_emul - for i in $targ_extra_libpath; do + for i in $targ_emul $targ_extra_libpath; do case " $all_libpath " in *" ${i} "*) ;; *) - all_libpath="$all_libpath ${i}" + if test -z "$all_libpath"; then + all_libpath=${i} + else + all_libpath="$all_libpath ${i}" + fi ;; esac done |