Re: waf help: OPENSSL_VERSION_NUMBER from openssl/opensslv.h

2020-03-25 Thread Hal Murray via devel
matthew.sel...@twosigma.com said: > I would model the check that we removed in > https://gitlab.com/NTPsec/ntpsec/-/commit/6d17955b03ca65d67f2cc2ceba01bd60e07d5fd4 > Thanks. That doesn't get the info where waf can work with it, but it does get the job done. -- These are my opinions. I ha

Re: waf help: OPENSSL_VERSION_NUMBER from openssl/opensslv.h

2020-03-24 Thread Matthew Selsky via devel
On Tue, Mar 24, 2020 at 12:40:42PM -0700, Hal Murray via devel wrote: > I'd like to check the OpenSSL version number and give a sensible error > message > rather than some mumbo jumble from the compiler. I would model the check that we removed in https://gitlab.com/NTPsec/ntpsec/-/commit/6d179

waf help: OPENSSL_VERSION_NUMBER from openssl/opensslv.h

2020-03-24 Thread Hal Murray via devel
I'd like to check the OpenSSL version number and give a sensible error message rather than some mumbo jumble from the compiler. Can somebody show me how to do that? Or suggest what to search for? (Or just do it?) The value I want is a hex constant. # define OPENSSL_VERSION_NUMBER 0x1010104