polkit-github-migration-bot / t4_polkit

Other
0 stars 0 forks source link

meson.build: only run HAVE_SETNETGRENT_RETURN check if setnetgrent found - [merged] #376

Closed polkit-github-migration-bot closed 7 months ago

polkit-github-migration-bot commented 1 year ago

In gitlab.freedesktop.org by thesamesam on Mar 1, 2023, 02:43

Link to the original merge request: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/166 This merge request consists of the following commits:

This avoids a spurious -Wimplicit-function-declaration warning on e.g. musl where we already checked for setnetgrent and found it's not present.

i.e. This avoids trying to use a function in a subsequent test when we already know it doesn't exist. There's no point trying to probe its properties.

Signed-off-by: Sam James sam@gentoo.org")