Commit bbc6e8fd authored by Niels Möller's avatar Niels Möller

(asm_path): For x86_64, check if compiler is generating 32-bit code.

Rev: nettle/ChangeLog:1.67
Rev: nettle/configure.ac:1.15
parent c00c9889
2010-03-28 Niels Mller <nisse@lysator.liu.se>
* configure.ac (asm_path): For x86_64, check if compiler is
generating 32-bit code.
2010-03-27 Niels Mller <nisse@lysator.liu.se>
* testsuite/hmac-test.c (test_main): Rewrote rest of tests to use
......
......@@ -123,7 +123,15 @@ case "$host_cpu" in
asm_path=x86
;;
[x86_64 | amd64])
asm_path=x86_64
AC_TRY_COMPILE([
#if defined(__i386__)
#error 32-bit x86
#endif
], [], [
asm_path=x86_64
], [
asm_path=x86
])
;;
*sparc*)
AC_TRY_COMPILE([
......
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