aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-09-17 23:47:00 +0000
committerKen Raeburn <raeburn@mit.edu>2007-09-17 23:47:00 +0000
commitf96d4b689b6762fe594eb089abb4a5e0a0f3ca1d (patch)
tree4ac1650a4561d1ed37a95d9a8719171d6c5626ce /src
parent569cef75edf5525c46e34e55dc53dcc8a814ee05 (diff)
downloadkrb5-f96d4b689b6762fe594eb089abb4a5e0a0f3ca1d.zip
krb5-f96d4b689b6762fe594eb089abb4a5e0a0f3ca1d.tar.gz
krb5-f96d4b689b6762fe594eb089abb4a5e0a0f3ca1d.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/configure.in2
-rw-r--r--src/include/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/configure.in b/src/configure.in
index 57b9ca9..d010d03 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 70a8cad..2a20d73 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@