+Tue Apr 30 17:15:57 1996 Ken Raeburn <raeburn@cygnus.com>
+
+ * configure.in: Invoke AC_C_CROSS before AC_TRY_RUN to pretty up
+ output format.
+
+ * Makefile.in (autoconf.h): Use timestamp file to prevent repeated
+ rebuilding if file timestamp is out of date but contents wouldn't
+ change.
+
Tue Apr 30 15:03:34 1996 Theodore Y. Ts'o <tytso@mit.edu>
* macsock.h: Added prototype for getpeername().
copy stock\osconf.h osconf.h
echo /* not used in windows */ > autoconf.h
-autoconf.h: $(srcdir)/autoconf.h.in config.status
+# Should only rebuild autoconf.h here (use CONFIG_FILES=), but the weird krb5
+# makefile post-processing is unconditional and would trash the makefile.
+autoconf.h: autoconf.stamp
+autoconf.stamp: $(srcdir)/autoconf.h.in config.status
$(SHELL) config.status
+ touch autoconf.stamp
depend::
@if cmp -s osconf.new osconf.h ; then :; \
else (set -x; $(RM) osconf.h ; $(CP) osconf.new osconf.h; $(RM) osconf.new) fi
-clean::
+clean::
$(RM) osconf.new $(BUILT_HEADERS)
clean-unix::
- $(RM) $(ET_HEADERS) autoconf.h
+ $(RM) $(ET_HEADERS) autoconf.h autoconf.stamp
clean-mac::
clean-windows::
AC_FUNC_CHECK([setvbuf],AC_DEFINE(HAS_SETVBUF))
dnl check for ANSI stdio, esp "b" option to fopen(). This (unfortunately)
dnl requires a run check...
+AC_C_CROSS
AC_MSG_CHECKING([for ANSI stdio])
AC_CACHE_VAL(krb5_cv_has_ansi_stdio,
[AC_TRY_RUN(