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

(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 fa095eab
Branches
Tags
No related merge requests found
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> 2010-03-27 Niels Mller <nisse@lysator.liu.se>
* testsuite/hmac-test.c (test_main): Rewrote rest of tests to use * testsuite/hmac-test.c (test_main): Rewrote rest of tests to use
......
...@@ -123,7 +123,15 @@ case "$host_cpu" in ...@@ -123,7 +123,15 @@ case "$host_cpu" in
asm_path=x86 asm_path=x86
;; ;;
[x86_64 | amd64]) [x86_64 | amd64])
AC_TRY_COMPILE([
#if defined(__i386__)
#error 32-bit x86
#endif
], [], [
asm_path=x86_64 asm_path=x86_64
], [
asm_path=x86
])
;; ;;
*sparc*) *sparc*)
AC_TRY_COMPILE([ AC_TRY_COMPILE([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment