Closed specing closed 2 years ago
4) the manual copy was cp src/spar_os-sdl-64bit.ads src/spar_os-sdl.ads
Looking into c_os.c I find redundant #ifdef on the first mention of SDL:
#ifdef FREEBSD
#include <SDL/SDL.h>
#include <SDL/SDL_video.h>
#else
#include <SDL/SDL.h>
#include <SDL/SDL_video.h>
#endif
That is correct.
The current version of the source code can be compiled without OpenGL (the Mesa library) but not without the SDL library (Simple Direct media Layer). I've not yet isolated the uses of SDL so it can be disabled using the configuration script. You will need to install SDL and SDL image version 1.2, if I remember correctly, first.
The redundant ifdef likely dates to a time when SDL was in a different location on FreeBSD but was later moved to the standard location, probably FreeBSD 9 or earlier.
I see.
Merged Blady-Com changes to build without SDL.
Hi, upon doing
./configure --prefix=/data/users/specing/install/spar --without-bdb --without-mysql --without-opengl --without-postgres --without-readline --without-sound
and fixing configure enough to make it pass, then runninggmake all
greets me with:For reference, my configure fixes were the following:
1) uname -p prints processor product and not architecture 2) GNAT is not installed system-wide (but is at start of PATH) 3) Is SDL not obsolete and superseeded by SDL2?
OS is Gentoo GNU/Linux on amd64