From 47ebefad3ed493a1e731f999962afee017640395 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 15 Jun 1994 15:30:25 +0000 Subject: [PATCH] fix CopyHeader, add CopySrcHeader git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3801 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index a333dba9c..f261c8ba0 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -304,6 +304,7 @@ define(CopyHeader,[ divert(9)dnl includes:: $1 + -mkdir $2 -if cmp $1 $2/$1 >/dev/null 2>&1; then \ echo ; \ else \ @@ -311,6 +312,23 @@ includes:: $1 [$](CP) $1 $2/$1; \ fi +divert(0)dnl +])dnl +dnl +dnl copy source header file into include dir -- CopySrcHeader(hfile,hdir) +dnl +define(CopySrcHeader,[ +divert(9)dnl + +includes:: $1 + -mkdir $2 + -if cmp $(srcdir)/$1 $2/$1 >/dev/null 2>&1; then \ + echo ; \ + else \ + [$](RM) $2/$1 ; \ + [$](CP) $(srcdir)/$1 $2/$1; \ + fi + divert(0)dnl ])dnl dnl -- 2.26.2