|
@@ -813,10 +813,14 @@ if 'ust' in get_option('trace_backends')
|
|
method: 'pkg-config')
|
|
method: 'pkg-config')
|
|
endif
|
|
endif
|
|
pixman = not_found
|
|
pixman = not_found
|
|
-if have_system or have_tools
|
|
|
|
- pixman = dependency('pixman-1', required: have_system, version:'>=0.21.8',
|
|
|
|
|
|
+if not get_option('pixman').auto() or have_system or have_tools
|
|
|
|
+ pixman = dependency('pixman-1', required: get_option('pixman'), version:'>=0.21.8',
|
|
method: 'pkg-config')
|
|
method: 'pkg-config')
|
|
endif
|
|
endif
|
|
|
|
+if not pixman.found() and (have_system or have_tools)
|
|
|
|
+ error('FIXME: pixman is currently required')
|
|
|
|
+endif
|
|
|
|
+
|
|
zlib = dependency('zlib', required: true)
|
|
zlib = dependency('zlib', required: true)
|
|
|
|
|
|
libaio = not_found
|
|
libaio = not_found
|
|
@@ -2149,6 +2153,7 @@ config_host_data.set('CONFIG_SECCOMP', seccomp.found())
|
|
if seccomp.found()
|
|
if seccomp.found()
|
|
config_host_data.set('CONFIG_SECCOMP_SYSRAWRC', seccomp_has_sysrawrc)
|
|
config_host_data.set('CONFIG_SECCOMP_SYSRAWRC', seccomp_has_sysrawrc)
|
|
endif
|
|
endif
|
|
|
|
+config_host_data.set('CONFIG_PIXMAN', pixman.found())
|
|
config_host_data.set('CONFIG_SNAPPY', snappy.found())
|
|
config_host_data.set('CONFIG_SNAPPY', snappy.found())
|
|
config_host_data.set('CONFIG_SOLARIS', targetos == 'sunos')
|
|
config_host_data.set('CONFIG_SOLARIS', targetos == 'sunos')
|
|
if get_option('tcg').allowed()
|
|
if get_option('tcg').allowed()
|
|
@@ -2868,6 +2873,7 @@ have_ivshmem = config_host_data.get('CONFIG_EVENTFD')
|
|
host_kconfig = \
|
|
host_kconfig = \
|
|
(get_option('fuzzing') ? ['CONFIG_FUZZ=y'] : []) + \
|
|
(get_option('fuzzing') ? ['CONFIG_FUZZ=y'] : []) + \
|
|
(have_tpm ? ['CONFIG_TPM=y'] : []) + \
|
|
(have_tpm ? ['CONFIG_TPM=y'] : []) + \
|
|
|
|
+ (pixman.found() ? ['CONFIG_PIXMAN=y'] : []) + \
|
|
(spice.found() ? ['CONFIG_SPICE=y'] : []) + \
|
|
(spice.found() ? ['CONFIG_SPICE=y'] : []) + \
|
|
(have_ivshmem ? ['CONFIG_IVSHMEM=y'] : []) + \
|
|
(have_ivshmem ? ['CONFIG_IVSHMEM=y'] : []) + \
|
|
(opengl.found() ? ['CONFIG_OPENGL=y'] : []) + \
|
|
(opengl.found() ? ['CONFIG_OPENGL=y'] : []) + \
|