2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy. * Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy. * configure.in: Make SET_LIB_PATH substitution more autoconfy. * configure.in: Make RPATH_ENVVAR substitution more autoconfy. * Makefile.in: Regenerate.
This commit is contained in:
parent
3073f3f29d
commit
8c8150d4c9
@ -1,3 +1,11 @@
|
|||||||
|
2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
|
* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
|
||||||
|
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
|
||||||
|
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
|
||||||
|
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
|
||||||
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
|
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
|
* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
|
||||||
|
@ -201,11 +201,11 @@ 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.
|
||||||
RPATH_ENVVAR = LD_LIBRARY_PATH
|
RPATH_ENVVAR = @RPATH_ENVVAR@
|
||||||
|
|
||||||
# This is the list of directories that may be needed in RPATH_ENVVAR
|
# This is the list of directories that may be needed in RPATH_ENVVAR
|
||||||
# so that programs built for the host machine work.
|
# so that programs built for the host machine work.
|
||||||
|
@ -204,11 +204,11 @@ 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.
|
||||||
RPATH_ENVVAR = LD_LIBRARY_PATH
|
RPATH_ENVVAR = @RPATH_ENVVAR@
|
||||||
|
|
||||||
# This is the list of directories that may be needed in RPATH_ENVVAR
|
# This is the list of directories that may be needed in RPATH_ENVVAR
|
||||||
# so that programs built for the host machine work.
|
# so that programs built for the host machine work.
|
||||||
|
19
configure.in
19
configure.in
@ -1321,20 +1321,23 @@ 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
|
||||||
|
SET_LIB_PATH=
|
||||||
|
fi
|
||||||
|
sed -e "s/@SET_LIB_PATH@/${SET_LIB_PATH}/" Makefile > Makefile.tem
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
mv -f Makefile.tem Makefile
|
mv -f Makefile.tem Makefile
|
||||||
|
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-hpux*)
|
*-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
|
||||||
sed -e 's/^RPATH_ENVVAR[ ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \
|
*) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
|
||||||
Makefile > Makefile.tem
|
esac
|
||||||
|
sed -e "s/@RPATH_ENVVAR@/${RPATH_ENVVAR}/" Makefile > Makefile.tem
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
mv -f Makefile.tem Makefile
|
mv -f Makefile.tem Makefile
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Base args. Strip norecursion, cache-file, srcdir, host, build, target.
|
# Base args. Strip norecursion, cache-file, srcdir, host, build, target.
|
||||||
# These are the ones we might not want to pass down to subconfigures.
|
# These are the ones we might not want to pass down to subconfigures.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user