diff --git a/configure b/configure
index 3aecec90a7de64c986a8e55225363ce65f6950b7..e42bedc9ead86224f8ff98d731eff3fbae0a7f8c 100755
--- a/configure
+++ b/configure
@@ -1009,7 +1009,7 @@ for opt do
     ;;
     --disable-protocols) disable $PROTOCOL_LIST
     ;;
-    --disable-devices) disable "$INDEV_LIST $OUTDEV_LIST"
+    --disable-devices) disable $INDEV_LIST $OUTDEV_LIST
     ;;
     --enable-*=*|--disable-*=*)
     eval `echo "$opt" | sed 's/=/-/;s/--/action=/;s/-/ thing=/;s/-/ name=/'`