autoconf: Sanitize asm build for cross-compiling and --enable-*-bit
authorDan Nicholson <dbn.lists@gmail.com>
Mon, 5 May 2008 23:53:35 +0000 (16:53 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Mon, 5 May 2008 23:57:07 +0000 (16:57 -0700)
commit7d016b76e22c0911f9a5ee024a2849096661ddd7
tree764f2fb9fd088670b1df8e93c6a55afab5ff63f4
parent113f5b14cbab2d62d5ca470f4b1f82989d3a50fe
autoconf: Sanitize asm build for cross-compiling and --enable-*-bit

Two fixes to the asm configuration:
 - Disable when the user is cross-compiling for x86 or x86_64 since it
   requires running an executable compiled for the target host.
 - If the user has specified --enable-32-bit on x86_64 or --enable-64-bit
   on x86, respect that and choose the correct asm architecture.
configure.ac