diff options
| author | Raphael Kubo da Costa <rakuco-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org> | 2014-02-03 12:58:36 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-02-03 14:36:56 +0100 |
| commit | 79a80cdc77a6a437723fc91373dfbcc972306035 (patch) | |
| tree | 03390f001696d5c10e9d9923316de2383244249c /src | |
| parent | 95782ada1f4bed83472bc3bc7e464d07a49fb3ae (diff) | |
| download | libssh-79a80cdc77a6a437723fc91373dfbcc972306035.tar.gz libssh-79a80cdc77a6a437723fc91373dfbcc972306035.tar.xz libssh-79a80cdc77a6a437723fc91373dfbcc972306035.zip | |
ConfigureChecks: Stop checking for CMAKE_HAVE_THREADS_LIBRARY.
libssh is primarily interested in whether pthreads is present and can be
used. Checking for CMAKE_HAVE_THREADS_LIBRARY is not the same thing, as
there are cases where pthread exists but CMAKE_HAVE_THREADS_LIBRARY is not
set (for example, FreeBSD passes -DTHREADS_HAVE_PTHREAD_ARG=1 to CMake by
default as a way to skip the checks for -lpthread, -lpthreads and others and
tell the build system that -pthread is the one expected to be used).
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
