]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fail during configure if stdint.h missing 329/head
authorTom Yu <tlyu@mit.edu>
Mon, 21 Sep 2015 21:20:06 +0000 (17:20 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 21 Sep 2015 21:20:06 +0000 (17:20 -0400)
We now require stdint.h to build this software.  Gracefully fail
during configure time if stdint.h is missing.

ticket: 8221
target_version: 1.14
tags: pullup

src/configure.in

index b2b1d70828068e9ec38dfea623ee0db7018a9006..fd06dcb9286a25d42a9f23ec346430e596acf0a5 100644 (file)
@@ -22,6 +22,9 @@ AC_SUBST(KRB5_VERSION)
 
 AC_REQUIRE_CPP
 
+AC_CHECK_HEADER([stdint.h], [],
+  [AC_MSG_ERROR([stdint.h is required])])
+
 AC_CACHE_CHECK([whether integers are two's complement],
   [krb5_cv_ints_twos_compl],
   [AC_COMPILE_IFELSE(