Fix problem with regression tests on recent glibc.
Fix problem with regression tests on recent glibc.

* configure.ac: Change pthread test to test pthread_detach
--

Signed-off-by: Werner Koch <13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org>

gpg/npth,gpg/npth