polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
41 stars 22 forks source link

Refactor config.h #454

Closed notpeelz closed 2 weeks ago

notpeelz commented 2 months ago

I simplified the handling of config.h. Instead of having #include "config.h" in every file, we can use the compiler's -include option to do that for us.

I had to bump the meson version requirement to >=1.4.0 to use the file.full_path() API.