mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- (dtucker) [configure.ac] Bug #788: Test for zlib.h presence and for
zlib >= 1.1.4. Partly from jbasney at ncsa.uiuc.edu. ok djm@
This commit is contained in:
parent
84938141d4
commit
2dcd2393f4
@ -4,6 +4,8 @@
|
|||||||
- (djm) Bug #776: Update contrib/redhat/openssh.spec to dynamically detect
|
- (djm) Bug #776: Update contrib/redhat/openssh.spec to dynamically detect
|
||||||
Kerberos location (and thus work with Fedora Core 1);
|
Kerberos location (and thus work with Fedora Core 1);
|
||||||
from jason AT devrandom.org
|
from jason AT devrandom.org
|
||||||
|
- (dtucker) [configure.ac] Bug #788: Test for zlib.h presence and for
|
||||||
|
zlib >= 1.1.4. Partly from jbasney at ncsa.uiuc.edu. ok djm@
|
||||||
|
|
||||||
20040122
|
20040122
|
||||||
- (dtucker) [configure.ac] Use krb5-config where available for Kerberos/
|
- (dtucker) [configure.ac] Use krb5-config where available for Kerberos/
|
||||||
@ -1716,4 +1718,4 @@
|
|||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3182 2004/01/23 05:30:03 djm Exp $
|
$Id: ChangeLog,v 1.3183 2004/01/23 06:13:33 dtucker Exp $
|
||||||
|
22
configure.ac
22
configure.ac
@ -1,4 +1,4 @@
|
|||||||
# $Id: configure.ac,v 1.185 2004/01/22 01:05:35 dtucker Exp $
|
# $Id: configure.ac,v 1.186 2004/01/23 06:13:33 dtucker Exp $
|
||||||
|
|
||||||
AC_INIT
|
AC_INIT
|
||||||
AC_CONFIG_SRCDIR([ssh.c])
|
AC_CONFIG_SRCDIR([ssh.c])
|
||||||
@ -588,6 +588,26 @@ AC_ARG_WITH(zlib,
|
|||||||
)
|
)
|
||||||
|
|
||||||
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***]))
|
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***]))
|
||||||
|
AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***]))
|
||||||
|
AC_MSG_CHECKING(for zlib 1.1.4 or greater)
|
||||||
|
AC_TRY_RUN([
|
||||||
|
#include <zlib.h>
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int a, b, c, v;
|
||||||
|
if (sscanf(ZLIB_VERSION, "%d.%d.%d", &a, &b, &c) != 3)
|
||||||
|
exit(1);
|
||||||
|
v = a*1000000 + b*1000 + c;
|
||||||
|
if (v >= 1001004)
|
||||||
|
exit(0);
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
],
|
||||||
|
AC_MSG_RESULT(yes),
|
||||||
|
[ AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_ERROR([*** zlib too old - check config.log ***]) ]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
dnl UnixWare 2.x
|
dnl UnixWare 2.x
|
||||||
AC_CHECK_FUNC(strcasecmp,
|
AC_CHECK_FUNC(strcasecmp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user