summaryrefslogtreecommitdiffstats
path: root/src/config/post.in
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1998-11-13 19:36:33 +0000
committerTheodore Tso <tytso@mit.edu>1998-11-13 19:36:33 +0000
commit3eb57197bc7f72e6fe6b957accbb55c1a225e2bb (patch)
tree6242160bd0aa567b420961edc864447e8a0ab155 /src/config/post.in
parent036f289eb519b5809499de654857caaef222db9a (diff)
downloadkrb5-3eb57197bc7f72e6fe6b957accbb55c1a225e2bb.tar.gz
krb5-3eb57197bc7f72e6fe6b957accbb55c1a225e2bb.tar.xz
krb5-3eb57197bc7f72e6fe6b957accbb55c1a225e2bb.zip
If $(MY_SUBDIRS) is non-NULL use it instead of $(SUBDIRS) to control
which directories are iterated over. (This is needed so we can fold a directory's configure.in scripts into the parent's configure.in without having to move all of its siblings as well into the parent directory's configure.in.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11023 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/post.in')
-rw-r--r--src/config/post.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config/post.in b/src/config/post.in
index 88154b267..4cc76a724 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -56,7 +56,12 @@ all-recurse clean-recurse distclean-recurse install-recurse check-recurse Makefi
@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 \
- for i in . $(SUBDIRS) ; do \
+ if test -z "$(MY_SUBDIRS)" ; then \
+ do_subdirs="$(SUBDIRS)" ; \
+ else \
+ do_subdirs="$(MY_SUBDIRS)" ; \
+ fi; \
+ for i in $$do_subdirs ; do \
if test -d $$i ; then \
case $$i in .);; *) \
target=`echo $@|sed s/-recurse//`; \