H.J. Lu <hjl@gnu.org>

* configure.in (all_libpath): Accumulate across all enabled targets.
This commit is contained in:
Richard Henderson 1999-06-20 17:43:44 +00:00
parent 0bde07d41a
commit ba2be5816c
3 changed files with 18 additions and 6 deletions

View File

@ -1,3 +1,7 @@
1999-06-20 H.J. Lu <hjl@gnu.org>
* configure.in (all_libpath): Accumulate across all enabled targets.
Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com> Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com>
* emultempl/armelf.em: Watch EMULATION_LIBPATH instead of * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of

10
ld/configure vendored
View File

@ -4723,6 +4723,7 @@ all_targets=
EMUL= EMUL=
all_emuls= all_emuls=
all_emul_extras= all_emul_extras=
all_libpath=
rm -f tdirs rm -f tdirs
@ -4757,12 +4758,15 @@ do
esac esac
done done
all_libpath=$targ_emul for i in $targ_emul $targ_extra_libpath; do
for i in $targ_extra_libpath; do
case " $all_libpath " in case " $all_libpath " in
*" ${i} "*) ;; *" ${i} "*) ;;
*) *)
all_libpath="$all_libpath ${i}" if test -z "$all_libpath"; then
all_libpath=${i}
else
all_libpath="$all_libpath ${i}"
fi
;; ;;
esac esac
done done

View File

@ -74,6 +74,7 @@ all_targets=
EMUL= EMUL=
all_emuls= all_emuls=
all_emul_extras= all_emul_extras=
all_libpath=
dnl We need to get an arbitrary number of tdir definitions into 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 dnl Makefile. We can't do it using AC_SUBST, because autoconf does
@ -112,12 +113,15 @@ do
esac esac
done done
all_libpath=$targ_emul for i in $targ_emul $targ_extra_libpath; do
for i in $targ_extra_libpath; do
case " $all_libpath " in case " $all_libpath " in
*" ${i} "*) ;; *" ${i} "*) ;;
*) *)
all_libpath="$all_libpath ${i}" if test -z "$all_libpath"; then
all_libpath=${i}
else
all_libpath="$all_libpath ${i}"
fi
;; ;;
esac esac
done done