Checked in wrong version of post.in previously. Make sure we check
authorTheodore Tso <tytso@mit.edu>
Tue, 1 Dec 1998 20:32:34 +0000 (20:32 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 1 Dec 1998 20:32:34 +0000 (20:32 +0000)
Since if MY_SUBDIRS is defined, it overrides SUBDIRS, we should check
do_subdirs after it has been properly assigned.

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

src/config/post.in

index 4cc76a72407e243bc7a3d7bbb677c927e1d3c25a..4e2fbbc3733946f96e0204523faa25b37ab081c9 100644 (file)
@@ -55,12 +55,12 @@ $(srcdir)/$(thisconfigdir)/configure: $(srcdir)/$(thisconfigdir)/configure.in \
 all-recurse clean-recurse distclean-recurse install-recurse check-recurse Makefiles-recurse:
        @case "`echo 'x$(MFLAGS)'|sed -e 's/^x//' -e 's/ --.*$$//'`" \
                in *[ik]*) e=:;; *) e="exit 1";; esac; \
-       if test -n "$(SUBDIRS)" && test -z "$(NORECURSE)"; then \
        if test -z "$(MY_SUBDIRS)" ; then \
                do_subdirs="$(SUBDIRS)" ; \
        else \
                do_subdirs="$(MY_SUBDIRS)" ; \
        fi; \
+       if test -n "$$do_subdirs" && test -z "$(NORECURSE)"; then \
        for i in $$do_subdirs ; do \
                if test -d $$i ; then \
                case $$i in .);; *) \