From: Theodore Tso Date: Fri, 14 Apr 1995 12:32:16 +0000 (+0000) Subject: aclocal.m4 (MAKE_SUBDIRS, _MAKE_SUBDIRS): Creatre new macro X-Git-Tag: krb5-1.0-beta5~379 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5542ba9363cea752c340608d00043d31d5f326bd;p=krb5.git aclocal.m4 (MAKE_SUBDIRS, _MAKE_SUBDIRS): Creatre new macro _MAKE_SUBDIRS which works like MAKE_SUBDIRS except that it is possible for the target name in the parent Makefile and the target name which should be built in each of the subdirectories can be different. MAKE_SUBDIRS is now a special case of _MAKE_SUBDIRS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5357 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 9fe56c6e9..3fdc08499 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +Fri Apr 14 08:23:52 1995 Theodore Y. Ts'o (tytso@dcl) + + * aclocal.m4 (MAKE_SUBDIRS, _MAKE_SUBDIRS): Creatre new macro + _MAKE_SUBDIRS which works like MAKE_SUBDIRS except that it + is possible for the target name in the parent Makefile and + the target name which should be built in each of the + subdirectories can be different. MAKE_SUBDIRS is now a + special case of _MAKE_SUBDIRS. + Fri Mar 31 21:27:13 1995 Theodore Y. Ts'o (tytso@dcl) * aclocal.m4: Use the local autoconf when rebuilding the configure diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 1db12c2bc..e36eef4ec 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -92,7 +92,7 @@ dnl append subdir rule -- MAKE_SUBDIRS("making",all) dnl define(AC_DIVERSION_MAKEFILE,9)dnl things that get pushed on the makefile dnl -define(MAKE_SUBDIRS,[ +define(_MAKE_SUBDIRS,[ AC_DIVERT_PUSH(AC_DIVERSION_MAKEFILE)dnl changequote(<<<,>>>)dnl @@ -102,11 +102,13 @@ $2::<<< do \ (cd $$i ; echo>>> $1 <<<"in $(CURRENT_DIR)$$i..."; \ $(MAKE) $(MFLAGS) CC="$(CC)" CCOPTS="$(CCOPTS)" \ - CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$2<<<); \ + CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$3<<<); \ done>>> changequote([,])dnl AC_DIVERT_POP()dnl ])dnl +define(MAKE_SUBDIRS,[ +_MAKE_SUBDIRS($1, $2, $2)])dnl dnl dnl take saved makefile stuff and put it in the Makefile dnl