aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03cmake: Fix OpenSSL detection in non-standard pathAndreas Schneider1-6/+6
This should fix the detection on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-07-03cmake: Fail if can't find OpenSSL aes and des headersAndreas Schneider1-17/+25
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-10cmake: Detect network function correctly on WindowsAndreas Schneider1-11/+17
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-10cmake: Check for sys/param.h header fileAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-10cmake: Check for arpa/inet.h header fileAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-02cmake: Detect __func__ and __FUNCTION__ during configure stepAndreas Schneider1-0/+15
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-08buffer: detect compilers not supporting __VA_ARGS__Aris Adamantiadis1-0/+12
2015-01-13cmake: Fix ntohll and htonll macro detection.Andreas Schneider1-2/+2
BUG: https://red.libssh.org/issues/164 Thanks to Ryan Schmidt! Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-12-17libcrypto: Fix Windows build with ssh_reseed().Andreas Schneider1-0/+1
gettimeofday() is not available on Windows and we need it only in case of forking. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-02-16examples: Add ssh_server_fork exampleAudrius Butkevicius1-0/+1
Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-02-14cmake: Check for libutil.h on FreeBSD.Andreas Schneider1-0/+1
2014-02-03ConfigureChecks: Stop checking for CMAKE_HAVE_THREADS_LIBRARY.Raphael Kubo da Costa1-5/+3
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>
2013-11-03examples: fix forktty() warning on OSXAris Adamantiadis1-0/+1
2013-10-30cmake: Check for isblank().Andreas Schneider1-0/+1
2013-07-27cmake: Fix configure check for ntohll and htonll.Andreas Schneider1-9/+14
2013-07-24cmake: Rewrote FindGSSAPI.cmake.Andreas Schneider1-2/+2
2013-07-24cmake: Set HAVE_GETADDRINFO if we have libsocket.Andreas Schneider1-1/+2
This fixes the build on Solaris.
2013-07-23cmake: Check for unistd.h.Andreas Schneider1-0/+1
2013-07-23cmake: If we don't have gssapi libs, disable it.Andreas Schneider1-0/+4
2013-07-23cmake: Check for HAVE_GCC_VOLATILE_MEMORY_PROTECTION.Andreas Schneider1-0/+12
This ensures that the memset call is not optimized out by the compiler (works works with gcc and clang).
2013-07-22cmake: Define HAVE_NTOHLL and HAVE_HTONLL on Windows.Andreas Schneider1-0/+2
2013-07-22cmake: Make sure we check some functions on all platforms.Andreas Schneider1-5/+3
2013-07-22cmake: Check for _strtoui64() on Windows.Andreas Schneider1-0/+2
2013-07-14cmake: Check if we have Thread Local Storage support.Andreas Schneider1-0/+14
2012-12-03BUG 97: Fix strtoull() detection on serveral platforms.Andreas Schneider1-0/+2
2012-12-03BUG 96: Guard ntohll() and htonll prototypes correctly.Andreas Schneider1-0/+1
2012-12-03BUG 97: Remove obsolete hsterror().Andreas Schneider1-6/+0
This function is pretty much obsolete on most platforms. The standard errno should be used. If it is not enough on Windows we should use WSAGetLastError() in future.
2012-10-14cmake: Add better check to detect -fvisibility=hidden.Andreas Schneider1-1/+6
2012-10-12cmake: Fix building with gcrypt support.Andreas Schneider1-6/+9
2012-09-21MSVC Windows and winsock2.hChristophe Baribaud1-2/+2
With Microsoft Visual Studio, winsock2.h shall be included before ws2tcpip.h Signed-off-by: Christophe Baribaud <christophe.baribaud@gmail.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-02-04cmake: Disable gcrypt ECC.Andreas Schneider1-2/+2
2012-02-04cmake: Enable ECC support for GCrypt 1.5.0 or newer.Andreas Schneider1-1/+5
2012-02-04cmake: Add a define to see if we have ecc support.Andreas Schneider1-0/+3
2011-09-23cmake: Fix library linking.Andreas Schneider1-1/+0
2011-09-18gzip: Fix zlib support.Andreas Schneider1-4/+0
2011-08-30cmake: Add ec.h and ecdsa.h checks.Andreas Schneider1-0/+10
2011-06-12Check for ecdsa with openssl, added log_warningAris Adamantiadis1-0/+4
2011-06-06build: Check for ntohll().Andreas Schneider1-0/+1
This function is available on AIX.
2011-05-25cmake: Remove unused regcomp check.Andreas Schneider1-1/+0
2011-05-25cmake: Fix detection of clock_gettime.Andreas Schneider1-8/+5
2011-05-24Introduced ssh_timeout_elapsed functionsAris Adamantiadis1-0/+5
Functions to mesure elapsed time before and after a serie of calls. Introduces a dependancy to clock_gettime() and librt, hope this doesn't break anything. Porting to gettimeofday() should not be too hard.
2011-04-08cmake: Fixed a typo.Andreas Schneider1-1/+2
2011-02-20examples: Added a event context based sshd example.milo1-0/+1
2011-02-13build: Try to fix the build on Solaris.Andreas Schneider1-1/+9
2011-01-18cmake: Fixed ZLIB configure check.Andreas Schneider1-2/+2
2010-12-31cmake: Fixed a warning on OS/2 if the compiler version is empty.Andreas Schneider1-1/+1
2010-12-31libssh: Don't use the visibility flag on OS/2.Andreas Schneider1-2/+2
2010-12-27server: Replace gethostbyname() with getaddrinfo().Andreas Schneider1-6/+0
Fixes rlo#13.
2010-10-19cmake: Fixed a problem with ccache.Andreas Schneider1-1/+5
2010-09-08build: Improve pthread detection.Andreas Schneider1-2/+2