The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Update AM_PATH_SDL() to also look for SDL2.framework?
neoaggelos


Joined: 02 Jan 2013
Posts: 138
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
Update AM_PATH_SDL() to also look for SDL2.framework?
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Sure, thanks!

On Tue, Aug 23, 2016 at 1:11 AM, neoaggelos wrote:
Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org