Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration failures of subdirect...
authorMike Stump <mrs@wrs.com>
Tue, 9 Jan 2001 18:55:41 +0000 (18:55 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Tue, 9 Jan 2001 18:55:41 +0000 (18:55 +0000)
* Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
failures of subdirectories.

From-SVN: r38837

ChangeLog
Makefile.in

index b084ddf141c37644299a8f1ec8c69f11dded73e6..a27387f102c6cfdd3abc3708ff62beaae4b37a4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-09  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
+       failures of subdirectories.
+
 2001-01-02  Laurynas Biveinis  &lt;lauras@softhome.net&gt;
 
        * ltcf-c.sh: clear ac_cv_prog_cc_pic for DJGPP. Do not add
index 2fbb3fb625a3c4e9aeb3823f339030806e284eb8..24182f9bf5f737f6c5174b0c191650fbcb743ec5 100644 (file)
@@ -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; \