summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>1996-04-30 21:17:46 +0000
committerKen Raeburn <raeburn@mit.edu>1996-04-30 21:17:46 +0000
commit37bbec7a90e42ceafa58bc5d1fe96fdbf5c02b4e (patch)
treea0aa74d7051ee7e4e26f4ecb04030acd88244e49 /src/include
parent2e17399e525ea142323053c6658d5a297b7d74aa (diff)
downloadkrb5-37bbec7a90e42ceafa58bc5d1fe96fdbf5c02b4e.tar.gz
krb5-37bbec7a90e42ceafa58bc5d1fe96fdbf5c02b4e.tar.xz
krb5-37bbec7a90e42ceafa58bc5d1fe96fdbf5c02b4e.zip
* 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7872 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog9
-rw-r--r--src/include/krb5/Makefile.in10
-rw-r--r--src/include/krb5/configure.in1
3 files changed, 17 insertions, 3 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index e13279264..772c2b448 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,3 +1,12 @@
+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().
diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in
index 8734a1797..4ab14e0b1 100644
--- a/src/include/krb5/Makefile.in
+++ b/src/include/krb5/Makefile.in
@@ -15,8 +15,12 @@ all-windows:
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::
@@ -33,10 +37,10 @@ osconf.h: $(OSCONFSRC)
@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::
diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in
index c5693459e..a09c744a4 100644
--- a/src/include/krb5/configure.in
+++ b/src/include/krb5/configure.in
@@ -35,6 +35,7 @@ AC_CHECK_HEADERS(xom.h)
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(