From: Paolo Bonzini Date: Tue, 1 Sep 2020 07:23:47 +0000 (-0400) Subject: configure: remove dead code for in-tree builds X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0f4d8894df5c1f0d54b50331e36e8894757d9f7e;p=qemu.git configure: remove dead code for in-tree builds The $pwd_is_source_path variable is never "y", since configure re-executes itself from a build directory. Remove code that will never run. Reviewed-by: Daniel P. Berrangé Signed-off-by: Paolo Bonzini --- diff --git a/configure b/configure index 1471b35d96..cd17f3d65d 100755 --- a/configure +++ b/configure @@ -665,14 +665,6 @@ QEMU_INCLUDES="$QEMU_INCLUDES -iquote ${source_path}/disas/libvixl" CFLAGS="-std=gnu99 -Wall" -# running configure in the source tree? -# we know that's the case if configure is there. -if test -f "./configure"; then - pwd_is_source_path="y" -else - pwd_is_source_path="n" -fi - check_define() { cat > $TMPC <