diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 16 |
2 files changed, 17 insertions, 6 deletions
@@ -1,4 +1,9 @@ | |||
1 | 20130129 | 1 | 20140130 |
2 | - (djm) [configure.ac] Only check for width-specified integer types | ||
3 | in headers that actually exist. patch from Tom G. Christensen; | ||
4 | ok dtucker@ | ||
5 | |||
6 | 20140129 | ||
2 | - (djm) [configure.ac] Fix broken shell test '==' vs '='; patch from | 7 | - (djm) [configure.ac] Fix broken shell test '==' vs '='; patch from |
3 | Tom G. Christensen | 8 | Tom G. Christensen |
4 | 9 | ||
diff --git a/configure.ac b/configure.ac index 627ce5178..571362163 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.566 2014/01/29 10:01:33 djm Exp $ | 1 | # $Id: configure.ac,v 1.567 2014/01/29 23:21:20 djm 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.566 $) | 18 | AC_REVISION($Revision: 1.567 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -3271,7 +3271,9 @@ if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | |||
3271 | have_u_int64_t=1 | 3271 | have_u_int64_t=1 |
3272 | fi | 3272 | fi |
3273 | 3273 | ||
3274 | if test -z "$have_u_int64_t" ; then | 3274 | if (test -z "$have_u_int64_t" && \ |
3275 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | ||
3276 | then | ||
3275 | AC_MSG_CHECKING([for u_int64_t type in sys/bitypes.h]) | 3277 | AC_MSG_CHECKING([for u_int64_t type in sys/bitypes.h]) |
3276 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/bitypes.h> ]], | 3278 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/bitypes.h> ]], |
3277 | [[ u_int64_t a; a = 1]])], | 3279 | [[ u_int64_t a; a = 1]])], |
@@ -3301,7 +3303,9 @@ if test -z "$have_u_intxx_t" ; then | |||
3301 | fi | 3303 | fi |
3302 | fi | 3304 | fi |
3303 | 3305 | ||
3304 | if test -z "$have_uintxx_t" ; then | 3306 | if (test -z "$have_uintxx_t" && \ |
3307 | test "x$ac_cv_header_stdint_h" = "xyes") | ||
3308 | then | ||
3305 | AC_MSG_CHECKING([for uintXX_t types in stdint.h]) | 3309 | AC_MSG_CHECKING([for uintXX_t types in stdint.h]) |
3306 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdint.h> ]], | 3310 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdint.h> ]], |
3307 | [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])], | 3311 | [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])], |
@@ -3312,7 +3316,9 @@ if test -z "$have_uintxx_t" ; then | |||
3312 | ]) | 3316 | ]) |
3313 | fi | 3317 | fi |
3314 | 3318 | ||
3315 | if test -z "$have_uintxx_t" ; then | 3319 | if (test -z "$have_uintxx_t" && \ |
3320 | test "x$ac_cv_header_inttypes_h" = "xyes") | ||
3321 | then | ||
3316 | AC_MSG_CHECKING([for uintXX_t types in inttypes.h]) | 3322 | AC_MSG_CHECKING([for uintXX_t types in inttypes.h]) |
3317 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <inttypes.h> ]], | 3323 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <inttypes.h> ]], |
3318 | [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])], | 3324 | [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])], |