Disable sphinx build if PNG support is disabled
No idea, but it worked this way for me.
I've retried it with that suggested change and PNG-free builds still work. Considering that there's far more code in the file with
"$have_png"it looks like the way to go. Shall I create another MR for this or will you apply a patch directly on master instead?