diff --git a/configure b/configure
index 8765b88e12fbfeb77a046980821bca2e09fa783e..8a638dd82aef33c2fdb5a806bfde065b1fa7411a 100755
--- a/configure
+++ b/configure
@@ -767,7 +767,7 @@ if test "$plugins" = "yes" -a "$tcg" = "disabled"; then
 fi
 
 if ! test -f "$source_path/subprojects/keycodemapdb/README" \
-    && test -f "$download" = disabled
+    && test "$download" = disabled
 then
     echo
     echo "ERROR: missing subprojects"