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 877

Summary: sdl-mixer: add support for no-mmu linux systems that lack fork()
Product: SDL_mixer Reporter: Mike Frysinger <vapier>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: Other   
OS: Linux   
Attachments: detect cmd-music support dynamically

Description Mike Frysinger 2009-11-05 09:11:43 UTC
Created attachment 444 [details]
detect cmd-music support dynamically

the current code assumes "unix" means fork() exists.  this doesnt work for
no-mmu linux systems as fork() cant be implemented.

simple enough to add fork/vfork tests to configure and let the rest of the code
key off of CMD_MUSIC like normal -- no more needing to hardcode unix/mac-os-x
defines in the source.
Comment 1 Sam Lantinga 2009-11-05 19:38:15 UTC
Great patch, thanks!