729a586027
cmake: Make sure we check some functions on all platforms.
2013-07-22 13:01:36 +02:00
8ff6a7a850
cmake: Check for _strtoui64() on Windows.
2013-07-22 13:01:36 +02:00
73309f19e5
cmake: Check if we have Thread Local Storage support.
2013-07-14 12:36:35 +02:00
b14df297fa
BUG 97: Fix strtoull() detection on serveral platforms.
2012-12-03 14:00:06 +01:00
3896aa43ff
BUG 96: Guard ntohll() and htonll prototypes correctly.
2012-12-03 13:44:02 +01:00
c6fc69fbdd
BUG 97: Remove obsolete hsterror().
...
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-12-03 13:08:17 +01:00
7e93edc722
cmake: Add better check to detect -fvisibility=hidden.
2012-10-14 18:40:05 +02:00
82711acd39
cmake: Fix building with gcrypt support.
2012-10-12 17:07:20 +02:00
9460c5906f
MSVC Windows and winsock2.h
...
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-09-21 09:45:03 +02:00
84dfa13fe8
cmake: Disable gcrypt ECC.
2012-02-04 20:35:27 +01:00
3e83bc665f
cmake: Enable ECC support for GCrypt 1.5.0 or newer.
2012-02-04 20:25:07 +01:00
fa37965ab0
cmake: Add a define to see if we have ecc support.
2012-02-04 18:37:04 +01:00
8a3b02f68d
cmake: Fix library linking.
2011-09-23 08:00:58 +02:00
dc42a1757f
gzip: Fix zlib support.
2011-09-18 21:37:18 +02:00
85d12f6774
cmake: Add ec.h and ecdsa.h checks.
2011-08-30 00:44:46 +02:00
b54e8cdae5
Check for ecdsa with openssl, added log_warning
2011-06-12 19:38:42 +02:00
640e3830f2
build: Check for ntohll().
...
This function is available on AIX.
2011-06-06 18:56:30 +02:00
8b73609e47
cmake: Remove unused regcomp check.
2011-05-25 22:09:41 +02:00
07fb895fe9
cmake: Fix detection of clock_gettime.
2011-05-25 22:08:31 +02:00
59f7647cd9
Introduced ssh_timeout_elapsed functions
...
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-05-24 23:26:18 +02:00
7150cabafa
cmake: Fixed a typo.
2011-04-08 11:02:25 +02:00
000d659ea2
examples: Added a event context based sshd example.
2011-02-20 14:37:43 +01:00
9baa491b0b
build: Try to fix the build on Solaris.
2011-02-13 13:22:25 +01:00
460d43f050
cmake: Fixed ZLIB configure check.
2011-01-18 18:56:24 +01:00
98b5f07631
cmake: Fixed a warning on OS/2 if the compiler version is empty.
2010-12-31 14:41:50 +01:00
f46bf41813
libssh: Don't use the visibility flag on OS/2.
2010-12-31 14:35:06 +01:00
b4c62ac9ea
server: Replace gethostbyname() with getaddrinfo().
...
Fixes rlo#13.
2010-12-27 21:51:55 +01:00
01eb20e13f
cmake: Fixed a problem with ccache.
2010-10-19 11:50:29 +02:00
f45dc29eb2
build: Improve pthread detection.
2010-09-08 16:51:55 +02:00
4f75fdcd14
build: There is no need to check for system libraries on Linux.
2010-09-08 11:20:10 +02:00
fbe102bada
threads: Build a libssh threading library.
2010-09-06 15:17:03 +02:00
461dde231c
build: Fixed a wrong if statement.
2010-09-05 13:11:19 +02:00
0785c522f0
build: Fixed build with gcc 3.4.
...
The -fvisibility=hidden flag is broken in gcc 3.4. This fixes the build
on CentOS, bug #74 .
2010-09-05 12:56:01 +02:00
aff5786ed3
thread: Fixed detection of thread libraries on Windows.
2010-09-02 12:31:59 +02:00
f97928c740
build: Fixed checking for printf function on Windows.
2010-09-02 11:50:21 +02:00
a93f2d8bfe
build: Fixed pthread detection.
2010-09-01 15:15:17 +02:00
8c55294ea9
Openssl implementation of threading + default imp
2010-09-01 14:07:45 +02:00
019cb77b84
build: Don't test for big endian on Windows.
...
Visual Studio 2010 has problems running the test.
2010-08-03 18:13:59 +02:00
296f6a9217
build: Fixed the Windows preprocessor macros and defines.
2010-08-03 18:13:59 +02:00
f5191ec222
Added configure checks for _vsnprintf_s and strncpy.
2010-05-10 15:27:40 +02:00
144126789c
Added configure checks for vsnprintf and _vsnprintf.
2010-05-10 15:24:52 +02:00
8738e93dc0
cmake: Fixed openssl detection.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:25:46 +02:00
b168b8f03f
Fixed a typo that we don't export all symbols.
2010-03-25 14:04:13 +01:00
5e002635fc
Fix compilation on freebsd 6.0 which lacks argp.h
2009-11-03 21:04:36 +01:00
8ed9cdce80
Remove --as-needed linker flag.
2009-10-01 10:19:07 +02:00
4aa7d73b43
Fix typo.
2009-08-25 15:23:28 +02:00
3804e72e24
Fix linking on solaris.
...
libresolv and librt are required.
2009-08-25 15:07:29 +02:00
8463d9d7c6
Improve header checks on windows.
2009-08-21 15:15:49 +02:00
c497f057a0
Improve detection for required libraries on Solaris.
2009-08-21 15:15:18 +02:00
d23e64fc52
Add a warning if wspiapi.h doesn't exist.
2009-08-20 12:32:35 +02:00