summaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2003-07-04 19:45:55 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2003-07-04 12:45:55 -0700
commit8c90b13a229399354769a5cee7a7872d21de23bb (patch)
tree7a55ee9c7a472ff31005d82e86c69df98dc72504 /config-ml.in
parent72d4a2ad78d24c8b81335ad3651c4c8a03f5f1de (diff)
downloadgcc-8c90b13a229399354769a5cee7a7872d21de23bb.tar.gz
Makefile.tpl: Replace PWD with PWD_COMMAND.
2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.tpl: Replace PWD with PWD_COMMAND. * Makefile.in: Regenerated. gcc/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * config-ml.in: Replace PWD with PWD_COMMAND. * Makefile.in: Likewise. gcc/ada/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. * Makefile.adalib: Likewise. * Makefile.in: Likewise. gcc/treelang/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. libf2c/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in: Replace PWD with PWD_COMMAND. libstdc++-v3/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Replace PWD with PWD_COMMAND. * Makefile.in: Regenerated. * docs/html/Makefile: Likewise. From-SVN: r68931
Diffstat (limited to 'config-ml.in')
-rw-r--r--config-ml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/config-ml.in b/config-ml.in
index b6b61edbeaf..1e474d3e4bc 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -500,7 +500,7 @@ multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ]
cat > Multi.tem <<\EOF
-PWD=$${PWDCMD-pwd}
+PWD_COMMAND=$${PWDCMD-pwd}
# FIXME: There should be an @-sign in front of the `if'.
# Leave out until this is tested a bit more.
@@ -508,8 +508,8 @@ multi-do:
if [ -z "$(MULTIDIRS)" ]; then \
true; \
else \
- rootpre=`${PWD}`/; export rootpre; \
- srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \
+ rootpre=`${PWD_COMMAND}`/; export rootpre; \
+ srcrootpre=`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \
lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
compiler="$(CC)"; \
for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \
@@ -550,7 +550,7 @@ multi-clean:
if [ -z "$(MULTIDIRS)" ]; then \
true; \
else \
- lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
+ lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
for dir in Makefile $(MULTIDIRS); do \
if [ -f ../$${dir}/$${lib}/Makefile ]; then \
if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \