diff --git a/configure b/configure
index 26ea2300d521e9d826ca43226aaa23a5ca2fd97b..924fd468da369dd939fc18be3bea092073b89310 100755
--- a/configure
+++ b/configure
@@ -3778,7 +3778,7 @@ EOF
 }
 
 if enabled asm; then
-    enabled     arm aarch64 && nogas=die
+    enabled_any arm aarch64 && nogas=die
     enabled_all ppc altivec && nogas=warn
 
     if ! check_gas ; then