Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy. * configure.in: Make SET_LIB_PATH substitution more autoconfy. * Makefile.in: Regenerate. From-SVN: r57783
This commit is contained in:
parent
fe3d5b7ff1
commit
aba8a49486
|
@ -1,5 +1,9 @@
|
||||||
2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
|
2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
|
* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
|
||||||
|
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
|
||||||
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
|
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
|
||||||
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
|
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
|
||||||
* Makefile.in: Regenerate.
|
* Makefile.in: Regenerate.
|
||||||
|
|
|
@ -201,7 +201,7 @@ BUILD_CONFIGARGS = @build_configargs@
|
||||||
|
|
||||||
# This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
|
# This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
|
||||||
# was used.
|
# was used.
|
||||||
SET_LIB_PATH =
|
SET_LIB_PATH = @SET_LIB_PATH@
|
||||||
|
|
||||||
# This is the name of the environment variable used for the path to
|
# This is the name of the environment variable used for the path to
|
||||||
# the libraries. This may be changed by configure.in.
|
# the libraries. This may be changed by configure.in.
|
||||||
|
|
|
@ -204,7 +204,7 @@ BUILD_CONFIGARGS = @build_configargs@
|
||||||
|
|
||||||
# This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
|
# This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
|
||||||
# was used.
|
# was used.
|
||||||
SET_LIB_PATH =
|
SET_LIB_PATH = @SET_LIB_PATH@
|
||||||
|
|
||||||
# This is the name of the environment variable used for the path to
|
# This is the name of the environment variable used for the path to
|
||||||
# the libraries. This may be changed by configure.in.
|
# the libraries. This may be changed by configure.in.
|
||||||
|
|
10
configure.in
10
configure.in
|
@ -1321,11 +1321,13 @@ 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 test "${shared}" = "yes" ; then
|
if test "${shared}" = "yes" ; then
|
||||||
sed -e 's/^SET_LIB_PATH[ ]*=.*$/SET_LIB_PATH = $(REALLY_SET_LIB_PATH)/' \
|
SET_LIB_PATH="\$(REALLY_SET_LIB_PATH)"
|
||||||
Makefile > Makefile.tem
|
else
|
||||||
rm -f Makefile
|
SET_LIB_PATH=
|
||||||
mv -f Makefile.tem Makefile
|
|
||||||
fi
|
fi
|
||||||
|
sed -e "s/@SET_LIB_PATH@/${SET_LIB_PATH}/" Makefile > Makefile.tem
|
||||||
|
rm -f Makefile
|
||||||
|
mv -f Makefile.tem Makefile
|
||||||
|
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
|
|
Loading…
Reference in New Issue