aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-06-18 15:25:45 +0000
committerRichard Henderson <rth@redhat.com>1999-06-18 15:25:45 +0000
commit3336653ad1da47adcdcadf5ac5062dac9ac1b243 (patch)
tree55306c388ca37dbed41e6275dba4065353829b2b /ld/configure.in
parent49863f82f0726f95d341c35001794e12659d39f7 (diff)
downloadfsf-binutils-gdb-3336653ad1da47adcdcadf5ac5062dac9ac1b243.zip
fsf-binutils-gdb-3336653ad1da47adcdcadf5ac5062dac9ac1b243.tar.gz
fsf-binutils-gdb-3336653ad1da47adcdcadf5ac5062dac9ac1b243.tar.bz2
* Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL.
* configure.in (all_emuls): Add targ_extra_libpath. (all_libpath, EMULATION_LIBPATH): Define. * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath. * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH.
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/ld/configure.in b/ld/configure.in
index 7f3c1da..9e8c964 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -100,7 +100,7 @@ do
EMUL=$targ_emul
fi
- for i in $targ_emul $targ_extra_emuls; do
+ for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
case " $all_emuls " in
*" e${i}.o "*) ;;
*)
@@ -112,6 +112,16 @@ do
esac
done
+ all_libpath=$targ_emul
+ for i in $targ_extra_libpath; do
+ case " $all_libpath " in
+ *" ${i} "*) ;;
+ *)
+ all_libpath="$all_libpath ${i}"
+ ;;
+ esac
+ done
+
for i in $targ_extra_ofiles; do
case " $all_emul_extras " in
*" ${i} "*) ;;
@@ -145,6 +155,9 @@ fi
AC_SUBST(EMULATION_OFILES)
AC_SUBST(EMUL_EXTRA_OFILES)
+EMULATION_LIBPATH=$all_libpath
+AC_SUBST(EMULATION_LIBPATH)
+
if test x${enable_static} = xno; then
TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
else