From: Ken Raeburn Date: Mon, 17 Sep 2007 23:47:00 +0000 (+0000) Subject: Make config.status itself update the timestamp file associated with X-Git-Tag: krb5-1.7-alpha1~878 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f96d4b689b6762fe594eb089abb4a5e0a0f3ca1d;p=krb5.git Make config.status itself update the timestamp file associated with 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 --- diff --git a/src/configure.in b/src/configure.in index 57b9ca95a..d010d0388 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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 diff --git a/src/include/Makefile.in b/src/include/Makefile.in index 70a8cad5c..2a20d7383 100644 --- a/src/include/Makefile.in +++ b/src/include/Makefile.in @@ -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@