We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 193

Summary: [patch] Don't link OpenGL/AGL frameworks unless needed
Product: SDL Reporter: Max Horn <max>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2    
Version: HG 1.2   
Hardware: PowerPC   
OS: Mac OS X (All)   
Attachments: Patch for configure.in

Description Max Horn 2006-04-01 22:09:25 UTC
The attached patch is mostly cosmetic: Currently, we always add both -framework OpenGL and -framework AGL for Mac OS X command line builds.

However, the former is only used for the Cocoa video driver, and the latter only for the Carbon video driver (as far as I can tell, at least). Hence the attached patch modifies configure.in so that each only gets added to the list of frameworks if the corresponding video driver is enabled.
Comment 1 Max Horn 2006-04-01 22:09:46 UTC
Created attachment 101 [details]
Patch for configure.in
Comment 2 Sam Lantinga 2006-04-13 09:30:24 UTC
This patch is in CVS, thanks!