diff options
author | Paolo Bonzini | 2021-06-03 12:10:05 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-07-06 08:33:51 +0200 |
commit | e66420ac6dc97e5f5afcb25a918cb5e7a5cd63f2 (patch) | |
tree | e9cdb21756317db5d61755d18eaec05fa2a6ff6a /util | |
parent | configure: convert HAVE_BROKEN_SIZE_MAX to meson (diff) | |
download | qemu-e66420ac6dc97e5f5afcb25a918cb5e7a5cd63f2.tar.gz qemu-e66420ac6dc97e5f5afcb25a918cb5e7a5cd63f2.tar.xz qemu-e66420ac6dc97e5f5afcb25a918cb5e7a5cd63f2.zip |
configure: convert compiler tests to meson, part 1
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build index 6af05a5716..0ffd7f4bde 100644 --- a/util/meson.build +++ b/util/meson.build @@ -2,7 +2,9 @@ util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c')) util_ss.add(when: 'CONFIG_ATOMIC64', if_false: files('atomic64.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('fdmon-poll.c')) -util_ss.add(when: 'CONFIG_EPOLL_CREATE1', if_true: files('fdmon-epoll.c')) +if config_host_data.get('CONFIG_EPOLL_CREATE1') + util_ss.add(files('fdmon-epoll.c')) +endif util_ss.add(when: ['CONFIG_LINUX_IO_URING', linux_io_uring], if_true: files('fdmon-io_uring.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('compatfd.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('event_notifier-posix.c')) |