1have_virtiofsd = (have_system and
2 have_tools and
3 'CONFIG_LINUX' in config_host and
4 'CONFIG_SECCOMP' in config_host and
5 'CONFIG_LIBCAP_NG' in config_host and
6 'CONFIG_VHOST_USER' in config_host)
7
8if have_virtiofsd
9 subdir('virtiofsd')
10endif
11