meson: resolvconf path can't be set unless resolvconf binary is installed
I want to build the Debian package with resolvconf support even though resolvconf is not installed by default (and also not installed on the build systemd).
Building with meson -Dresolvconf=/sbin/resolvconf
results in
Handlers for /etc/resolv.conf:
resolvconf: false
The problem is, that meson.build explicitly checks if the binary exists and disables support if not found. This should not happen if the path is specified explicitly.
The equivalent autotools code does the AC_PATH_PROGS check only, if the argument was yes
, not when it's set to a path.