summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-09 18:55:41 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-09 18:55:41 +0000
commit0d2271dea977c048c8305db31127aad819956eca (patch)
tree8e7fc91274bb85e765a7cf43f7aa685f1e1d29eb /Makefile.in
parenta82cbe72a584b2fa15074cc8fe2e376c5ae53349 (diff)
downloadgcc-0d2271dea977c048c8305db31127aad819956eca.tar.gz
* Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
failures of subdirectories. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38837 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 2fbb3fb625a..24182f9bf5f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1287,7 +1287,7 @@ $(CONFIGURE_TARGET_MODULES):
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
echo Configuring in $(TARGET_SUBDIR)/$${dir}; \
- cd $(TARGET_SUBDIR)/$${dir}; \
+ cd "$(TARGET_SUBDIR)/$${dir}" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
@@ -1331,7 +1331,7 @@ $(CONFIGURE_TARGET_MODULES):
CONFIG_SITE=no-such-file $(SHELL) $$s/configure \
$(CONFIG_ARGUMENTS) $${srcdiroption} \
--with-target-subdir="$(TARGET_SUBDIR)"; \
- fi; \
+ fi || exit 1; \
if [ -f skip-this-dir ] ; then \
sh skip-this-dir; \
rm -f skip-this-dir; \