dns/bind918: fix build in some obscure cases
If sphinx is installed while not requested, it gets picked up, tell
configure that it really is not here, and things blow up.
PR: 262773
MFH: yes
(cherry picked from commit 963e20c81248fad134a246950a470f2b41e6a74f)