diff --git a/bochs/configure b/bochs/configure index 546277922..1060a7718 100755 --- a/bochs/configure +++ b/bochs/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 10270 2011-03-19 20:09:34Z sshwarts . +# From configure.in Id: configure.in 10271 2011-03-19 20:12:28Z sshwarts . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68. # @@ -23111,10 +23111,6 @@ $as_echo "no" >&6; } fi -if test "$support_avx" -gt 0 -a "$bx_cpu_level" -lt 6; then - as_fn_error $? "for AVX support the CPU level must be set to 6" "$LINENO" 5 -fi - if test "$support_vmx" -gt 0 -a "$bx_cpu_level" -lt 6; then as_fn_error $? "for VMX support the CPU level must be set to 6" "$LINENO" 5 fi @@ -23238,6 +23234,7 @@ $as_echo "no" >&6; } fi +support_avx=0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX instructions support" >&5 $as_echo_n "checking for AVX instructions support... " >&6; } # Check whether --enable-avx was given. @@ -23247,6 +23244,7 @@ if test "${enable_avx+set}" = set; then : $as_echo "yes" >&6; } $as_echo "#define BX_SUPPORT_AVX 1" >>confdefs.h + support_avx=1 elif test "$enableval" = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } @@ -23265,6 +23263,10 @@ $as_echo "no" >&6; } fi +if test "$support_avx" -gt 0 -a "$bx_cpu_level" -lt 6; then + as_fn_error $? "for AVX support the CPU level must be set to 6" "$LINENO" 5 +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 debugger support" >&5 $as_echo_n "checking for x86 debugger support... " >&6; } # Check whether --enable-x86-debugger was given.