summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 00:37:08 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 00:37:08 +0000
commitd389b7e3624b2d0d09b8fb159c302d3e311107bc (patch)
tree199fa5abe2deb0dd8df27559e0f06d2e98daad55 /config
parentdab03f9bcd49cf2535b4379290614c74e5f14fd3 (diff)
downloadgcc-d389b7e3624b2d0d09b8fb159c302d3e311107bc.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/gcc-lib-path.m415
2 files changed, 20 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 98856676b76..08b315d6edb 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/17369
+ * gcc-lib-path.m4: New file.
+
2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
* gettext-sister.m4: Renamed from gettext.m4
diff --git a/config/gcc-lib-path.m4 b/config/gcc-lib-path.m4
new file mode 100644
index 00000000000..88c4023d01b
--- /dev/null
+++ b/config/gcc-lib-path.m4
@@ -0,0 +1,15 @@
+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