diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 40 |
1 files changed, 11 insertions, 29 deletions
diff --git a/configure.ac b/configure.ac index f94f6c848..281e2f63f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.80 2002/07/18 02:20:08 tim Exp $ | 1 | # $Id: configure.ac,v 1.81 2002/07/18 18:44:50 tim Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -1038,7 +1038,16 @@ fi | |||
1038 | 1038 | ||
1039 | AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [ | 1039 | AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [ |
1040 | AC_TRY_COMPILE( | 1040 | AC_TRY_COMPILE( |
1041 | [ #include <sys/types.h> ], | 1041 | [ |
1042 | #include <sys/types.h> | ||
1043 | #ifdef HAVE_STDINT_H | ||
1044 | # include <stdint.h> | ||
1045 | #endif | ||
1046 | #include <sys/socket.h> | ||
1047 | #ifdef HAVE_SYS_BITYPES_H | ||
1048 | # include <sys/bitypes.h> | ||
1049 | #endif | ||
1050 | ], | ||
1042 | [ int64_t a; a = 1;], | 1051 | [ int64_t a; a = 1;], |
1043 | [ ac_cv_have_int64_t="yes" ], | 1052 | [ ac_cv_have_int64_t="yes" ], |
1044 | [ ac_cv_have_int64_t="no" ] | 1053 | [ ac_cv_have_int64_t="no" ] |
@@ -1046,33 +1055,6 @@ AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [ | |||
1046 | ]) | 1055 | ]) |
1047 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 1056 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
1048 | AC_DEFINE(HAVE_INT64_T) | 1057 | AC_DEFINE(HAVE_INT64_T) |
1049 | have_int64_t=1 | ||
1050 | fi | ||
1051 | |||
1052 | if test -z "$have_int64_t" ; then | ||
1053 | AC_MSG_CHECKING([for int64_t type in sys/socket.h]) | ||
1054 | AC_TRY_COMPILE( | ||
1055 | [ #include <sys/socket.h> ], | ||
1056 | [ int64_t a; a = 1], | ||
1057 | [ | ||
1058 | AC_DEFINE(HAVE_INT64_T) | ||
1059 | AC_MSG_RESULT(yes) | ||
1060 | ], | ||
1061 | [ AC_MSG_RESULT(no) ] | ||
1062 | ) | ||
1063 | fi | ||
1064 | |||
1065 | if test -z "$have_int64_t" ; then | ||
1066 | AC_MSG_CHECKING([for int64_t type in sys/bitypes.h]) | ||
1067 | AC_TRY_COMPILE( | ||
1068 | [ #include <sys/bitypes.h> ], | ||
1069 | [ int64_t a; a = 1], | ||
1070 | [ | ||
1071 | AC_DEFINE(HAVE_INT64_T) | ||
1072 | AC_MSG_RESULT(yes) | ||
1073 | ], | ||
1074 | [ AC_MSG_RESULT(no) ] | ||
1075 | ) | ||
1076 | fi | 1058 | fi |
1077 | 1059 | ||
1078 | AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [ | 1060 | AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [ |