From 33441e6376d5b1606089a3621798493027816010 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 21 Sep 2015 17:20:06 -0400 Subject: [PATCH] Fail during configure if stdint.h missing 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/configure.in b/src/configure.in index b2b1d70828..fd06dcb928 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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( -- 2.47.2