diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-11-03 18:43:55 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-11-03 18:43:55 +1100 |
commit | 007e3b357e880caa974d5adf9669298ba0751c78 (patch) | |
tree | 7e9389b5ef4eeef2253ef50a7699c1bf66f31965 /configure.ac | |
parent | 710f3747352fb93a63e5b69b12379da37f5b3fa9 (diff) |
- (dtucker) [configure.ac defines.h] Add typedefs for intmax_t and uintmax_t
for platforms that don't have them.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4a1b50331..0611b71b9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.536 2013/08/04 11:48:41 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.537 2013/11/03 07:43:55 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.536 $) | 18 | AC_REVISION($Revision: 1.537 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -3137,6 +3137,11 @@ if test "x$ac_cv_have_u_char" = "xyes" ; then | |||
3137 | AC_DEFINE([HAVE_U_CHAR], [1], [define if you have u_char data type]) | 3137 | AC_DEFINE([HAVE_U_CHAR], [1], [define if you have u_char data type]) |
3138 | fi | 3138 | fi |
3139 | 3139 | ||
3140 | AC_CHECK_TYPES([intmax_t, uintmax_t], , , [ | ||
3141 | #include <sys/types.h> | ||
3142 | #include <stdint.h> | ||
3143 | ]) | ||
3144 | |||
3140 | TYPE_SOCKLEN_T | 3145 | TYPE_SOCKLEN_T |
3141 | 3146 | ||
3142 | AC_CHECK_TYPES([sig_atomic_t], , , [#include <signal.h>]) | 3147 | AC_CHECK_TYPES([sig_atomic_t], , , [#include <signal.h>]) |