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 3778

Summary: Configure check for modplug is broken
Product: SDL_mixer Reporter: Orivej Desh <orivej>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.1   
Hardware: x86_64   
OS: Linux   

Description Orivej Desh 2017-08-25 21:33:44 UTC
In SDL_Mixer 2.0.1 and tip, configure.in contains [1]:

     AC_CHECK_LIB([modplug], [have_libmodplug_lib=yes])

which generates invalid C file in configure [2]:

     char have_libmodplug_lib=yes ();

and libmodplug detection always fails. This can be fixed with:

     AC_CHECK_LIB([modplug], [ModPlug_Load], [have_libmodplug_lib=yes])

[1] http://hg.libsdl.org/SDL_mixer/file/d10f63427a5f/configure.in#l261
[2] http://hg.libsdl.org/SDL_mixer/file/d10f63427a5f/configure#l11842
Comment 1 Sam Lantinga 2017-08-26 04:06:03 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL_mixer/rev/3e77f5482c24