diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c97e12f34..4f40afce3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.552 2014/01/17 07:10:58 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.553 2014/01/17 08:17:35 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.552 $) | 18 | AC_REVISION($Revision: 1.553 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -340,6 +340,7 @@ AC_CHECK_HEADERS([ \ | |||
340 | glob.h \ | 340 | glob.h \ |
341 | ia.h \ | 341 | ia.h \ |
342 | iaf.h \ | 342 | iaf.h \ |
343 | inttypes.h \ | ||
343 | limits.h \ | 344 | limits.h \ |
344 | locale.h \ | 345 | locale.h \ |
345 | login.h \ | 346 | login.h \ |
@@ -3244,6 +3245,17 @@ if test -z "$have_uintxx_t" ; then | |||
3244 | ]) | 3245 | ]) |
3245 | fi | 3246 | fi |
3246 | 3247 | ||
3248 | if test -z "$have_uintxx_t" ; then | ||
3249 | AC_MSG_CHECKING([for uintXX_t types in inttypes.h]) | ||
3250 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <inttypes.h> ]], | ||
3251 | [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])], | ||
3252 | [ | ||
3253 | AC_DEFINE([HAVE_UINTXX_T]) | ||
3254 | AC_MSG_RESULT([yes]) | ||
3255 | ], [ AC_MSG_RESULT([no]) | ||
3256 | ]) | ||
3257 | fi | ||
3258 | |||
3247 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 3259 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ |
3248 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 3260 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
3249 | then | 3261 | then |