I did some more work on autotooled build mainly to support symbol visibility on MinGW.
I had to change the MPC_API definition in mpc_types.h to add the __declspec stuff.
Other changes:
*mpcchap build must be enabled with --enable-mpcchap;
*mpcgain is built only if replaygain is installed;
*-fvisibility-hidden is added only for gcc4 on Linux;
* fixed an error when building mpcdec on MinGW since crtdbg.h is a Visual Studio feature.
The patch has been made against svn 442 and tested on Linux and MinGW.
|