]> git.proxmox.com Git - mirror_qemu.git/blobdiff - configure
Merge tag 'for-upstream-8.0' of https://gitlab.com/bonzini/qemu into staging
[mirror_qemu.git] / configure
index 0e41c5e36ce286f9865d82a8798872ddaec95c4b..2a8a9be8a18076d20722390fa1589643fc483d8f 100755 (executable)
--- a/configure
+++ b/configure
@@ -31,8 +31,12 @@ then
         fi
     fi
 
-    mkdir build
-    touch $MARKER
+    if ! mkdir build || ! touch $MARKER
+    then
+        echo "ERROR: Could not create ./build directory. Check the permissions on"
+        echo "your source directory, or try doing an out-of-tree build."
+        exit 1
+    fi
 
     cat > GNUmakefile <<'EOF'
 # This file is auto-generated by configure to support in-source tree