build-sys: Deprecate libsamplerate support

output DEPRECATED warnings for libsamplerate in configure and
PA daemon's log

libsamplerate offers no particular advantage over the speex
resampler and is distributed under GPL; support for it will be removed
in one of the next releases

v2: (thanks Arun Raghavan)
* log a warning (instead of info)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
Peter Meerwald 2014-11-11 15:39:59 +01:00
parent a058a4b7a3
commit 64f3b5711b
2 changed files with 7 additions and 1 deletions

View file

@ -910,6 +910,10 @@ int main(int argc, char *argv[]) {
pa_log_debug("Compilation host: %s", CANONICAL_HOST);
pa_log_debug("Compilation CFLAGS: %s", PA_CFLAGS);
#ifdef HAVE_LIBSAMPLERATE
pa_log_warn("Compiled with DEPRECATED libsamplerate support!");
#endif
s = pa_uname_string();
pa_log_debug("Running on host: %s", s);
pa_xfree(s);