diff options
author | Tom Yu <tlyu@mit.edu> | 1994-06-17 07:22:12 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1994-06-17 07:22:12 +0000 |
commit | 32c8adaeaf9639dc536a718d9fa8551ac6af9753 (patch) | |
tree | 43f171558b1b3e3779e33b6e26603b3e0b1b560b /src/aclocal.m4 | |
parent | 1255123721a9ead5eda5d0628b5d2bb8c31b5dec (diff) | |
download | krb5-32c8adaeaf9639dc536a718d9fa8551ac6af9753.zip krb5-32c8adaeaf9639dc536a718d9fa8551ac6af9753.tar.gz krb5-32c8adaeaf9639dc536a718d9fa8551ac6af9753.tar.bz2 |
support to calculate BUILDTOP in makeaclocals
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3861 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r-- | src/aclocal.m4 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index c3816e9..fb202c1 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -26,11 +26,20 @@ define(AC__CONFIG_AUX,[ AC_PROVIDE([$0])dnl ])dnl dnl +dnl set up buildtop stuff +dnl +define(AC_BUILDTOP,[.])dnl +define(AC_SET_BUILDTOP, +[BUILDTOP=AC_BUILDTOP +AC_SUBST(BUILDTOP)dnl +])dnl +dnl +dnl dnl Does configure need to be run in immediate subdirectories of this dnl directory? dnl define(CONFIG_DIRS,[ -AC_REQUIRE([AC__CONFIG_AUX]) +AC_REQUIRE([AC__CONFIG_AUX])dnl changequote(<<<,>>>)dnl SUBDIRS="$1" if [ -z "${norecursion}" ] ; then @@ -123,8 +132,9 @@ $2::<<< @case '${MFLAGS}' in *[ik]*) set +e ;; esac; \ for i in $(SUBDIRS) ;\ do \ - (cd $$i ; echo>>> $1 <<<"in $(CURRENT_DIR)/$$i..."; \ - $(MAKE) $(MFLAGS) CURRENT_DIR=$(CURRENT_DIR)/$$i >>>$2<<<); \ + (cd $$i ; echo>>> $1 <<<"in $(CURRENT_DIR)$$i..."; \ + $(MAKE) $(MFLAGS) \ + CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$2<<<); \ done>>> divert(0)dnl changequote([,])dnl |