Principally motivated to handle an issue where these were failing to detect the system properly, on Solaris. Eli Schwartz (6): meson: simplify and parameterize various standard function checks meson: check for getpagesize before using it meson: do a full usage-based compile check for sysinfo meson: add a couple missing networking dependencies meson: fix typo in function check that prevented checking for hstrerror meson: only check for missing networking syms on non-Windows; add compat impls meson.build | 105 ++++++++++++++++++++++++---------------------------- 1 file changed, 49 insertions(+), 56 deletions(-) Range-diff against v1: 1: e137afaff2 = 1: e137afaff2 meson: simplify and parameterize various standard function checks 2: df82ee7872 ! 2: 3c4918a7b3 meson: check for getpagesize before using it @@ Commit message config.mak.uname defines this automatically, though only for QNX. ## meson.build ## -@@ meson.build: checkfuncs = [ - 'mkdtemp', - # no compat - 'initgroups', -+ # no compat -+ 'getpagesize', - ] +@@ meson.build: else + 'mmap', + # unsetenv is provided by compat/mingw.c. + 'unsetenv', ++ # no compat, is provided by compat/mingw.c ++ 'getpagesize', + ] + endif - if host_machine.system() == 'windows' 3: 2ec759d7be = 3: 2c19f04f3e meson: do a full usage-based compile check for sysinfo 4: 61f2addd47 = 4: e62057094f meson: add a couple missing networking dependencies 5: c67d10a337 = 5: a6a7bdacd1 meson: fix typo in function check that prevented checking for hstrerror 6: c5b8b89dd4 = 6: 15f48b8991 meson: only check for missing networking syms on non-Windows; add compat impls -- 2.49.0