From 42caf5c6ac35c3b463f5a07195efef68082e269c Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 12 Jul 1994 03:34:23 +0000 Subject: [PATCH] * aclocal.m4: cleaning up stuff to not echo things like "if foo..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3964 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 5 +++++ src/aclocal.m4 | 20 +++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d4ae3be30..5a755d808 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 11 23:32:51 1994 Tom Yu (tlyu at dragons-lair) + + * aclocal.m4: cleaning up stuff to not echo things like "if + foo..." + Sun Jul 3 07:46:25 1994 Tom Yu (tlyu at dragons-lair) * aclocal.m4: fixing things so we don't have to bother ignoring diff --git a/src/aclocal.m4 b/src/aclocal.m4 index a56c0a064..df674befe 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -236,10 +236,10 @@ MAKE_COMMANDS= $(BUILDTOP)/util/ss/mk_cmds .SUFFIXES: .h .c .et .ct .ct.c: - if [ $< != $}{*.ct ]; then \ - (cp $< $}{*.ct && $(MAKE_COMMANDS) $}{*.ct && rm $}{*.ct) || exit 1; \ + @if [ $< != $}{*.ct ]; then \ + (set -x; cp $< $}{*.ct && $(MAKE_COMMANDS) $}{*.ct && rm $}{*.ct) || exit 1; \ else \ - $(MAKE_COMMANDS) $}{*.ct || exit 1; \ + (set -x; $(MAKE_COMMANDS) $}{*.ct) || exit 1; \ fi } @@ -357,11 +357,10 @@ define(CopyHeader,[ divert(9)dnl includes:: $1 - if test -d $2; then :; else mkdir $2; fi - if cmp $1 $2/$1 >/dev/null 2>&1; then :; \ + @if test -d $2; then :; else (set -x; mkdir $2) fi + @if cmp $1 $2/$1 >/dev/null 2>&1; then :; \ else \ - [$](RM) $2/$1 ; \ - [$](CP) $1 $2/$1; \ + (set -x; [$](RM) $2/$1; [$](CP) $1 $2/$1) \ fi divert(0)dnl @@ -373,11 +372,10 @@ define(CopySrcHeader,[ divert(9)dnl includes:: $1 - if test -d $2; then :; else mkdir $2; fi - -if cmp $(srcdir)/$1 $2/$1 >/dev/null 2>&1; then :; \ + @if test -d $2; then :; else mkdir $2; fi + @if cmp $(srcdir)/$1 $2/$1 >/dev/null 2>&1; then :; \ else \ - [$](RM) $2/$1 ; \ - [$](CP) $(srcdir)/$1 $2/$1; \ + (set -x; [$](RM) $2/$1; [$](CP) $(srcdir)/$1 $2/$1) \ fi divert(0)dnl -- 2.26.2