From 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 9 Jan 2008 20:05:57 +0200 Subject: [PATCH] Define HAVE_ASM_X86 when x86 assembler optimizations are used. This #define will be useful for inline assembly. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 83a8c665..daa87d0d 100644 --- a/configure.ac +++ b/configure.ac @@ -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'.])