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.in | |
parent | 0bde07d41af5c67daa9291f64b6cf87909df245c (diff) | |
download | fsf-binutils-gdb-ba2be5816c514a743f8c6abd6fe346b915a8fb8f.zip fsf-binutils-gdb-ba2be5816c514a743f8c6abd6fe346b915a8fb8f.tar.gz fsf-binutils-gdb-ba2be5816c514a743f8c6abd6fe346b915a8fb8f.tar.bz2 |
H.J. Lu <hjl@gnu.org>
* configure.in (all_libpath): Accumulate across all enabled targets.
Diffstat (limited to 'ld/configure.in')
-rw-r--r-- | ld/configure.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ld/configure.in b/ld/configure.in index 9e8c964..ef87b9e 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -74,6 +74,7 @@ all_targets= EMUL= all_emuls= all_emul_extras= +all_libpath= dnl We need to get an arbitrary number of tdir definitions into dnl Makefile. We can't do it using AC_SUBST, because autoconf does @@ -112,12 +113,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 |