Define HAVE_ASM_X86 when x86 assembler optimizations are

used. This #define will be useful for inline assembly.
This commit is contained in:
Lasse Collin 2008-01-09 20:05:57 +02:00
parent 0e70fbe403
commit 382808514a
1 changed files with 4 additions and 1 deletions

View File

@ -316,7 +316,10 @@ if test "x$enable_assembler" = xyes; then
esac
fi
case $enable_assembler in
x86|no) ;;
x86|no)
AC_DEFINE([HAVE_ASM_X86], 1,
[Define to 1 if using x86 assembler optimizations.])
;;
*)
AC_MSG_RESULT([])
AC_MSG_ERROR([--enable-assembler accepts only \`yes', \`no', or \`x86'.])