From 19c13e25749b858141e674b767e41f78dbfc33b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niels=20M=C3=B6ller?= Date: Fri, 24 Sep 2010 07:44:37 +0200 Subject: [PATCH] (HAVE_NATIVE_64_BIT): New config.h define. Rev: nettle/configure.ac:1.26 --- configure.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 18510101..1002a534 100644 --- a/configure.ac +++ b/configure.ac @@ -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 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 -- 2.47.3