configure.ac : Detect 'amd64' as being same as 'x86_64'.

On BSD systems, the 64-bit x86 architecture is called "amd64".

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Christian Weisgerber 2015-01-09 22:37:37 +00:00 committed by Erik de Castro Lopo
parent fed0dfa108
commit b5a10e75ed
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ AC_CHECK_SIZEOF(void*,1)
asm_optimisation=no
case "$host_cpu" in
x86_64)
amd64|x86_64)
if test $ac_cv_sizeof_voidp = 4 ; then
# This must be a 32 bit user space running on 64 bit kernel so treat
# this as ia32.