ludocode / mpack

MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]
MIT License
521 stars 82 forks source link

Add support for building the library using autotools. #70

Closed mkschreder closed 4 years ago

mkschreder commented 4 years ago

Maybe consider updating the other project files so that both methods can coexist side by side.

I moved headers into include folder and also moved everything from src/mpack into src/

ludocode commented 4 years ago

Thanks for the PR. I'm not really interested in autotools support though. MPack is intended to be integrated directly into projects. The release versions are amalgamated into a pair of .c and .h files to make this as easy as possible. It's not meant to be compiled into a shared library, and the various header files are not meant to be installed into your system; those headers don't even exist in the release package.

MPack is designed to be configure-free so a configure script is not needed. (The unit test runner does some configure-style probing, but that's more to determine what compiler features can be tested rather than anything needed by MPack.) The complexity of autotools is extreme, and I really want to keep MPack as simple as possible.

Your branch also includes the GPL license. MPack is licensed under the MIT license, not the GPL.