gcc/config/gcc-lib-path.m4
H.J. Lu 4c4a5bbc40 re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1)
2004-09-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/17369
	* Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@.
	(HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export
	SET_GCC_LIB_PATH_CMD.
	(BASE_TARGET_EXPORTS): Likewise.
	* Makefile.in: Regenerated.

	* configure.in (SET_GCC_LIB_PATH): Set and substitute.
	* configure: Regenerated.

config/

2004-09-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/17369
	* gcc-lib-path.m4: New file.

gcc/

2004-09-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/17369
	* Makefile.in (@set_gcc_lib_path@): Added.

	* configure.ac: Include ../config/gcc-lib-path.m4. Use
	TL_AC_GNU_MAKE_GCC_LIB_PATH.
	* configure: Regenerated.

From-SVN: r87999
2004-09-23 17:37:08 -07:00

16 lines
438 B
Plaintext

AC_DEFUN([TL_AC_GNU_MAKE_GCC_LIB_PATH],
[
if test x"$SET_GCC_LIB_PATH_CMD" != x; then
# SET_GCC_LIB_PATH_CMD is "XXX=path; export XXX;". It is expanded to
#
# eval "set_gcc_lib_path=XXX=path; export XXX;"
#
eval "set_gcc_lib_path=$SET_GCC_LIB_PATH_CMD"
# It will set set_gcc_lib_path to "export XXX=path" for GNU make.
set_gcc_lib_path="export $set_gcc_lib_path"
else
set_gcc_lib_path=
fi
AC_SUBST(set_gcc_lib_path)
])dnl