diff options
author | Mike Stump <mrs@wrs.com> | 2001-01-09 18:55:41 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2001-01-09 18:55:41 +0000 |
commit | 6e2d9a7aab54522a9ad1e146339a266f1f41f91e (patch) | |
tree | 8e7fc91274bb85e765a7cf43f7aa685f1e1d29eb /Makefile.in | |
parent | a2e11fd9e234133f33547df7e11a6d587057ed1a (diff) | |
download | gcc-6e2d9a7aab54522a9ad1e146339a266f1f41f91e.tar.gz |
Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration failures of subdirectories.
* Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
failures of subdirectories.
From-SVN: r38837
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
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; \ |