configure, drd: Only build the swapcontext test if swapcontext() is available
commitc9e88f3459e221c48cbd337ea7447b08b7bd1708
authorBart Van Assche <bvanassche@acm.org>
Tue, 23 Mar 2021 02:12:20 +0000 (22 19:12 -0700)
committerBart Van Assche <bvanassche@acm.org>
Tue, 23 Mar 2021 02:21:15 +0000 (22 19:21 -0700)
treeedeb720da8829a352864da0cc27c72f6100c26ad
parent06a6b1799c565193993af4830b73c4bad819a474
configure, drd: Only build the swapcontext test if swapcontext() is available

Add a configure test for swapcontext() since MUSL does not provide a
swapcontext() implementation. See also
https://bugs.kde.org/show_bug.cgi?id=434775 .
configure.ac
drd/tests/Makefile.am