Bugzilla – Attachment 529 Details for
Bug 788
request for zlib.h configure test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add test for zlib >= 1.1.4
openssh-zlib.patch (text/plain), 994 bytes, created by
Darren Tucker
on 2004-01-15 10:44:21 AEDT
(
hide
)
Description:
Add test for zlib >= 1.1.4
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-01-15 10:44:21 AEDT
Size:
994 bytes
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.184 >diff -u -p -r1.184 configure.ac >--- configure.ac 8 Jan 2004 13:19:25 -0000 1.184 >+++ configure.ac 14 Jan 2004 23:41:51 -0000 >@@ -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_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 > AC_CHECK_FUNC(strcasecmp,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 788
:
528
| 529