[PATCH 3/5] meson: Drop checks for some functions and header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 meson.build | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meson.build b/meson.build
index e193166a9b..cdf33436f3 100644
--- a/meson.build
+++ b/meson.build
@@ -672,7 +672,6 @@ functions = [
   'stat64',
   'symlink',
   'sysctlbyname',
-  'unshare',
 ]
 
 foreach function : functions
@@ -696,11 +695,9 @@ headers = [
   'net/if.h',
   'pty.h',
   'pwd.h',
-  'stdarg.h',
   'sys/ioctl.h',
   'sys/mount.h',
   'sys/syscall.h',
-  'sys/sysctl.h',
   'sys/ucred.h',
   'syslog.h',
   'util.h',
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux