It is used to detect multiple mutex lock, not just for pthread related
debugging.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 4f18860c33)
`pthread_t` is opaque type.
Change to compare with `pthread_equal()` and introduce validate flag.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit cf0025c38a)
`USE_SOLARIS` is not defined (related to TDE/tde#74).
On NetBSD, native audio system audioio(4) i.e. sunaudio is preferred.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 0c717ee493)
Now that we use the 1.x ALSA APIs, naming the file `audioioalsa9.cpp`
(revering to ALSA version 0.9) is misleading.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 596d2accf4)
Despite the comment in ConfigureChecks.cmake which claimed only ALSA 1.x
was supported, the code requested and expected the 0.9 version of some
PCM APIs.
These old APIs were superceded in 2002. ALSA implements backwards
compatibility with the old version of the API using symbol versioning,
which is not supported on all platforms (e.g., musl does not support
it).
This fixes issue #5
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit c9092132fd)
Configure only sets HAVE_LIBASOUND2, never HAVE_LIBASOUND, so this is never
used.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit adebb5ae26)
poll.h is the standard header name, and musl warns for including the wrong
one.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 200e35e604)
request may be int or unsigned long depending on the platform, but the
format string assumed unsigned long.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 2182932392)
for detection of library libmad >= 0.16.x (Tenacity's fork).
Split configuration tests into separate files.
Fill PC_LIB_REQUIRE list during tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>