This PR builds on top of #29. Reviewing it will be easier once #29 is merged.
It takes care of:
Set the soname version of the speech-tools libraries as MAJOR.MINOR. See commit 20b0d04 for details:
The soname needs to be changed when:
- The behavior of a function changes so that it no longer meets its original specification
- Exported data items change (exception: adding optional items to the ends of structures
is okay, as long as those structures are only allocated within the library).
- An exported function is removed.
- The interface of an exported function changes.
Since every MAJOR.MINOR release may make changes to any of the speech
tools libraries in those ways, it makes sense to include in the soname MAJOR.MINOR
version information.
Define how each speech-tools library depends on other speech-tools libraries
Remove the linking to stdc++ since it is not needed
Modules that require to link with system libraries (e.g. pulseaudio, alsa) specify now which speech-tools shared library should be linking with those system libraries, to prevent unnecessary linking.
Allow to pass ./configure DEBUG=1 SHARED=2 to pass the DEBUG and SHARED variables to config/config. This would help dropping specific debian packaging patches.
This PR builds on top of #29. Reviewing it will be easier once #29 is merged.
It takes care of:
./configure DEBUG=1 SHARED=2
to pass theDEBUG
andSHARED
variables toconfig/config
. This would help dropping specific debian packaging patches.Thanks again for your time