diff --git a/configure.ac b/configure.ac
index 9d18b771bf44922e47f070fcf4bad01a4bef8f85..8d7d3b1ba0c49239655766dd266c408de1962805 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,14 +187,14 @@ case "$host_cpu" in
     asm_path=x86
     ;;
   [x86_64 | amd64])
-    if test "x$ABI" = 64 ; then
+    if test "$ABI" = 64 ; then
       asm_path=x86_64
     else
       asm_path=x86
     fi
     ;;
   *sparc*)
-    if test "x$ABI" = 64 ; then
+    if test "$ABI" = 64 ; then
       asm_path=sparc64
     else
       asm_path=sparc32