summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* cmake: Fixed a problem with ccache.Andreas Schneider2010-10-191-1/+5
|
* build: Improve pthread detection.Andreas Schneider2010-09-081-2/+2
|
* build: There is no need to check for system libraries on Linux.Andreas Schneider2010-09-081-27/+29
|
* threads: Build a libssh threading library.Andreas Schneider2010-09-061-2/+0
|
* build: Fixed a wrong if statement.Andreas Schneider2010-09-051-2/+2
|
* build: Fixed build with gcc 3.4.Andreas Schneider2010-09-051-1/+17
| | | | | The -fvisibility=hidden flag is broken in gcc 3.4. This fixes the build on CentOS, bug #74.
* thread: Fixed detection of thread libraries on Windows.Andreas Schneider2010-09-021-2/+4
|
* build: Fixed checking for printf function on Windows.Andreas Schneider2010-09-021-11/+11
|
* build: Fixed pthread detection.Andreas Schneider2010-09-011-9/+9
|
* Openssl implementation of threading + default impAris Adamantiadis2010-09-011-0/+10
|
* build: Don't test for big endian on Windows.Andreas Schneider2010-08-031-1/+3
| | | | Visual Studio 2010 has problems running the test.