From 3eb57197bc7f72e6fe6b957accbb55c1a225e2bb Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 13 Nov 1998 19:36:33 +0000 Subject: [PATCH] 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 --- src/config/ChangeLog | 9 +++++++++ src/config/post.in | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 2ea401316..3101ba08b 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,12 @@ +1998-11-13 Theodore Ts'o + + * post.in (*-recurse): 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.) + 1998-05-27 Theodore Ts'o * windows.in: Remove -DLEHMAN, which doesn't do anything. (A grep 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//`; \ -- 2.26.2