avoid re-running autoheader when not needed, using timestamp file
authorKen Raeburn <raeburn@mit.edu>
Thu, 30 Aug 2001 19:45:40 +0000 (19:45 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 30 Aug 2001 19:45:40 +0000 (19:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13702 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/Makefile.in

index 2e5416c323cd661e89b7cc6e14e4f9b6365a8377..660d49f9c9cc46f89e85e9420507700d59dcdb9d 100644 (file)
@@ -1,5 +1,10 @@
 2001-08-30  Ken Raeburn  <raeburn@mit.edu>
 
+       * 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.
 
index 9d3ee00310c9da35f051dcc47814f689db370ad4..29e79af6c616099644446dad5c01a10c00a091f5 100644 (file)
@@ -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