[linux] don't call glxinfo or xdpyinfo when X11 or GL support was disabled (fixes #15442)
Merge pull request #5506 from wsnipex/fix-feh

[linux] don't call glxinfo or xdpyinfo when X11 or GL support was disabl...