Commit 19c13e25 authored by Niels Möller's avatar Niels Möller

(HAVE_NATIVE_64_BIT): New config.h define.

Rev: nettle/configure.ac:1.26
parent f1713dbe
......@@ -116,7 +116,7 @@ if test x$enable_dependency_tracking = xyes ; then
])
fi
# Figure out ABI. Currently, configurable only be setting CFLAGS.
# Figure out ABI. Currently, configurable only by setting CFLAGS.
ABI=standard
case "$host_cpu" in
......@@ -430,7 +430,6 @@ AC_C_INLINE
AC_TYPE_UID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
# Used by eratosthenes.c
AC_CHECK_SIZEOF(long)
AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h],,
......@@ -522,6 +521,12 @@ fi
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
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment