krb5 commit [krb5-1.14]: Fail during configure if stdint.h missing

Tom Yu tlyu at mit.edu
Fri Oct 2 14:19:26 EDT 2015


https://github.com/krb5/krb5/commit/8ba3d5790c8065e65eaff10f89a5c9ea7c809b68
commit 8ba3d5790c8065e65eaff10f89a5c9ea7c809b68
Author: Tom Yu <tlyu at mit.edu>
Date:   Mon Sep 21 17:20:06 2015 -0400

    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.
    
    (cherry picked from commit 33441e6376d5b1606089a3621798493027816010)
    
    ticket: 8221
    version_fixed: 1.14
    status: resolved

 src/configure.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/configure.in b/src/configure.in
index b2b1d70..fd06dcb 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(


More information about the cvs-krb5 mailing list