diff options
author | Tom Yu <tlyu@mit.edu> | 2015-09-21 17:20:06 -0400 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2015-09-21 17:20:06 -0400 |
commit | 33441e6376d5b1606089a3621798493027816010 (patch) | |
tree | 262a90ee433504f577d7c42f13fd81f1ebe21e75 /src/configure.in | |
parent | 11a2a90d9e2229da6f2d49dd37105f7455c49dd8 (diff) | |
download | krb5-33441e6376d5b1606089a3621798493027816010.zip krb5-33441e6376d5b1606089a3621798493027816010.tar.gz krb5-33441e6376d5b1606089a3621798493027816010.tar.bz2 |
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
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | 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( |