mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
configure: Allow vnc to get disabled with --without-default-features
There's no reason why we should keep VNC enabled when the user specified --without-default-features. Reported-by: Cole Robinson <[email protected]> Signed-off-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
This commit is contained in:
1 parent
332008e0b9
commit
3a6a1256d4
2 files changed
+2
-2
No files matched your search
@@ -304,7 +304,7 @@ virtiofsd="auto"
|
||||
virtfs="auto"
|
||||
libudev="auto"
|
||||
mpath="auto"
|
||||
vnc="enabled"
|
||||
vnc="auto"
|
||||
sparse="auto"
|
||||
vde="$default_feature"
|
||||
vnc_sasl="auto"
|
||||
|
||||
+1
-1
@@ -930,7 +930,7 @@ vnc = not_found
|
||||
png = not_found
|
||||
jpeg = not_found
|
||||
sasl = not_found
|
||||
if get_option('vnc').enabled()
|
||||
if not get_option('vnc').disabled()
|
||||
vnc = declare_dependency() # dummy dependency
|
||||
png = dependency('libpng', required: get_option('vnc_png'),
|
||||
method: 'pkg-config', kwargs: static_kwargs)
|
||||
|
||||
Reference in new issue
Block a user