aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-09-24 00:40:22 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-09-24 00:40:22 +0000
commit9ab64c4a445cd63346582229aa80427c14b3a318 (patch)
treeb3f79e66e654aa8631e8f6ef7d10959fdadd8ef3 /config
parent940c2b1094b1de6651b61efbf7fd65bbc07a3b1c (diff)
downloadnewlib-9ab64c4a445cd63346582229aa80427c14b3a318.zip
newlib-9ab64c4a445cd63346582229aa80427c14b3a318.tar.gz
newlib-9ab64c4a445cd63346582229aa80427c14b3a318.tar.bz2
2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
* 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> * gcc-lib-path.m4: New file.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/gcc-lib-path.m415
2 files changed, 19 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 9885667..d4fff6b 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * 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 0000000..88c4023
--- /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