BuildSystem: Enable PortAudio in NetBSD.

In NetBSD, PortAudio 1 is still the default version. PortAudio 2 can be
installed side by side but gets placed in a 'portaudio2' subdirectory. To
find PortAudio 2 even in a subdirectory, the tool pkg-config is queried via
AST_PKG_CONFIG_CHECK. For those platforms, which do not list PowerAudio 2
via pkg-config, the previous check remains and is executed thereafter.

ASTERISK-27721

Change-Id: I4175500126909ad1b181fff8e11bb4a3a6ae4fa9
This commit is contained in:
Alexander Traud
2018-03-06 13:28:15 +01:00
parent 9040057db3
commit 16f6e94033
3 changed files with 98 additions and 1 deletions

View File

@@ -663,7 +663,7 @@
/* Define to 1 if you have the popt library. */
#undef HAVE_POPT
/* Define to 1 if you have the PortAudio library. */
/* Define if your system has the PORTAUDIO libraries. */
#undef HAVE_PORTAUDIO
/* Define to 1 if you have the `pow' function. */