From 85808b73846f93d656b4c81b6ebddd2dc3881bf6 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 1 Sep 2020 14:30:34 +0200 Subject: [PATCH] meson: Drop checks for some functions and header files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ján Tomko --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build index 7435b23df9..c1967d6358 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',