Well, I forgot one preliminary: We need a config test first, if SDL is present and working, which shall define:
C defines perl5 PARROT_HAS_SDL HAS_SDL PARROT_HAS_SDL_image HAS_SDL_image (It's not given that libSDL_image is present, *if* libSDL is installed) leo