diff options
Diffstat (limited to 'src/lib/krb4')
-rw-r--r-- | src/lib/krb4/ChangeLog | 7 | ||||
-rw-r--r-- | src/lib/krb4/Makefile.in | 14 | ||||
-rw-r--r-- | src/lib/krb4/configure.in | 1 |
3 files changed, 21 insertions, 1 deletions
diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 04a3133600..878169140c 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,10 @@ +Mon Feb 2 17:02:29 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile + + * configure.in, Makefile.in: Remove use of CopyHeader from + configure.in and move functionality to Makefile.in + Tue Jan 6 17:11:28 1998 Tom Yu <tlyu@mit.edu> * in_tkt.c: Conditionalize use of macro do_seteuid, rather than diff --git a/src/lib/krb4/Makefile.in b/src/lib/krb4/Makefile.in index 5a4fc78645..410cca9609 100644 --- a/src/lib/krb4/Makefile.in +++ b/src/lib/krb4/Makefile.in @@ -1,3 +1,5 @@ +thisconfigdir=./ +BUILDTOP=$(U)$(U) CFLAGS = $(CCOPTS) $(DEFS) $(DEFINES) DEFINES=-I$(srcdir)/../../include/kerberosIV @@ -195,6 +197,18 @@ krb_err.c: krb_err.et depend:: krb_err.h depend:: $(CODE) +includes:: krb_err.h + if cmp /krb_err.h $(EHDRDIR)/krb_err.h >/dev/null 2>&1; then :; \ + else \ + (set -x; $(RM) $(EHDRDIR)/krb_err.h; \ + $(CP) krb_err.h $(EHDRDIR)/krb_err.h) ; \ + fi + +clean-unix:: + $(RM) $(EHDRDIR)/krb_err.h + + + #install-unix:: # $(INSTALL_DATA) krb_err.h $(DESTDIR)$(KRB5_INCDIR)/kerberosIV/krb_err.h diff --git a/src/lib/krb4/configure.in b/src/lib/krb4/configure.in index 10acfeda61..b79215db9c 100644 --- a/src/lib/krb4/configure.in +++ b/src/lib/krb4/configure.in @@ -41,7 +41,6 @@ fi AC_DEFINE(KRB4_USE_KEYTAB) AC_HAVE_FUNCS(strsave seteuid setreuid setresuid) AC_PROG_AWK -CopyHeader(krb_err.h,$(EHDRDIR)) KRB5_BUILD_LIBOBJS KRB5_BUILD_LIBRARY_WITH_DEPS V5_AC_OUTPUT_MAKEFILE |