mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* configure.in: Permit --enable-shared to specify a list of
directories.
This commit is contained in:
parent
b4cb4ea2ac
commit
d4be776500
@ -1,3 +1,8 @@
|
|||||||
|
Mon Apr 8 14:45:41 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* configure.in: Permit --enable-shared to specify a list of
|
||||||
|
directories.
|
||||||
|
|
||||||
Fri Apr 5 08:17:57 1996 Jason Molenda (crash@phydeaux.cygnus.com)
|
Fri Apr 5 08:17:57 1996 Jason Molenda (crash@phydeaux.cygnus.com)
|
||||||
|
|
||||||
* configure.in (host==solaris): Pass only the first word of $CC
|
* configure.in (host==solaris): Pass only the first word of $CC
|
||||||
|
12
configure.in
12
configure.in
@ -161,7 +161,13 @@ if false && [ "${host}" = "${target}" ] && [ x${enable_shared} = x ]; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x${enable_shared} = xyes ]; then
|
case "${enable_shared}" in
|
||||||
|
yes) shared=yes ;;
|
||||||
|
no) shared=no ;;
|
||||||
|
*) shared=yes ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ x${shared} = xyes ]; then
|
||||||
waugh=
|
waugh=
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
hppa*) waugh=config/mh-papic ;;
|
hppa*) waugh=config/mh-papic ;;
|
||||||
@ -664,7 +670,7 @@ if [ x${use_gnu_ld} = x ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x${enable_shared} = xyes ]; then
|
if [ x${shared} = xyes ]; then
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
hppa*) target_makefile_frag=config/mt-papic ;;
|
hppa*) target_makefile_frag=config/mt-papic ;;
|
||||||
i[345]86-*) target_makefile_frag=config/mt-x86pic ;;
|
i[345]86-*) target_makefile_frag=config/mt-x86pic ;;
|
||||||
@ -720,7 +726,7 @@ esac
|
|||||||
|
|
||||||
# If --enable-shared was set, we must set LD_LIBRARY_PATH so that the
|
# If --enable-shared was set, we must set LD_LIBRARY_PATH so that the
|
||||||
# binutils tools will find libbfd.so.
|
# binutils tools will find libbfd.so.
|
||||||
if [ "${enable_shared}" = "yes" ]; then
|
if [ "${shared}" = "yes" ]; then
|
||||||
sed -e 's/^SET_LIB_PATH[ ]*=.*$/SET_LIB_PATH = $(REALLY_SET_LIB_PATH)/' \
|
sed -e 's/^SET_LIB_PATH[ ]*=.*$/SET_LIB_PATH = $(REALLY_SET_LIB_PATH)/' \
|
||||||
Makefile > Makefile.tem
|
Makefile > Makefile.tem
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user