Conditional compiling certain SDL 2.0.1 functions and constants (ie SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,...)
Configure now expects --with-sdl instead of --enable-sdl. The former accepts an optional path to the sdl2-config so that is easier to copile the extension against different library versions.
Filesystem functions (GetBasePath, GetPrefPath) ported to PHPSDL. (closes #3)