From: Ken Raeburn Date: Thu, 30 Aug 2001 19:45:40 +0000 (+0000) Subject: avoid re-running autoheader when not needed, using timestamp file X-Git-Tag: krb5-1.3-alpha1~1116 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=670b2d346df899abf38f5e3fa0556fd5d9ac747c;p=krb5.git avoid re-running autoheader when not needed, using timestamp file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13702 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 2e5416c32..660d49f9c 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,5 +1,10 @@ 2001-08-30 Ken Raeburn + * Makefile.in ($(srcdir)/krb5/autoconf.stmp): Since autoheader + doesn't change the target file if the contents wouldn't be + altered, touch an auxiliary timestamp file to avoid re-running + autoheader all the time. + * fake-addrinfo.c (getnameinfo): Cast address argument to gethostbyaddr. diff --git a/src/include/Makefile.in b/src/include/Makefile.in index 9d3ee0031..29e79af6c 100644 --- a/src/include/Makefile.in +++ b/src/include/Makefile.in @@ -17,8 +17,10 @@ all-windows:: krb5/autoconf.h: $(srcdir)/krb5/autoconf.h.in (cd krb5; $(MAKE) autoconf.h) -$(srcdir)/krb5/autoconf.h.in: $(srcdir)/configure.in $(SRCTOP)/acconfig.h +$(srcdir)/krb5/autoconf.h.in: $(srcdir)/krb5/autoconf.stmp +$(srcdir)/krb5/autoconf.stmp: $(srcdir)/configure.in $(SRCTOP)/acconfig.h cd $(srcdir) && $(AUTOHEADER) --localdir=$(CONFIG_RELTOPDIR) $(AUTOHEADERFLAGS) + touch $(srcdir)/krb5/autoconf.stmp krb5.h: krb5/autoconf.h $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h \ asn1_err.h