* aclocal.m4 (_MAKE_SUBDIRS): fix rule so that MAKEFLAGS gets
authorTom Yu <tlyu@mit.edu>
Tue, 16 May 1995 07:08:02 +0000 (07:08 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 16 May 1995 07:08:02 +0000 (07:08 +0000)
processed correctly.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5816 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 8e4eb40e8f60feb370b9540d2954a03900832b0c..5dac8e7fd592183c72c2e81cefeafa2a74de0fbf 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 16 03:05:30 1995  Tom Yu  (tlyu@dragons-lair)
+
+       * aclocal.m4 (_MAKE_SUBDIRS): fix rule so that MAKEFLAGS gets
+               processed correctly.
+
 Fri May  5 01:50:08 1995  Theodore Y. Ts'o  (tytso@dcl)
 
        * patchlevel.h: Update patchlevel for BETA 5 release
index 62b4b819c9812f2417223be22d1f3b3ebf7c14bf..bfc1d4858a4fd8a6f720c3248240de33452913ad 100644 (file)
@@ -97,12 +97,12 @@ AC_DIVERT_PUSH(AC_DIVERSION_MAKEFILE)dnl
 changequote(<<<,>>>)dnl
 
 $2::<<<
-       @case '${MFLAGS}' in *[ik]*) set +e ;; esac; \
-       for i in $(SUBDIRS) ;\
-       do \
+       @case "`echo '$(MAKEFLAGS)'|sed -e 's/ --.*$$//'`" in \
+               *[ik]*) set +e ;; *) set -e ;; esac; \
+       for i in $(SUBDIRS) ; do \
                (cd $$i ; echo>>> $1 <<<"in $(CURRENT_DIR)$$i..."; \
-                       $(MAKE) $(MFLAGS) CC="$(CC)" CCOPTS="$(CCOPTS)" \
-                       CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$3<<<) || exit 1; \
+                       $(MAKE) CC="$(CC)" CCOPTS="$(CCOPTS)" \
+                       CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$3<<<) \
        done>>>
 changequote([,])dnl
 AC_DIVERT_POP()dnl