Commit 8225d5ba authored by Niels Möller's avatar Niels Möller

* config.m4.in: Define ALIGNOF_UINT64_T (from configure).

* configure.ac: Check alignment of uint64_t, and also use AC_SUBST
for use in config.m4.in.

Rev: nettle/config.m4.in:1.2
Rev: nettle/configure.ac:1.48
parent 214a4522
......@@ -3,6 +3,7 @@ define(<C_NAME>, <@ASM_SYMBOL_PREFIX@><$1>)dnl
define(<ELF_STYLE>, <@ASM_ELF_STYLE@>)dnl
define(<TYPE_FUNCTION>, <@ASM_TYPE_FUNCTION@>)dnl
define(<ALIGN_LOG>, <@ASM_ALIGN_LOG@>)dnl
define(<ALIGNOF_UINT64_T>, <@ALIGNOF_UINT64_T@>)dnl
divert(1)
@ASM_MARK_NOEXEC_STACK@
divert
......@@ -479,6 +479,10 @@ AC_TYPE_UID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_CHECK_SIZEOF(long)
AC_CHECK_ALIGNOF(uint64_t)
ALIGNOF_UINT64_T="$ac_cv_alignof_uint64_t"
AC_SUBST(ALIGNOF_UINT64_T)
AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h],,
[enable_openssl=no
......
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