Make sure autoconf.h is updated early, since it's needed by the thread support
authorKen Raeburn <raeburn@mit.edu>
Sun, 14 Mar 2004 05:10:06 +0000 (05:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 14 Mar 2004 05:10:06 +0000 (05:10 +0000)
* Makefile.in (update-autoconf-h): New target.  Checks that
include/krb5/autoconf.h is current.
(all-prerecurse): Depend on it.

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

src/ChangeLog
src/Makefile.in

index 22ee3073da621904e1fbc511f75903faf24713ee..d52f85599603d34cf872b514e780621653c3a883 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-14  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (update-autoconf-h): New target.  Checks that
+       include/krb5/autoconf.h is current.
+       (all-prerecurse): Depend on it.
+
 2004-03-08  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (SUBDIRS): Renamed from MY_SUBDIRS.
index 1918d0b038d84b991627fc7a5f2bf26320cb3b7b..d424b4c6d98ca72505eadf9da22882f5b7d72ca8 100644 (file)
@@ -15,6 +15,14 @@ DISTFILES = $(SRCS) $(HDRS) COPYING COPYING.LIB ChangeLog Makefile.in
 
 all-unix:: krb5-config
 
+# Lots of things will start to depend on the thread support, which
+# needs autoconf.h, but building "all" in include requires that util/et
+# have been built first.  Until we can untangle this, let's just check
+# that autoconf.h is up to date before going into any of the subdirectories.
+all-prerecurse: update-autoconf-h
+update-autoconf-h:
+       (cd include && $(MAKE) krb5/autoconf.h)
+
 all-mac::
 
 all-windows:: maybe-awk Makefile-windows