Update AM_PATH_SDL() to also look for SDL2.framework?

Hi,

‘sdl2.m4’ provides a useful macro for locating SDL in configure scripts. However, it never bothers looking for the SDL2.framework. Given that the official SDL development libraries release for Mac OS X comes in a framework, I updated the sdl2.m4 from my project to also look for the framework version of SDL (when sdl2-config and pkg-config fail, only under Mac OS X).

Is this a change worth mirroring in the SDL sources? I can provide a patch for sdl2.m4. I mainly wanted to see if this something other people actually want or need.

Thanks,
Aggelos Kolaitis------------------------
C is the God’s Programming Language

Sure, thanks!On Tue, Aug 23, 2016 at 1:11 AM, neoaggelos wrote:

Hi,

‘sdl2.m4’ provides a useful macro for locating SDL in configure scripts.
However, it never bothers looking for the SDL2.framework. Given that the
official SDL development libraries release for Mac OS X comes in a
framework, I updated the sdl2.m4 from my project to also look for the
framework version of SDL (when sdl2-config and pkg-config fail, only under
Mac OS X).

Is this a change worth mirroring in the SDL sources? I can provide a patch
for sdl2.m4. I mainly wanted to see if this something other people actually
want or need.

Thanks,
Aggelos Kolaitis


C is the God’s Programming Language


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org