krb5 commit: Fail during configure if stdint.h missing

Tom Yu tlyu at mit.edu
Mon Sep 21 18:33:38 EDT 2015


https://github.com/krb5/krb5/commit/33441e6376d5b1606089a3621798493027816010
commit 33441e6376d5b1606089a3621798493027816010
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.
    
    ticket: 8221
    target_version: 1.14
    tags: pullup

 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