Improve pthread library detection.
authorWerner Koch <wk@gnupg.org>
Fri, 27 Jan 2012 14:12:47 +0000 (15:12 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 27 Jan 2012 14:12:47 +0000 (15:12 +0100)
commitedbf7f1c802f82262ac595fc77bffefab2118573
treefa370f4fbf87b87a6ec7257d389e6b9f92a3bad2
parent8fac9f692d47147050333ec7f12a8a5ec497be54
Improve pthread library detection.

* configure.ac: Reorder some code.  Improve pthread test to take libc
in account.  Generate NPTH_CONFIG_LIBS from tests.
* src/npth-config.in: Use NPTH_CONFIG_LIBS.
* w32/npth-config.in: Ditto.
* tests/Makefile.am (AM_CPPFLAGS, AM_LDFLAGS): Don not pass -pthread.
configure.ac
src/npth-config.in
tests/Makefile.am
w32/npth-config.in