- Disable tests and typedefs for 64 bit types. They are currently unused.
This commit is contained in:
parent
ecf6240b6d
commit
70494d18ee
|
@ -1,6 +1,7 @@
|
||||||
20000403
|
20000403
|
||||||
- Wrote entropy collection routines for systems that lack /dev/random
|
- Wrote entropy collection routines for systems that lack /dev/random
|
||||||
and EGD
|
and EGD
|
||||||
|
- Disable tests and typedefs for 64 bit types. They are currently unused.
|
||||||
|
|
||||||
20000401
|
20000401
|
||||||
- Big OpenBSD CVS update (mainly beginnings of SSH2 infrastructure)
|
- Big OpenBSD CVS update (mainly beginnings of SSH2 infrastructure)
|
||||||
|
|
12
configure.in
12
configure.in
|
@ -304,7 +304,7 @@ AC_CHECK_SIZEOF(long long int, 8)
|
||||||
AC_MSG_CHECKING([for intXX_t types])
|
AC_MSG_CHECKING([for intXX_t types])
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#include <sys/types.h>],
|
[#include <sys/types.h>],
|
||||||
[int8_t a; int16_t b; int32_t c; int64_t d; a = b = c = d = 1;],
|
[int8_t a; int16_t b; int32_t c; a = b = c = 1;],
|
||||||
[
|
[
|
||||||
AC_DEFINE(HAVE_INTXX_T)
|
AC_DEFINE(HAVE_INTXX_T)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
|
@ -316,7 +316,7 @@ AC_TRY_COMPILE(
|
||||||
AC_MSG_CHECKING([for u_intXX_t types])
|
AC_MSG_CHECKING([for u_intXX_t types])
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#include <sys/types.h>],
|
[#include <sys/types.h>],
|
||||||
[u_int8_t a; u_int16_t b; u_int32_t c; u_int64_t d; a = b = c = d = 1;],
|
[u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;],
|
||||||
[
|
[
|
||||||
AC_DEFINE(HAVE_U_INTXX_T)
|
AC_DEFINE(HAVE_U_INTXX_T)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
|
@ -332,9 +332,9 @@ then
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#include <sys/bitypes.h>],
|
[#include <sys/bitypes.h>],
|
||||||
[
|
[
|
||||||
int8_t a; int16_t b; int32_t c; int64_t d;
|
int8_t a; int16_t b; int32_t c;
|
||||||
u_int8_t e; u_int16_t f; u_int32_t g; u_int64_t h;
|
u_int8_t e; u_int16_t f; u_int32_t g;
|
||||||
a = b = c = d = e = f = g = h = 1;
|
a = b = c = e = f = g = 1;
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_DEFINE(HAVE_U_INTXX_T)
|
AC_DEFINE(HAVE_U_INTXX_T)
|
||||||
|
@ -349,7 +349,7 @@ if test -z "$have_u_intxx_t" ; then
|
||||||
AC_MSG_CHECKING([for uintXX_t types])
|
AC_MSG_CHECKING([for uintXX_t types])
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#include <sys/types.h>],
|
[#include <sys/types.h>],
|
||||||
[uint8_t a; uint16_t b; uint32_t c; uint64_t d; a = b = c = d = 1;],
|
[uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;],
|
||||||
[
|
[
|
||||||
AC_DEFINE(HAVE_UINTXX_T)
|
AC_DEFINE(HAVE_UINTXX_T)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
|
|
|
@ -75,6 +75,7 @@ typedef int int32_t;
|
||||||
# else
|
# else
|
||||||
# error "32 bit int type not found."
|
# error "32 bit int type not found."
|
||||||
# endif
|
# endif
|
||||||
|
/*
|
||||||
# if (SIZEOF_LONG_INT == 8)
|
# if (SIZEOF_LONG_INT == 8)
|
||||||
typedef long int int64_t;
|
typedef long int int64_t;
|
||||||
# else
|
# else
|
||||||
|
@ -85,6 +86,7 @@ typedef long long int int64_t;
|
||||||
# error "64 bit int type not found."
|
# error "64 bit int type not found."
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If sys/types.h does not supply u_intXX_t, supply them ourselves */
|
/* If sys/types.h does not supply u_intXX_t, supply them ourselves */
|
||||||
|
@ -93,7 +95,9 @@ typedef long long int int64_t;
|
||||||
typedef uint8_t u_int8_t;
|
typedef uint8_t u_int8_t;
|
||||||
typedef uint16_t u_int16_t;
|
typedef uint16_t u_int16_t;
|
||||||
typedef uint32_t u_int32_t;
|
typedef uint32_t u_int32_t;
|
||||||
|
/*
|
||||||
typedef uint64_t u_int64_t;
|
typedef uint64_t u_int64_t;
|
||||||
|
*/
|
||||||
# define HAVE_U_INTXX_T 1
|
# define HAVE_U_INTXX_T 1
|
||||||
# else
|
# else
|
||||||
# if (SIZEOF_CHAR == 1)
|
# if (SIZEOF_CHAR == 1)
|
||||||
|
@ -111,6 +115,7 @@ typedef unsigned int u_int32_t;
|
||||||
# else
|
# else
|
||||||
# error "32 bit int type not found."
|
# error "32 bit int type not found."
|
||||||
# endif
|
# endif
|
||||||
|
/*
|
||||||
# if (SIZEOF_LONG_INT == 8)
|
# if (SIZEOF_LONG_INT == 8)
|
||||||
typedef unsigned long int u_int64_t;
|
typedef unsigned long int u_int64_t;
|
||||||
# else
|
# else
|
||||||
|
@ -121,6 +126,7 @@ typedef unsigned long long int u_int64_t;
|
||||||
# error "64 bit int type not found."
|
# error "64 bit int type not found."
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
*/
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue