Make config.status itself update the timestamp file associated with
authorKen Raeburn <raeburn@mit.edu>
Mon, 17 Sep 2007 23:47:00 +0000 (23:47 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 17 Sep 2007 23:47:00 +0000 (23:47 +0000)
autoconf.h, so that we don't need a redundant invocation of
config.status during the first build.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19937 dc483132-0cff-0310-8789-dd5450dbe970

src/configure.in
src/include/Makefile.in

index 57b9ca95acb0e53b34c2971f9bece31137bf6080..d010d03883cdf83fdd5216fe76639091354a8406 100644 (file)
@@ -161,7 +161,7 @@ dnl from old include/configure.in
 AH_TEMPLATE([HAVE_STRUCT_SOCKADDR_STORAGE], 
 [Define if "struct sockaddr_storage" is available.])
 dnl
-AC_CONFIG_HEADER(include/autoconf.h, [: autoconf.h cmds], [: autoconf.h init cmds])
+AC_CONFIG_HEADERS(include/autoconf.h, [echo timestamp > include/autoconf.stamp])
 AC_PROG_INSTALL
 AC_PROG_AWK
 AC_PROG_LEX
index 70a8cad5c11e17bde10e3467ebc89a53bbd0e77f..2a20d738310a28dc64389cb145764277e2b3156a 100644 (file)
@@ -48,10 +48,10 @@ $(srcdir)/autoconf.stmp: $(srcdir)/$(thisconfigdir)/configure.in $(SRCTOP)/acloc
 
 ###############################################################################
 ##DOS##!if 0
+# config.status will now update autoconf.stamp itself.
 autoconf.h: autoconf.stamp
 autoconf.stamp: $(srcdir)/autoconf.h.in $(thisconfigdir)/config.status
        (cd $(thisconfigdir) && $(SHELL) config.status $(mydir)/autoconf.h)
-       touch autoconf.stamp
 
 SYSCONFDIR = @sysconfdir@
 LOCALSTATEDIR = @localstatedir@