Skip to content
Snippets Groups Projects
Commit 19c13e25 authored by Niels Möller's avatar Niels Möller
Browse files

(HAVE_NATIVE_64_BIT): New config.h define.

Rev: nettle/configure.ac:1.26
parent f1713dbe
Branches
Tags
No related merge requests found
...@@ -116,7 +116,7 @@ if test x$enable_dependency_tracking = xyes ; then ...@@ -116,7 +116,7 @@ if test x$enable_dependency_tracking = xyes ; then
]) ])
fi fi
# Figure out ABI. Currently, configurable only be setting CFLAGS. # Figure out ABI. Currently, configurable only by setting CFLAGS.
ABI=standard ABI=standard
case "$host_cpu" in case "$host_cpu" in
...@@ -430,7 +430,6 @@ AC_C_INLINE ...@@ -430,7 +430,6 @@ AC_C_INLINE
AC_TYPE_UID_T AC_TYPE_UID_T
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
AC_HEADER_TIME AC_HEADER_TIME
# Used by eratosthenes.c
AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long)
AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h],, AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h],,
...@@ -522,6 +521,12 @@ fi ...@@ -522,6 +521,12 @@ fi
AC_SUBST(OPENSSL_LIBFLAGS) AC_SUBST(OPENSSL_LIBFLAGS)
# Choose strategy for Camellia round
AH_BOTTOM(
[/* Needs include of <limits.h> before use. */
#define HAVE_NATIVE_64_BIT (SIZEOF_LONG * CHAR_BIT >= 64)
])
# clock_gettime is in librt on *-*-osf5.1 and on glibc, so add -lrt to # clock_gettime is in librt on *-*-osf5.1 and on glibc, so add -lrt to
# BENCH_LIBS if needed. On linux (tested on x86_32, 2.6.26), # BENCH_LIBS if needed. On linux (tested on x86_32, 2.6.26),
# clock_getres reports ns accuracy, while in a quick test on osf # clock_getres reports ns accuracy, while in a quick test on osf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment