]> git.ipfire.org Git - thirdparty/asterisk.git/commit
BuildSystem: Enable Advanced Linux Sound Architecture (ALSA) in NetBSD.
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 5 Mar 2018 16:10:45 +0000 (17:10 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 16 Mar 2018 15:05:01 +0000 (09:05 -0600)
commitf121e2c01bc0db9c6d45e5f713b69a8443af4db0
tree5f360bd3f22b059b60c7742ceeccec3b6e42cac3
parent31b7d5ca8bf3cd5b486dc7a41f03ff3a0500feda
BuildSystem: Enable Advanced Linux Sound Architecture (ALSA) in NetBSD.

In the script ./configure, AST_EXT_LIB_CHECK checks for external libraries. Some
libraries do not specify all their dependencies and require additional shared
libraries. In AST_EXT_LIB_CHECK, this is the fifth parameter. However, if a
library is specified there, it must exist on the platform, because ./configure
tries to compile/link/execute a small app using those statements. For example,
the library libdl.so is Linux specific and does not exist on BSD-like platforms.

Furthermore, no supported platform/version was found, which still (ever?)
requires those additional libraries. Therefore, they were simply removed.

Finally, this change adds the error code ESTRPIPE to the channel driver
chan_alsa for those platforms which lack it, again for example NetBSD.

ASTERISK-27720

Change-Id: I3b21f2135f6cbfac7590ccdc2df753257f426e0b
channels/chan_alsa.c
configure
configure.ac