* configure.in: Check for some C99 headers and types
authorKen Raeburn <raeburn@mit.edu>
Tue, 26 Aug 2003 20:03:19 +0000 (20:03 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 26 Aug 2003 20:03:19 +0000 (20:03 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15794 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/configure.in

index 1fa8e9eb69dabb66c8fd34dd6023346e9ef75c6a..45d284d248b1392d0f1092782a954167d4981645 100644 (file)
@@ -1,5 +1,7 @@
 2003-08-26  Ken Raeburn  <raeburn@mit.edu>
 
+       * configure.in: Check for some C99 headers and types.
+
        * fake-addrinfo.h (inline): Supported by Sun Forte Developer 7
        compiler.
 
index c9036ff0b9f99b94f1400f49a14dc1bc30d06058..cfca33449b1c297ec049ea767642d83a08df5288 100644 (file)
@@ -199,4 +199,15 @@ else
 fi
 AC_SUBST(maybe_kerberosIV)
 dnl
+dnl Not used yet, but let's find out what we've got on the platforms
+dnl we're working with....
+AC_CHECK_HEADERS(inttypes.h stdint.h)
+AC_CHECK_TYPES([uint64_t, int64_t, uint_least32_t, uintptr_t, uintmax_t, long long], , , [
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+# include <inttypes.h>
+#endif
+])
+dnl
 V5_AC_OUTPUT_MAKEFILE(. krb5 kerberosIV)