SDL
SDL copied to clipboard
SDL build with configure (autoconf) incorrectly tries to build with Vulkan support on Solaris 10 (probably other UNIXes)
When trying to compile SDL2 on Solaris 10 1/13, the "configure" script incorrectly tries to build SDL2 with support for Vulkan. Obviously, this fails because the likelihood of most UNIXes, especially Solaris 10, ever supporting Vulkan is slim to none. As a result, I bet this issue impacts other UNIXes, as well.
In order to build SDL2 on Solaris 10 (UltraSPARC IIIi processor), I have to use: './configure --enable-video-vulkan=no '
I suggest this is resolved in one of two ways. One hack would be to specifically disable Vulkan support in configure if compiling on Solaris. A better way to do it would be to improve the mechanism in configure for detecting Vulkan support, such as by trying to compile a test.
On the other hand, if the autoconf/configure build system is obsolete and historical at this point, maybe Option 1 is the best option.
I wish I could help more, but as I do not have a PhD in autoconf, it is above my paygrade. A professional build system engineer would be better suited to implement a fix.