mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
meson: Drop checks for some functions and header files
In meson.build, we check for presence of unshare() function explicitly (even though there is the function usability check a few hundred lines below), but never have any code depending on HAVE_UNSHARE. The same applies to stdarg.h and sys/sysctl.h header files - either we simply include them or guard their include using different conditionals. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
63b41d3f93
commit
85808b7384
@ -672,7 +672,6 @@ functions = [
|
|||||||
'stat64',
|
'stat64',
|
||||||
'symlink',
|
'symlink',
|
||||||
'sysctlbyname',
|
'sysctlbyname',
|
||||||
'unshare',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach function : functions
|
foreach function : functions
|
||||||
@ -696,11 +695,9 @@ headers = [
|
|||||||
'net/if.h',
|
'net/if.h',
|
||||||
'pty.h',
|
'pty.h',
|
||||||
'pwd.h',
|
'pwd.h',
|
||||||
'stdarg.h',
|
|
||||||
'sys/ioctl.h',
|
'sys/ioctl.h',
|
||||||
'sys/mount.h',
|
'sys/mount.h',
|
||||||
'sys/syscall.h',
|
'sys/syscall.h',
|
||||||
'sys/sysctl.h',
|
|
||||||
'sys/ucred.h',
|
'sys/ucred.h',
|
||||||
'syslog.h',
|
'syslog.h',
|
||||||
'util.h',
|
'util.h',
|
||||||
|
Loading…
Reference in New Issue
Block a user