1 have_virtiofsd = (targetos == 'linux' and
5 'CONFIG_VHOST_USER' in config_host)
7 if get_option('virtiofsd').enabled()
10 error('virtiofsd requires Linux')
11 elif not seccomp.found() or not libcap_ng.found()
12 error('virtiofsd requires libcap-ng-devel and seccomp-devel')
13 elif 'CONFIG_VHOST_USER' not in config_host
14 error('virtiofsd needs vhost-user support')
16 # Disabled all the tools but virtiofsd.
20 elif get_option('virtiofsd').disabled() or not have_system
21 have_virtiofsd = false