How to verify OpenSSL lib version from autoconf?

2006-06-25 Thread Matt England
My project's code is apparently compatible with OpenSSL 0.9.7g (and possibly higher) but not 0.9.8 (because the header file changed from 0.9.7 and 0.9.8...which seems rather undesirable). In any case, I'd like our autoconf macros to be able to automatically check to see if 0.9.7g and higher is

Re: How to verify OpenSSL lib version from autoconf?

2006-06-25 Thread William A. Rowe, Jr.
httpd's scripts are known to the autoconf community as gross bastardizations of intent of autoconf, so forwared ;-) But they do illustrate verifying the version of openssl, take a look at APACHE_CHECK_SSL_TOOLKIT in; http://svn.apache.org/repos/asf/httpd/httpd/trunk/acinclude.m4 Matt England wr

Re: How to verify OpenSSL lib version from autoconf?

2006-06-26 Thread Kyle Hamilton
autoconf compiles small programs to check the expected behavior. If you wrote an m4 macro that checked against the value of the version constant, you could check it. (return 0 on success, 1 on error, I believe is autoconf's concept.) Note that I haven't looked into autoconf for about six years,