diff --git a/configure b/configure index 608b283ea886cadc8bf7c43489a55c6c2e585765..391b057f63ad947f425fb8a35fa3ae9c69ad3f09 100755 --- a/configure +++ b/configure @@ -1771,7 +1771,7 @@ sub features have_avx => { check =>(!$generic && - defined $cpuinfp{flags} && + defined $cpuinfo{flags} && $cpuinfo{flags}=~/\bavx\b/) ? 1 : 0, cflags => ' -mavx ', },