summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: fix EVP detection with gccAris Adamantiadis2015-09-251-2/+2
|
* crypto: old-fashioned aes_ctr when evp_aes_ctr is missingAris Adamantiadis2015-09-251-0/+9
|
* cmake: Fix OpenSSL detection in non-standard pathAndreas Schneider2015-07-031-6/+6
| | | | | | This should fix the detection on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* cmake: Fail if can't find OpenSSL aes and des headersAndreas Schneider2015-07-031-17/+25
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* cmake: Detect network function correctly on WindowsAndreas Schneider2015-04-101-11/+17
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* cmake: Check for sys/param.h header fileAndreas Schneider2015-04-101-0/+1
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* cmake: Check for arpa/inet.h header fileAndreas Schneider2015-04-101-0/+1
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* cmake: Detect __func__ and __FUNCTION__ during configure stepAndreas Schneider2015-04-021-0/+15
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* buffer: detect compilers not supporting __VA_ARGS__Aris Adamantiadis2015-02-081-0/+12
|
* cmake: Fix ntohll and htonll macro detection.Andreas Schneider2015-01-131-2/+2
| | | | | | | | BUG: https://red.libssh.org/issues/164 Thanks to Ryan Schmidt! Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libcrypto: Fix Windows build with ssh_reseed().Andreas Schneider2014-12-171-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>
* examples: Add ssh_server_fork exampleAudrius Butkevicius2014-02-161-0/+1
| | | | | Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* cmake: Check for libutil.h on FreeBSD.Andreas Schneider2014-02-141-0/+1
|
* ConfigureChecks: Stop checking for CMAKE_HAVE_THREADS_LIBRARY.Raphael Kubo da Costa2014-02-031-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>
* examples: fix forktty() warning on OSXAris Adamantiadis2013-11-031-0/+1
|
* cmake: Check for isblank().Andreas Schneider2013-10-301-0/+1
|
* cmake: Fix configure check for ntohll and htonll.Andreas Schneider2013-07-271-9/+14
|
* cmake: Rewrote FindGSSAPI.cmake.Andreas Schneider2013-07-241-2/+2
|
* cmake: Set HAVE_GETADDRINFO if we have libsocket.Andreas Schneider2013-07-241-1/+2
| | | | This fixes the build on Solaris.
* cmake: Check for unistd.h.Andreas Schneider2013-07-231-0/+1
|
* cmake: If we don't have gssapi libs, disable it.Andreas Schneider2013-07-231-0/+4
|
* cmake: Check for HAVE_GCC_VOLATILE_MEMORY_PROTECTION.Andreas Schneider2013-07-231-0/+12
| | | | | This ensures that the memset call is not optimized out by the compiler (works works with gcc and clang).
* cmake: Define HAVE_NTOHLL and HAVE_HTONLL on Windows.Andreas Schneider2013-07-221-0/+2
|
* cmake: Make sure we check some functions on all platforms.Andreas Schneider2013-07-221-5/+3
|
* cmake: Check for _strtoui64() on Windows.Andreas Schneider2013-07-221-0/+2
|
* cmake: Check if we have Thread Local Storage support.Andreas Schneider2013-07-141-0/+14
|
* BUG 97: Fix strtoull() detection on serveral platforms.Andreas Schneider2012-12-031-0/+2
|
* BUG 96: Guard ntohll() and htonll prototypes correctly.Andreas Schneider2012-12-031-0/+1
|
* BUG 97: Remove obsolete hsterror().Andreas Schneider2012-12-031-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.
* cmake: Add better check to detect -fvisibility=hidden.Andreas Schneider2012-10-141-1/+6
|
* cmake: Fix building with gcrypt support.Andreas Schneider2012-10-121-6/+9
|
* MSVC Windows and winsock2.hChristophe Baribaud2012-09-211-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>
* cmake: Disable gcrypt ECC.Andreas Schneider2012-02-041-2/+2
|
* cmake: Enable ECC support for GCrypt 1.5.0 or newer.Andreas Schneider2012-02-041-1/+5
|
* cmake: Add a define to see if we have ecc support.Andreas Schneider2012-02-041-0/+3
|
* cmake: Fix library linking.Andreas Schneider2011-09-231-1/+0
|
* gzip: Fix zlib support.Andreas Schneider2011-09-181-4/+0
|
* cmake: Add ec.h and ecdsa.h checks.Andreas Schneider2011-08-301-0/+10
|
* Check for ecdsa with openssl, added log_warningAris Adamantiadis2011-06-121-0/+4
|
* build: Check for ntohll().Andreas Schneider2011-06-061-0/+1
| | | | This function is available on AIX.
* cmake: Remove unused regcomp check.Andreas Schneider2011-05-251-1/+0
|
* cmake: Fix detection of clock_gettime.Andreas Schneider2011-05-251-8/+5
|
* Introduced ssh_timeout_elapsed functionsAris Adamantiadis2011-05-241-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.
* cmake: Fixed a typo.Andreas Schneider2011-04-081-1/+2
|
* examples: Added a event context based sshd example.milo2011-02-201-0/+1
|
* build: Try to fix the build on Solaris.Andreas Schneider2011-02-131-1/+9
|
* cmake: Fixed ZLIB configure check.Andreas Schneider2011-01-181-2/+2
|
* cmake: Fixed a warning on OS/2 if the compiler version is empty.Andreas Schneider2010-12-311-1/+1
|
* libssh: Don't use the visibility flag on OS/2.Andreas Schneider2010-12-311-2/+2
|
* server: Replace gethostbyname() with getaddrinfo().Andreas Schneider2010-12-271-6/+0
| | | | Fixes rlo#13.