1dnl Check for ia32 2AC_MSG_CHECKING(for an ia32 machine) 3case "${host}" in 4 i?86-*-*) 5 AC_MSG_RESULT(yes) 6 AC_MSG_CHECKING(to see if we should disable asm optimizations) 7 AC_ARG_ENABLE(asmopt, 8 [ --disable-asmopt disable assembler optimization], 9 AC_MSG_RESULT(yes), 10 AC_DEFINE(USE_INTEL_ASM, 1, [Define this if you want to use Intel assembly optimizations]) 11 ASM_ARCH=yes 12 AC_MSG_RESULT(no) 13 ) 14 ;; 15 *) AC_MSG_RESULT(no) 16esac 17AM_CONDITIONAL(ASM_ARCH, test "x$ASM_ARCH" = "xyes") 18 19AC_MSG_CHECKING(for underscore prefix in names) 20AC_TRY_LINK( 21 [asm(".long _bar"); 22 int bar;], 23 [], 24 AC_DEFINE(HAVE_SYM_PREFIX_UNDERSCORE, 1, [Define this if C symbols are prefixed with an underscore]) AC_MSG_RESULT(yes), 25 AC_MSG_RESULT(no) 26) 27